Skip to content

Writing docs that AI agents recommend: 7 steps

In this Lightcone episode, the hosts argue that for developer tools, documentation is now a distribution channel because AI agents pick the product whose docs they can read. They use Resend, now the default answer to 'how do I send email from my app', and Supabase as examples, and describe what Resend changed in its docs.

Garry Tan, Jared Friedman, Diana Hu and Harj Taggar · Hosts of Y Combinator's Lightcone podcast

7 steps · 4 apps

Figures stated in the episode: Resend's founder reported ChatGPT among its top three inbound channels for customer conversion (as relayed by Diana Hu). No other results are given; the hosts also say the default answer from major LLMs for sending email is Resend and that agents default to Supabase for Postgres.

  • M

How the play runs

  1. Ask AI assistants your category how-to question

    Query ChatGPT, Claude, and Perplexity directly with your category's flagship 'how do I...' questions (just as asking how to send email from a web app returns Resend by default). Record which products the assistants name, what docs they cite, and where your product falls short.

  2. Check whether AI is already sending customers

    Audit your inbound attribution, referral data, and signup surveys to measure whether AI assistants already drive customer conversions, as Resend's founder reported ChatGPT becoming one of its top three inbound conversion channels. Log this baseline in workspace facts.

  3. Rewrite docs around questions humans and agents ask

    Restructure your knowledge base around direct task questions like 'how do I send or receive emails?' and answer each in clear, well-structured bullet points, avoiding the incumbent pattern of pushing readers toward customer support.

  4. Put working code snippets in every how-to

    Embed complete, working code snippets inside each how-to guide so AI coding agents can parse, adapt, and run your integration without missing imports or guesswork. Verify every snippet against current SDK signatures before publishing.

  5. Publish an llms.txt file written for agents

    Create and publish an llms.txt file at your documentation root written explicitly for AI agents, indexing your quickstarts, API overview, and canonical how-to guides as Resend did to position itself as the default stack.

  6. Keep docs in sync with the product automatically

    Connect your documentation platform (such as Mintlify) directly to your codebase so API updates, new parameters, and SDK code changes flow into documentation pages automatically, preventing stale docs from breaking agent-generated code.

  7. Make your product easy for agents via open APIs

    Ensure developers and AI agents can adopt your product through clean open APIs or open-source tooling rather than click-only dashboards, since agents want to write code against great docs (as the hosts note with Supabase). Review any public docs or llms.txt releases via workspace approval rules before shipping.

Included toolkit

Apps

When this play fits

  • Good fitDeveloper-tool and API companies (using platforms such as Mintlify) that want coding assistants like ChatGPT, Claude, and Perplexity to recommend and integrate their product by default.
  • Skip ifSkip if your product lacks developer APIs or self-serve technical onboarding, or if your team keeps setup answers gated behind customer support tickets.

Non-negotiables

  • Structure your knowledge base around direct 'how do I...' questions answered in clear bullet points instead of routing developers to customer support.
  • Include working, parseable code snippets in every how-to page so AI agents can lift and reuse them reliably.
  • Publish an agent-facing llms.txt file and keep docs synced automatically with API and code changes (such as via Mintlify).
  • Baseline LLM answers and AI-driven signups before rewriting docs, and pass public doc or llms.txt releases through workspace approval checks.

Setup inputs

  • Category how-to question (required)Enter the primary 'how do I...' developer query for your category.
  • Documentation platform (required)Select where your public developer documentation is hosted.Options: Mintlify, Custom / Git-based, Other
  • Documentation root URL (required)Provide the public docs URL where restructured guides and llms.txt live.

Workspace brain files

  • brain/FACTS.md
  • brain/ICP.md
  • brain/LEARNINGS.md

Results Garry reports

Figures stated in the episode: Resend's founder reported ChatGPT among its top three inbound channels for customer conversion (as relayed by Diana Hu). No other results are given; the hosts also say the default answer from major LLMs for sending email is Resend and that agents default to Supabase for Postgres.

Reported by Garry, original post, Feb 21, 2026

Who wrote it

Garry Tan, Jared Friedman, Diana Hu and Harj TaggarHosts of Y Combinator's Lightcone podcast
  • Published by GarryPosted Feb 21, 2026. Read the original post
  • Written up by sandbox.coIn our own words, step by step, credited to Garry and linked to the original.
  • Is this yours?Claim it to list it on the marketplace and earn on every business that runs it.

Common questions

What is the “Writing docs that AI agents recommend: 7 steps” playbook?

In this Lightcone episode, the hosts argue that for developer tools, documentation is now a distribution channel because AI agents pick the product whose docs they can read. They use Resend, now the default answer to 'how do I send email from my app', and Supabase as examples, and describe what Resend changed in its docs.

Who wrote this playbook?

Garry Tan, Jared Friedman, Diana Hu and Harj Taggar, Hosts of Y Combinator's Lightcone podcast. sandbox.co wrote it up in its own words from Garry’s post of Feb 21, 2026 and links to the original.

How does it work?

1. Ask AI assistants your category how-to question 2. Check whether AI is already sending customers 3. Rewrite docs around questions humans and agents ask 4. Put working code snippets in every how-to 5. Publish an llms.txt file written for agents 6. Keep docs in sync with the product automatically 7. Make your product easy for agents via open APIs

Which apps does it use?

ChatGPT, Claude, Perplexity, Mintlify.

What results does Garry report?

Figures stated in the episode: Resend's founder reported ChatGPT among its top three inbound channels for customer conversion (as relayed by Diana Hu). No other results are given; the hosts also say the default answer from major LLMs for sending email is Resend and that agents default to Supabase for Postgres.

Can sandbox.co run this for my business?

Tell us your goal and we build a playbook from the operators and plays on sandbox.co.

Things to know

  • ResultsFigures are the author’s own, from the original post.
  • SourceOriginally posted Feb 21, 2026. Read Garry’s original post
  • Run itTell us your goal and we build a playbook from the operators and plays on sandbox.co.
  • Is this yours?Claim it to list it on the marketplace and earn on every business that runs it.