How Gap is using AI agents to prevent costly website glitches during the holiday season
When millions of shoppers scour the internet in the coming days for Black Friday and Cyber Monday deals, lurking just underneath the surface at retailers like Gap are artificial intelligence tools that help engineers troubleshoot e-commerce site issues to prevent 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 the root causes of any issues, and develop tested code fixes that human engineers review, validate, and publish.
Sven Gerjets, Gap’s chief technology officer, says that when a TikTok Shop landing page erroneously blocked users from the site, or when a similar technical failure that involved a PayPal site recently occurred, Devin has been able to accelerate the team’s ability to solve these issues 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,” says 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 actually helpful.
Across Gap, Gerjets has prioritized giving employees broad access to AI tools, but has also invested in upskilling that’s more recently focused on agentic AI. Last year, Gap conducted a study with Microsoft that involved 400 employees split into two groups. One got only prompt training, while the other also received more mindset-focused training. The latter group was two times more likely to successfully adopt AI in their workflows and this finding has helped influence 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,” explains Gerjets. “But, we have to make sure the capabilities are good enough where people aren’t disillusioned by it and get an AI hangover.”
Gerjets adds that Gap is now prioritizing more transformative changes to workflows with autonomous agentic AI, with a priority 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 fashionable 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,” says Gerjets. “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 says the retailer has “done tremendous work in terms of our technology stack and stability.” These efforts include a centralized human-run “command center” that monitors all of its online properties, including the retailer’s own desktop website, mobile app, and links that populate social channels including Instagram and TikTok.
Lowe’s, which ranks 52nd on the Fortune 500, also conducts “chaos testing,” simulations in which the retailer purposely puts synthetic pressure on its ecosystem to ensure it can handle a spike in sales that mirrors Black Friday. Lowe’s will even take down a service—say, an inventory software system—to not only keep an eye on the redundancy layers it has invested in to pick up the slack, but also to observe how adeptly IT workers are able to 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,” says Godbole. The team then dedicates some time to discuss what went well and what processes could be improved upon. “There is a little bit of an introspection after the incident is over,” adds Godbole.
John Kell
This story was originally featured on Fortune.com