Agent Native
llms.txt
llms.txt is a proposed standard for making website content more accessible to large language models. Similar to robots.txt for web crawlers, llms.txt tells AI tools what documentation is available and how to access it.
Files
WEEX API Documentation provides two llms.txt files:
| File | URL | Description |
|---|---|---|
llms.txt | /api-doc/llms.txt | Summary — document titles, descriptions, and links |
llms-full.txt | /api-doc/llms-full.txt | Full content — all documentation in a single file |
Format
llms.txt (Summary)
The summary file contains a structured list of all documentation pages, including their titles, descriptions, and URLs:
Code
llms-full.txt (Full Content)
The full file contains the complete Markdown content of every documentation page, separated by document headings. This is useful for loading the entire documentation into an LLM's context window.
Usage Examples
Feed into any LLM
Code
Use with Claude
Code
Use in a Python script
Code
Use with LangChain
Code
When to Use llms.txt vs Other Options
- llms.txt — Quickly give an LLM awareness of all available documentation or load it into the context window.
- OpenAPI Schema — Use structured API data for endpoint discovery, code generation, or API tooling.
- Markdown page — Read the complete content of an individual documentation page.