llms.txt tool

Generate an llms.txt file from your OpenAPI spec.

Sourced can generate a spec-compliant llms.txt from your OpenAPI input — endpoints grouped, schemas summarized, examples included, and previewed alongside the SDK pipeline. Unlimited previews, no credit card required.

Unlimited previews. No credit card required.

01Details

What the generator produces

01

A spec-compliant llms.txt at the root of your published docs (e.g. docs.your-api.com/llms.txt).

02

Operation-level summaries generated from the same OpenAPI source as the SDK and docs preview.

03

An Optional section grouping examples, changelog, and migration notes that agents can skip when context is tight.

04

All of this regenerates on every spec push — no separate llms.txt build step to maintain.

02Outputs

Why generate llms.txt from OpenAPI

01

OpenAPI already contains the structure agents need: endpoints, parameters, schemas, examples, auth.

02

Manually written llms.txt files drift the moment your API changes. Generating from the spec keeps it accurate by default.

03

Sourced's generator preserves operationIds and tag groupings so the file mirrors how developers think about the API.

03Details

Three ways to ship an llms.txt with Sourced

01

Upload your OpenAPI spec at signup. Sourced generates llms.txt as part of the docs preview before you publish.

02

Connect a GitHub repo and Sourced rebuilds llms.txt on every spec change.

03

Run the migration scanner first if you already host docs elsewhere — it reports what to keep, redirect, and replace.

04Checks

llms.txt checker — validate before you ship

01

Sourced's preview surfaces the generated file in the dashboard with the parsed structure, link count, and any orphaned references.

02

You can also paste your existing file into the dashboard to compare what Sourced would have generated against what you currently ship.

03

Outside of Sourced: the spec at llmstxt.org documents validation rules — H1 required, blockquote optional, Markdown link format strict.