Agents
LLMs.txt
How to get AI tools to understand M0 protocol documentation, terminology, and best practices.
M0 docs provide machine-readable text files that AI tools can consume to understand the M0 protocol, its terminology, and technical documentation.
What is LLMs.txt?
LLMs.txt is a standard format that provides website content in a way optimized for large language models. Instead of parsing HTML, AI tools can read structured markdown that contains the essential information.
Available Routes
| Route | Description | Size |
|---|---|---|
/llms.txt | Overview of all documentation sections with page links | ~5K tokens |
/llms-full.txt | Complete documentation content — all pages concatenated | ~200K+ tokens |
/llms/get-started.txt | Get Started section only | Smaller |
/llms/launch-guide.txt | Launch Guide section only | Smaller |
/llms/protocol-docs.txt | Protocol Docs section only | Smaller |
/llms/resources.txt | Resources section only | Smaller |
Choosing the Right File
- Use
/llms.txtwhen you need a quick overview or want to find the right section to dive into. - Use section-specific files (e.g.,
/llms/protocol-docs.txt) when you know which area you need and want to keep token usage low. - Use
/llms-full.txtwhen you need comprehensive context across all M0 documentation. This is large — only use it with tools that support large context windows.
Usage with AI Tools
Cursor
Add as a documentation source in your project's .cursor/rules file:
@https://docs.m0.org/llms-full.txt
Or reference a specific section:
@https://docs.m0.org/llms/protocol-docs.txt
Windsurf
Add to your project rules or reference the URL directly in chat:
Refer to https://docs.m0.org/llms-full.txt for M0 documentation
ChatGPT, Claude, and Other Chat Tools
Paste the URL directly in your conversation:
Read https://docs.m0.org/llms.txt and answer my questions about M0
For the best experience with M0 documentation, use the MCP Server instead of LLMs.txt. MCP allows your AI assistant to search and fetch specific pages on demand rather than loading everything at once.