Gap Runs Cognition's Devin Agent to Guard Holiday Sales
Gap uses Cognition's Devin agent to fix e-commerce bugs before they become 'multi-million-dollar problems' at 1,500 orders a minute, while Lowe's stress-tests its own systems.
By Olivia Hart
5 min read

What's News
- Gap processes more than 1,500 orders per minute during peak holiday demand spikes.
- Gap has used Cognition's Devin AI software engineering agent for roughly half a year, with human engineers reviewing and publishing its fixes.
- A Microsoft study of 400 Gap employees found the mindset-training group was twice as likely to adopt AI in their workflows.
- Lowe's e-commerce site crashed on Black Friday 2018; it now runs 'chaos testing' and a centralized command center.
- Gap CTO Sven Gerjets joined in June 2024; Lowe's ranks No. 52 and Gap No. 293 on the Fortune 500.
By Olivia Hart, Business Bearings
Gap processes more than 1,500 orders every minute at peak holiday demand, and for roughly half a year an AI software engineering agent has been watching that machine for failures that Gap's chief technology officer calls "multi-million-dollar problems."
The agent is Devin, built by AI lab Cognition. Its job is to hunt for technical issues across Gap's e-commerce sites, identify root causes, and develop tested code fixes. Human engineers then review, validate, and publish those fixes — a division of labor Gap frames as AI drafting and humans deciding.
Sven Gerjets, Gap's CTO, said Devin has already accelerated the retailer's response to real incidents. When a TikTok Shop landing page erroneously blocked users from the site, and again when a similar failure involving a PayPal site occurred recently, the agent helped the team resolve problems faster. He offered no figures quantifying how much time or revenue was saved in either case — the "multi-million-dollar" framing describes the ceiling of risk, not a measured loss.
What does the agent actually change?
"Every e-commerce company is constantly focused on how you get the paper cuts out of your website so that everybody has a great experience," Gerjets said. He joined Gap, No. 293 on the Fortune 500, in June 2024, reuniting with President and CEO Richard Dickson after the two worked together at Mattel.
"It's just a lot of work on these large, complex sites, and having an agent that's watching your site 24/7 and is able to do the coding work, so that when the engineer gets engaged, they're just making sure the fix is valid," Gerjets said.
Adoption was not automatic. Getting Devin running required a proof-of-concept test with a small cohort of employees, which later convinced skeptical colleagues that the tool's autonomous features were genuinely useful. Gerjets heads into his third holiday season at Gap with that internal argument now settled, at least for this use case.
The takeaway: Gap has narrowed Devin's role to triage and drafted fixes under human sign-off, not autonomous deployment — a deliberately modest claim the company can defend.
Does training move the needle on adoption?
Gap pairs broad AI tool access with upskilling, recently weighted toward agentic AI. Last year the retailer ran a study with Microsoft involving 400 employees split into two groups: one received only prompt training, while the other also received mindset-focused training.
The mindset group was two times more likely to successfully adopt AI in their workflows, a finding that now shapes Gap's upskilling approach. Workers across the company, including designers who tend to be protective of their creative process, are leaning more on AI as a result.
"All of these places where we start getting that mindset shift to happen, adoption happens much more rapidly," Gerjets said. But he attached a caveat to the promise: "We have to make sure the capabilities are good enough where people aren't disillusioned by it and get an AI hangover."
Gap is now prioritizing more transformative agentic workflows in three areas: marketing, technology, and the product-to-market life cycle — the process that runs from employees spotting a style trend to getting those garments on the shelf.
"We're redefining what gets done by people and what gets done by agents and resetting what a role looks like and what a function looks like," Gerjets said. "It's heavy organizational change management and heavy process reengineering."
In plain terms: a doubled adoption rate from mindset training is a real, measured result; the role-redefinition effort is early, and no timeline or headcount effect was disclosed.
How is Lowe's preparing for the same weekend?
Lowe's, No. 52 on the Fortune 500, is taking a different route to holiday readiness, one grounded in deliberate failure rather than autonomous agents. Its IT team lived through a rough lesson: the home-improvement retailer's e-commerce site crashed on Black Friday 2018.
Since then, Chief Information & AI Officer Seemantini Godbole said the retailer has "done tremendous work in terms of our technology stack and stability." A centralized, human-run command center now monitors all of Lowe's online properties, including its desktop website, mobile app, and links that populate social channels such as Instagram and TikTok.
The retailer also runs what it calls chaos testing — simulations that place synthetic pressure on its ecosystem to confirm it can handle a Black Friday-scale spike in sales. Lowe's will deliberately take down a service, for example an inventory software system, to check both the redundancy layers built to absorb the loss and how adeptly IT workers bring the service back online.
"We also try to figure out how long it took for the teams to detect that the service was down, and whether they are using AI tools, looking at it themselves, and how long did it take for them to bring the service back up," Godbole said. The team then holds a post-incident review of what went well and what could improve. "There is a little bit of an introspection after the incident is over," she added.
The takeaway: one retailer bets on an AI agent that drafts fixes around the clock; the other breaks its own systems on purpose before shoppers do it for them. Both approaches converge on the same weekend, and only the sales data will settle which preparation held up.
Source: fortune.com
More from Olivia Hart
Show full bio
Staff writer covering people, launches and day-to-day practice in entrepreneurship, startups and venture funding at Business Bearings.
2,717 articles