NewsStocksGap and Lowe's Deploy AI Agents and 'Chaos Testing' to Prevent Costly Holiday Site Outages

Gap and Lowe's Deploy AI Agents and 'Chaos Testing' to Prevent Costly Holiday Site Outages

Author: Fortune Crypto·

Key Takeaways

  • •Gap has used Devin, an AI software engineering agent developed by Cognition, for roughly six months to detect e-commerce technical issues, identify root causes, and generate code fixes that human engineers review, validate, and publish.
  • •Gap CTO Sven Gerjets said Devin accelerated resolution of incidents including a TikTok Shop landing page that mistakenly blocked users and a similar PayPal failure, problems that can become multi-million-dollar issues.
  • •A Gap study with Microsoft involving 400 employees found that workers receiving mindset-focused AI training were twice as likely to adopt AI in their workflows as those receiving only prompt training.
  • •Gap is prioritizing autonomous agentic AI across marketing, technology, and the product-to-market life cycle, including redefining what tasks are handled by people versus agents.
  • •Since its e-commerce site crashed on Black Friday 2018, Lowe's has invested in a human-run command center and conducts chaos testing, deliberately stressing or taking down services to verify redundancy and recovery before peak shopping traffic.
Gap and Lowe's Deploy AI Agents and 'Chaos Testing' to Prevent Costly Holiday Site Outages

As millions of shoppers scour the internet in the coming days for Black Friday and Cyber Monday deals, artificial intelligence tools are lurking just beneath the surface at retailers like Gap, helping engineers troubleshoot e-commerce site issues before they turn into lost sales.

For roughly half a year, the apparel retailer has relied on Devin, an AI software engineering agent developed by the AI lab Cognition, to hunt for online technical issues, identify their root causes, and develop tested code fixes that human engineers then review, validate, and publish.

Sven Gerjets, Gap's chief technology officer, said that when a TikTok Shop landing page erroneously blocked users from the site—and when a similar technical failure recently involved a PayPal site—Devin has accelerated the team's ability to resolve problems that can add up to become "multi-million-dollar problems."

"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," said Gerjets, who joined the Fortune 500 company (No. 293) in June 2024 to reunite with President and CEO Richard Dickson after the pair worked together at toy maker 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 is heading into his third holiday season with Gap, which processes more than 1,500 orders every minute during peak demand spikes. Getting Devin up and running involved a proof-of-concept test with a small cohort of workers that later convinced skeptical colleagues that the tool's autonomous features were genuinely helpful.

Broad AI access, backed by upskilling

Across Gap, Gerjets has prioritized giving employees broad access to AI tools while also investing in upskilling that has more recently focused on agentic AI. Agentic AI refers to software that can autonomously plan and execute multi-step tasks—diagnosing an issue, coding a fix, and testing it—rather than simply responding to a single prompt. Last year, Gap conducted a study with Microsoft involving 400 employees split into two groups: one received only prompt training, while the other also received training that was more mindset-focused. The latter group was two times more likely to successfully adopt AI in their workflows—a finding that has helped shape Gap's upskilling approach.

Workers across the company—including designers, who tend to be especially protective of their creative process—are now leaning more on AI. "All of these places where we start getting that mindset shift to happen, adoption happens much more rapidly," Gerjets explained. "But, 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 changes to workflows with autonomous agentic AI, Gerjets added, with a focus on three key parts of the business: marketing, technology, and the product-to-market life cycle—the latter involving Gap employees who identify a style trend and all the work that goes into 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."

Eight years after a Black Friday crash, Lowe's turns to "chaos testing"

At Lowe's, appliances, holiday decorations, and tools are all big sellers during the holiday season. But the home-improvement retailer's IT team had a particularly rough Black Friday in 2018, when the company's e-commerce site crashed.

Since then, Chief Information & AI Officer Seemantini Godbole said the retailer has "done tremendous work in terms of our technology stack and stability." Those efforts include a centralized, human-run "command center" that monitors all of the company's online properties, including its desktop website, mobile app, and the links that populate social channels such as Instagram and TikTok.

Lowe's, which ranks 52nd on the Fortune 500, also conducts "chaos testing"—simulations in which the retailer deliberately puts synthetic pressure on its ecosystem to ensure it can handle a sales spike that mirrors Black Friday. The company will even take down a service, such as an inventory software system, to keep an eye on the redundancy layers it has invested in to pick up the slack, and to observe how adeptly IT workers are able to bring the service back online. The premise is to surface weaknesses in a controlled setting rather than discover them for the first time while real shoppers are at the checkout.

"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 dedicates time to discussing what went well and which processes could be improved. "There is a little bit of an introspection after the incident is over," she added.

As the busiest shopping days of the year arrive, Gap's always-on AI agent and Lowe's rehearsed failure drills offer a snapshot of how two Fortune 500 retailers are working to keep their digital storefronts stable through peak traffic. At Gap, the declared next step—pushing autonomous agentic AI deeper into marketing, technology, and the product-to-market life cycle—makes the redefinition of roles between people and agents an area to watch.

This story, reported by John Kell, was originally featured on Fortune.com.