How Stripe Built Its Internal AI Agent Kai in One Week
Brief
Stripe’s Knowledge AI Platform, Kai, gives employees a context-aware assistant connected to internal data and tools. One engineer built its initial version in a week using Deep Agents.
How Kai is built
- Deep Agents provides the agent execution, middleware composition, streaming, and state-management foundation; Stripe adds its security and internal services, then configures specialized agents on top.
- Kai uses an S3-backed virtual filesystem to preserve files across turns, sandboxed code execution for analytics and document processing, and summarization middleware for long sessions.
Skills and adoption
- Stripe has more than 1,000 skills and 500+ internal MCP tools. Skills guide dynamic tool loading, while the article notes that selecting among a large skills catalog remains a challenge.
- Kai surpassed 5,000 users roughly four weeks after open preview and is used weekly by 83% of Stripe employees, across more than 60,000 sessions.
Generated by AI from the original article. Check the source for full details.