Why Stripe Cut 500,000 Internal Docs Down to 5,000?
· Summarized
Key takeaways
- Agents and humans need different documentation formats: agents benefit from exhaustive markdown and context, while humans need concise answers, visuals, workflows, and a clear big picture.
- Generating more documentation does not solve the problem if the content is stale, contradictory, or machine-generated slop; companies must improve its structure and quality.
- Decision records should capture the timestamp, owner, alternatives, rationale, pros, and cons behind engineering choices so agents and teammates do not repeat old debates or undo deliberate constraints.
- Cleaning documentation is foundational: Dave says Stripe reduced roughly 500,000 internal documents to 5,000 maintainable ones, making synchronization with the codebase more realistic.
- A named person or team should own each documentation set, and documentation quality should affect job expectations and performance reviews.
- When an agent causes an incident using bad information, the responsible engineering team cannot simply blame the agent; reliability and customer outcomes remain human responsibilities.
Summary
Internal documentation became the foundation for agents
Demetrios recalls asking Dave Nunez three years earlier about the burden of writing developer documentation. Dave, founder of Falconer and co-author of Documentation for Developers, says he was then unexpectedly more interested in internal documentation than public docs. That focus became valuable because internal knowledge now powers AI agents. He describes first feeling threatened when a two-week changelog became a 30-second generation task, then realizing he had always hated writing changelogs. The larger problem, he argues, is that companies are now producing more documentation without improving it, creating agent-generated walls of text that help neither humans nor agents.
Agents need markdown; humans need an experience
Dave says documentation should be designed differently for its two audiences. An agent wants exhaustive markdown and context because it can read every character, while a human does not want to read markdown and needs visuals, a clear big picture, or information presented in a more intuitive format. Demetrios admits he had assumed humans could read docs that agents could also use, but agrees that readable is not the same as desirable. Dave adds that humans experience dread when they cannot quickly verify something such as supported authentication methods or currencies; documentation should turn that moment into confidence in the company.
Agent evaluations expose why some tools are easier to use
Demetrios describes 2027.dev, which evaluates how well agents use tools such as Vercel and Tailscale by assigning them tasks. Some tools are used smoothly and others poorly, but the reason is unclear: documentation quality, the amount of example code in the world, or the tool’s age could all matter. Dave says this is a harder version of the old documentation problem, involving information architecture, search, writing, layout, design, and now machine legibility. Agents must not only find content; they must understand which instructions to follow and how to apply them.
Agents may trust stale training data over current instructions
Dave explains that agents often ignore current documentation because speed requires them to rely on prior knowledge and built-in biases. He cites Vercel’s Docker launch: agents reportedly continued recommending competitors because their training data told them Vercel did not support Docker. An agent might answer from what it thinks it knows instead of crawling the latest pages. As companies produce ten times more documents, agents will not be able to read tens of thousands of pages for every question. Documentation therefore needs to be made legible and explicit enough to overcome assumptions, not merely generated in greater volume.
Decision records preserve why the code works this way
Demetrios praises decision documents that record who made a choice, when it was made, and the reasoning behind it. Dave says these records help agents avoid changing systems for reasons that were already considered, but they also prevent humans from repeatedly arguing about forgotten decisions. He jokes that Falconer’s memory feature once reminded his team of his stated cuisine preferences and later challenged him when he contradicted an old opinion about a company. A decision record can show the original options, pros, cons, and later changes, making it possible to revisit a decision intelligently rather than restart the debate.
Cleaning up junk made Stripe’s internal knowledge usable
Dave urges companies to begin by cleaning their existing documentation rather than perfecting new templates. From work at Uber, Stripe, and client companies, he estimates only one or two percent of stored material is genuinely useful; the rest consists of copies, deprecated-feature docs, scratch pads, and outdated pages that pollute search. At one large company, the top onboarding result was “Jason’s intern onboarding doc. Do not use this,” which redirected readers to a dead link. Stripe reduced roughly 500,000 internal documents to about 5,000 worth maintaining. Dave says agents can plausibly keep that smaller set synchronized with the codebase.
Diagrams and workflows beat obsolete walls of text
Dave recommends distilling internal knowledge into diagrams, workflows, and checklists. Rather than handing someone a ten-page software-development-life-cycle document written by an engineer who has left, show the sequence from product requirements document to prototype to specification. Demetrios points out that codebases create the same context-bloat problem as Notion and Google Docs: agents may encounter conflicting code, tasks, and prose. Dave says code is generally more pristine because agents were trained and optimized on it, but dead code should still be deleted. When names and claims conflict across sources, an agent may simply choose one because it is trying to produce an answer.
Bad documentation can turn into a production incident
Dave says he has heard of incidents lasting weeks because an agent made the wrong call based on bad documentation. The danger is latent: teams may not notice stale or conflicting information until an agent acts on it, and people may trust text attributed to Claude rather than checking the person who owns the system. Demetrios emphasizes that the cleanup falls to whoever must diagnose the incident. Dave expects accountability to increase as performance reviews expose the cost: an agent may have written the document, but the team responsible for reliability still owns the resulting failure.
Ownership and product quality must include documentation
Dave’s practical starting point is accountability: put a named owner on a document set or repository, then include documentation responsibility in the job ladder and performance reviews. He also says documentation must be treated as part of the product; shipping a product without its documentation means the team does not truly care about docs. Drawing on a Steve Yegge account of a Jeff Bezos memo, he repeats the idea that “communication is a defect”: well-designed, documented interfaces should replace unnecessary meetings. A team’s operating model, tools, responsibilities, and connection methods should be discoverable to both people and agents.
Documentation is an underappreciated asset, not an excuse to waste time
Demetrios calls documentation an underappreciated asset when it helps readers reach the right answer without wasting time. He recalls Dave’s idea of escape hatches: guide readers toward what they may actually mean instead of forcing them through an entire document. They criticize AI-generated “slop” that takes longer to read than it took to create; Demetrios calls such a document a “brovella.” Dave says agents can provide an initial draft, but human rigor is needed to empathize with readers and make them feel capable rather than foolish. The post-show chat touches on context bloat, meditation, and Dave’s upcoming Falconer general-availability launch.
Show notes
What happens when AI agents start relying on the same messy docs your team already struggles to search?
Demetrios hops into a Waymo in San Francisco with Dave Nunez, founder and CEO of Falconer and co-author of Documentation for Developers. They talk about why developers and agents need different things from docs, why agents sometimes skip up-to-date instructions, and how a stale internal document can contribute to a production incident.
Dave shares how Stripe cut roughly 500,000 internal docs down to 5,000 worth maintaining. The conversation also covers how to capture the reasoning behind engineering decisions, when a diagram beats a wall of text, and who owns the fallout when an agent acts on bad information.
Timestamps:
[00:00] Hopping into a Waymo in San Francisco
[00:24] Meet Dave, founder of Falconer
[01:15] Why internal docs matter for AI agents
[03:24] What humans and agents each need from docs
[05:46] Testing how well agents use developer tools
[07:01] Why agents skip the latest docs
[09:42] Decision records and the reasoning behind the code
[14:04] Cleaning up stale docs and broken search
[15:29] How Stripe went from 500,000 docs to 5,000
[17:02] When a diagram beats a 10-page doc
[18:53] How conflicting docs can lead to an incident
[20:42] Who owns reliability when an agent makes a mistake?
[24:01] Treating documentation as part of the product
[26:38] Giving readers an escape hatch
[27:27] The cost of AI-generated fluff
[29:36] Wrap-up and post-show chat
Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account