Stripe's Knowledge AI Platform
TL;DR Highlight
Stripe built Kai, an internal agent platform for non-engineers; 83% of staff use it weekly.
Who Should Read
A backend or platform developer designing an internal agent platform for non-engineers and worrying about security and per-domain governance.
Core Mechanics
- Coding agents didn't fit non-engineers
- Coding work has a uniform shape of editing files, running tests, and committing, so one agent architecture works.
- Knowledge work needs different tools, data, outputs, and definitions of done, so the same approach doesn't carry over.
- The two earlier options both fell short
- The NoCode Agent Builder produced over 4,000 agents, but teams wrote similar prompts of varying quality.
- The spread of micro-agents became hard to monitor and maintain.
- Users who picked coding agents raised security concerns and a new support burden for code quality teams.
- Kai is built in three layers
- First is surface-agnostic APIs so multiple interfaces share the same agent.
- Second is Agent Studio, where domain owners build and govern their own agents and skills.
- Third is an execution environment that delivers security without users thinking about infrastructure.
- The agent is a service, not an app
- The web app and Slack integration are just views on the same API.
- Internal tools embed Kai via APIs, and Chrome extensions surface it inside third-party web tools.
- Isolation depends on task context, not tokens
- A core rule is never combining data from two unrelated customer contexts in one analysis.
- This holds even if the user has legitimate access to both.
- The question is what this task should be allowed to view in this context, not what this person can access.
- The execution environment is shared with product agents
- The harness is built on LangChain's deepagents and runs on Kubernetes with per-session sandboxes and a multi-tenant virtual filesystem.
- One session reached 932 turns, and sessions hold hundreds of tool and LLM calls without timeouts or context overload.
- Kai connects to 1,000+ skills and tools, and skill selection via a hybrid RAG/LLM approach is promised for a follow-up post.
Community Reactions
- Metrics are self-reported and questioned
- Some commenters found it suspicious that 2x sales activity gave only 17% more opportunities but 39% more closed deals.
- Others noted correlation isn't causation, since vacations or sick days would lower both activity and tool use.
- Not much that is specific to knowledge
- Some commenters saw no verification or transparency features, just a generic agent builder.
- Others said the post doesn't explain why Stripe built its own instead of using open source or products like Notion.
- A new channel worked better for one client
- One commenter found a client explicitly preferred a chat UI over poorly maintained internal tools.
- They are replacing hundreds of cshtml views and controllers with one agent tool that applies JSON patches.
- Similar directions were mentioned
- Some commenters compared it to Cloudflare OS and said every company with spare engineers builds this internally.
- Another said windmill.dev is heading the same way, centered on a secure code runtime, ACLs, and app building.
How to Apply
- Write down your agent's isolation rules
- Spend 30 minutes today listing pairs of data contexts that must never mix in one session.
- For each pair, write one line on what to block based on task context, not the auth token.
- Audit your prompt sprawl
- Collect the agents and prompts each team has built and group those with similar goals.
- Merge duplicates into one shared skill and assign an owner.
- Split your agent into an API service
- Pull the agent logic out of the web app and expose it as an API.
- Build Slack bots and internal tools as thin views that call that API.
- Design a control screen for domain owners
- Show usage and quality signals per skill on a single screen.
- Let domain teams fix their skills without asking the platform team.
Try It
# Paste into Claude or ChatGPT (a simplified version of the article's isolation idea as a prompt)
I'm designing an internal agent platform. Use the principle below to review risky scenarios in our service.
Principle: even if a user has access to two data contexts separately, data from two unrelated customer contexts must never be combined in one session. The test isn't 'what can this person see' but 'what should this task be allowed to view in this context'.
Our service description: {{service description}}
Data sources the agent uses: {{data source list}}
Please do the following.
1. List up to 5 pairs of data contexts that must not mix in one session.
2. For each pair, write rules on which context to pin at session start and what to block in tool calls.
3. Write one test scenario question per pair to check for violations.
Next step: run the scenario questions against your real agent and check that the rules hold.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques
Related Resources
- https://stripe.dev/blog/meet-stripes-knowledge-ai-platform
- https://github.com/smartcomputer-ai/lightspeed
- https://github.com/cloudflare/cloudflare-os
- https://blog.cloudflare.com/cloudflare-os/
- https://github.com/windmill-labs/windmill
- https://github.com/bionic-gpt/bionic-gpt
- https://gp-tree.com/docs/knowledge-api