Published on April 8, 2025 (4 days ago)

We want your LLM to read our docs

Darius Cepulis
By Darius Cepulis3 min readEngineering & ProductPart of our story on AI

You might dream of making a product that’s so intuitive, your users don’t even have to think. It Just Works™. But when “Just Works” fails, your users turn to the instruction manual. Here be dragons. The more time your users spend in your instruction manual, the less time they spend with your product and the more frustrated they get.

For developer tools, that instruction manual is the docs. And nobody wants to spend their one wild and precious life reading docs. So how do you get your users in and out of your docs quickly? As we’ve written before, it all comes down to good content and good usability. And we’re trying something new in usability: mux.com/llms.txt.

LinkWhat is llms.txt?

llms.txt is a proposed standard for LLMs to discover and read your website. It’s a page hosted at /llms.txt with background information, guidance, and links to detailed Markdown files. On top of that, it’s a convention where, if you put .md after a URL, you’ll get a plain, Markdown version of that URL. It’s been adopted by Stripe, Svelte, and so many more.

To some of you, this might feel a bit familiar... A directory of pages that a robot can read? Couldn’t we just use sitemap.xml? Well, not really. sitemap.xml still links to pages meant for humans. Pages full of extra divs and classes and navigation to make the page look and work better. To an LLM, though, this is all just wasted tokens. An LLM doesn’t care about your HTML, just the raw content within. So llms.txt points to pages that are reduced to just the basics.

For now, you need to add these docs to Cursor or Claude manually

LinkWhy would you create an llms.txt?

Honestly, that’s a good question. Is this worth the effort?

If you were to hop on every spicy trend hitting web dev, you’d never get anything done. (“Hype-driven development”, anyone?) But I think even the most skeptical among us are starting to see by now that LLMs are powerful. The ability to just “talk” with docs is the best usability one could ask for: no finding things in the sidebar, no phrasing things to get the right result in search. It can be like having your own personal expert pair programming with you.

Now, I’ve expressed reservations about LLM docs in the past. Since that blog post, though, two things have changed. First, so much has happened in LLM development; these models are noticeably better. Second, because users are accessing this knowledge through their own tools, they’re (hopefully) more aware of the hallucinations that still sometimes happen with LLMs.

LinkSounds great. What’s the catch?

When users are reading your docs, you know what experience you’re taking them on. By putting this content into an LLM, you’re giving a bit of that control up. LLMs do still hallucinate. Even if users know about hallucinations, they may still waste time going down the wrong path.

It’s also true that the llms.txt convention is still just a proposal. A proposal with some limitations, as Hacker News will happily tell you. Early adopters of llms.txt have to be careful to track the adoption of the standard and update their implementation as things evolve.

We think these tradeoffs make sense for Mux. We're still committed to writing great docs—that's not going to change—but we're also excited to explore how LLMs might help our users find what they need and get back to building sooner. That's the whole point, after all: less time in the docs, more time creating.

Written By

Darius Cepulis

Darius Cepulis – Senior Developer Experience Engineer

Pretends he knows more about coffee than he does. Happier when he's outside. Thinks the web is pretty neat.

Leave your wallet where it is

No credit card required to get started.