Deep dive · Xiaohu Explains

How Stripe Built Its Internal AI Agent: One Engineer, One Week, Now Used by Nearly Everyone

Files, sandboxing, and context summarization came off the shelf. The security boundaries they had to build themselves. And when they hit 150 skills, the model started picking the wrong ones.
The 60-Second Takeaway
  • One sentence in, 11 seconds later, and Kai returns a working event invitation page—openable, exportable, with a live countdown.
  • The first version took one engineer a week to build, because the hardest part was already done: file handling, sandboxing, and context summarization all came off the shelf.
  • You can have too many skills. At 150, Stripe watched frontier models start grabbing the wrong ones.
  • Even the official post contradicts itself: the text says most conversations are multi-turn, but the chart shows the median session is just 2 turns.
A note on our stance: The main source here is LangChain's official blog post about their customer's work, supplemented by Stripe's own post on stripe.dev. Both are firsthand accounts. All adoption numbers and business benefits (deals closed, hours saved) are Stripe's own estimates, with no third-party verification. I've also read the deepagents source code to cross-check the mechanics, and I've noted the provenance at each step.
Opening

Kai: A Company-Wide AI Assistant Built by One Person in a Week

At the end of July, LangChain's official blog published a detailed teardown of how Stripe used their open-source Deep Agents to build Kai, an AI assistant for all non-engineers across the company. Today, 83% of Stripe employees use it every week. The first working version took a single engineer a week to build. What makes this post worth reading is that it lays out exactly which layers can be bought, which layers you have to build yourself, and where you hit a wall if you scale it too far—including one counterintuitive finding: equip an agent with too many skills, and it actually gets dumber.

What Kai is, in three paragraphs

ProblemAI tools like Claude Code and Codex were built for engineers. The barriers—terminals, environment setup, security review—stop sales, finance, and operations teams cold. Yet the company was pushing everyone to use AI to boost their productivity.
IdeaInstead of pushing non-engineers toward developer tools, build something that matches how they actually work: an "AI colleague" that's ready to go out of the box, requires zero setup, and understands how Stripe works from day one.
ResultThe open preview hit its quarterly adoption target in a single week. In about 4 weeks, users jumped from 296 to over 5,000—a 16x increase. Today, 83% of employees use it weekly, with adoption among Marketing (95%) and GTM (87%) higher than in Engineering.

Here's what it can do:

Start a conversation, hand it the workYou type what you need into the chat. The reports, dashboards, and documents it produces appear alongside the conversation. Keep chatting, and those outputs change with you. It's the same model as a coding agent, just built for people who don't write code.
Knows Stripe from day oneInternal systems, data sources, and company practices come pre-installed. You don't have to explain what you do or how the company works before you start.
Wired to 1,000+ skills and toolsData warehouses, BI dashboards, project management tools, plus external services like Zoom and Google Workspace are all right there.
Can run codeWriting Python to query data, making charts, tearing apart PDFs and presentations—all of it runs in an isolated sandbox.
Meets you where you areA web app, a Slack integration, a Chrome extension that embeds into third-party web tools, and an API for any internal app to build Kai into its own interface.
Different versions for different teamsSales Ops gets a different default set of skills than Finance. And individuals can add their own on top of their team's defaults.

Watch it work. In Stripe's 11-second demo, engineer Anupam types this into Kai's home screen:

Real prompt from the demo · translated
Create a week-by-week launch plan and an interactive event invitation for a public Stripe Press event in San Francisco. Target early-stage founders. Theme: "Building companies that last in the age of AI." Pick the 3 books with the highest website traffic in the last 90 days. Research what these authors have published recently. Recommend a theme, a reading list, and two potential speakers. Cite every choice.
That single sentence packs five distinct tasks, and they're sequential—each depends on the one before.
One sentence prompt Query data 90-day traffic Research Recent author news Make calls Pick theme, speakers Cite sources For every choice Plan Week-by-week event_invite.html Open, editable, exportable Live countdown running 11 seconds
Our diagram: That single prompt splits into five interdependent tasks in Kai, folding down into a single file.

Stripe's Kai demo (no audio). From a blank home screen to a finished dark-themed event page in 11 seconds. You can see it calling the tool write_file · file_path: event_invite.html, plus a skill tag called ask-data. Source: stripe.dev, "Meet Stripe's Knowledge AI Platform."

That page is a real file: dark theme, headlined "Built to Last: Founding Durable Companies in the AI Era," dated Thursday, September 24, 2026, 6:00–8:30 PM, at Stripe's San Francisco Bay Area office. The audience is "early-stage founders (pre-seed to Series A)." There are two buttons—"Request Invite" and "See Reading List"—and a live countdown ticking underneath. In the top right, you'll find "Exit Demo" and "Export."

A few details flash by worth noting: the small print at the bottom of the home screen says it was built by the Agent Foundations team, the getting-started guide lives at the internal shortlink go/kai-getting-started, and feedback goes to the #kai-pilot channel. There's an "Incognito" toggle in the top right. And the input placeholder is "Ask anything, # for skills"—type a hash to pick a skill.

What's in the output matters

The difference between a knowledge-work agent and a chatbot shows in the output: you need something you can open, edit, and send on. A wall of text you read once and forget won't cut it—and that difference dictates a different foundation underneath.

Backstory

Why Coding Agents Can't Help Sales and Finance

Stripe's engineers have had AI helpers for a while—their homegrown coding agent Minions merges over a thousand PRs a week, with humans still reviewing the code. (This context comes from two other posts about Minions on stripe.dev; LangChain's post doesn't mention it.)

The problem: most of the company doesn't write code—sales, financial analysts, technical account managers. When the Claude Code / Codex wave hit, these people got left behind. They wanted to use the tools, but the terminal, data permissions, and security approval were three barriers they couldn't cross.

Before Kai, Stripe tried two paths, and neither worked all that well.

Path one · No-code builders

Anyone could drag and drop a small, single-purpose agent with tools attached. They ended up with 4,000 of them.

The problem wasn't the count. It was that many prompts were *similar in intent* but wildly uneven in quality. And with so many small agents scattered around, monitoring and maintenance became a nightmare.

Path two · Use coding agents directly

Some people actually did this, contorting their workflows to fit a developer tool.

Security issues surfaced quickly. Meanwhile, the code quality team suddenly had to support a whole new class of non-engineer users—an entirely new burden.

After these two attempts, they landed on a core insight that all subsequent design grew out of:

Core Insight

Coding is a fixed shape. The specific file you're changing varies, but the loop is constant: edit files, run tests, commit. The language might be Ruby or Java, but the shape of the work is the same. That's why one agent architecture can handle it all.

Knowledge work sits at the opposite end. Researching a client account and preparing for a compliance review use different tools, different data, and produce different outputs. Even the definition of "done" is different. You can't fit that into one architecture.

Coding Same loop every time Edit Test Commit Fixed loop → one architecture fits all Knowledge work Different shape every time Check CRM Cross-check Brief Research client Pull 3 quarters Model Forecast revenue Check clauses Policy Gaps Compliance review Tools, data, outputs, even "done" change each time
Our diagram: The task names on the right are from the original post. The specific steps are illustrative examples we added, not Stripe's actual process.

That insight drove three conclusions.

1. Expertise has to be distributed, not centralized