Gap put an AI software engineer on call for Black Friday and says it recovered millions in sales
AI & ML

Gap put an AI software engineer on call for Black Friday and says it recovered millions in sales

Devin, Cognition's AI coding agent, now runs daily checks across Gap Inc's e-commerce stack alongside human engineers, specifically to catch the failures that cost retailers the most during peak shopping weeks.

PublishedDecember 4, 2026
Read time4 min read
Share

What Devin actually does inside Gap's stack

Gap Inc is running Cognition's Devin, an AI software engineering agent, as a standing part of its technology operations during the highest-traffic weeks of the year. The company calls the process site scan: Devin monitors its e-commerce properties for signs customers are struggling or systems are faulting, investigates the underlying technical issue, and writes a tested code fix that a human engineer reviews, validates, and publishes.

Critically, Devin works across connected systems rather than one isolated service, covering product discovery, inventory, shopping bags, payments, and checkout. Peak-season outages are rarely contained to a single component, they cascade across the systems a purchase actually depends on, so an agent that can trace a fault through that whole chain addresses a different failure mode than a tool watching one service in isolation.

The traffic numbers that make this worth automating

During the nine-day 2025 holiday shopping period, Gap recorded more than 75 million online sessions and received over five million orders, hitting more than 1,500 orders per minute at peak. At that volume, the cost of even a brief outage compounds quickly, and traditional incident response, a human noticing a problem, diagnosing it, then writing and testing a fix, is often too slow relative to how fast revenue is moving through the system in that window.

Gap says it has recovered millions of dollars in sales that would otherwise have been lost to downtime since deploying Devin, though the company has not disclosed the specific dollar figure or methodology behind that estimate. CTO Sven Gerjets framed the goal plainly: customers should not have to think about the technology behind their shopping experience, which is really a statement about where engineering attention should go during peak periods, toward prevention rather than recovery.

A coding agent, not a customer-facing chatbot

It is worth distinguishing this deployment from the customer-facing AI shopping assistants retailers have been racing to launch. Devin is an internal engineering tool, it never interacts with a customer directly, its entire job is keeping the systems customers do interact with from breaking. Cognition co-founder and president Russell Kaplan described it as giving engineering teams an AI teammate that can take on software engineering work, language that positions Devin as a capacity multiplier for an existing team rather than a replacement for one.

That framing matters for how other retailers should evaluate this category of tool. The relevant question is not whether an AI agent can write code, several already can, it is whether an agent can be trusted to investigate a live production incident, generate a fix, and have that fix pass human review fast enough to matter during a six-figure-revenue-per-minute shopping window.

The customer-facing layer running in parallel

Alongside the infrastructure reliability work, Gap Inc is introducing conversational shopping tools on its Old Navy and Banana Republic sites and apps, letting customers describe what they want in everyday language and receive product recommendations in response. Running both initiatives simultaneously, reliability automation on the backend and conversational discovery on the frontend, suggests Gap is treating AI less as a single feature launch and more as infrastructure spanning the whole shopping experience.

That dual deployment also raises the stakes on the reliability side specifically. Conversational shopping tools generate more complex, less predictable traffic patterns against backend systems than traditional browse-and-filter navigation, which makes an agent capable of tracing cross-system failures more valuable, not less, as customer-facing AI features multiply across a retailer's stack.

What other retail CTOs should take from this

If your organization runs e-commerce infrastructure at a scale where peak-period outages carry material revenue risk, Gap's deployment is a concrete reference point for what AI-assisted incident response actually looks like in production, not a lab demo: daily monitoring, cross-system root-cause investigation, and human-reviewed fixes, running inside a live nine-figure-session holiday period. Ask any AI coding agent vendor specifically how their tool handles cross-system fault tracing, since that was the capability Gap highlighted as distinct from single-service monitoring.

Before committing budget, press for Gap's actual recovered-revenue methodology or a comparable independently verifiable figure from your own vendor evaluation, since estimated savings claims in this category are currently self-reported and unaudited. The pattern, pairing an AI engineering agent with human review rather than full autonomy, is the more transferable lesson regardless of which specific vendor an organization chooses.

Tagged#news#retail#retail-ai#ecommerce#agentic-commerce#cpg#cognition-devin#gap-inc#black-friday-resilience#old-navy#ai-coding-agent