LLMs.txt
What is LLMs.txt?
Section titled “What is LLMs.txt?”We support LLMs.txt files for making the Aptos documentation available to large language models (LLMs). This feature helps AI tools better understand the Aptos blockchain, its Move language, SDKs, and development patterns.
Available Routes
Section titled “Available Routes”We provide the following LLMs.txt routes to help AI tools access our documentation:
- llms.txt - Contains a structured overview of Aptos LLMs.txt files
- llms-small.txt - Provides a condensed version of the documentation, optimized for smaller context windows
- llms-full.txt - Provides the full comprehensive documentation for all Aptos concepts
Per-Page Markdown Access
Section titled “Per-Page Markdown Access”Every documentation page is also available as raw Markdown by appending .md to the URL:
| Page URL | Markdown URL |
|---|---|
https://aptos.dev/build/guides/first-transaction | https://aptos.dev/build/guides/first-transaction.md |
https://aptos.dev/build/sdks/ts-sdk | https://aptos.dev/build/sdks/ts-sdk.md |
This is useful for AI tools that need to fetch individual pages with minimal tokens, rather than ingesting the full documentation. The llms.txt index lists all pages with their .md URLs and descriptions so your AI tool can pick exactly which pages to read.
Usage with AI Tools
Section titled “Usage with AI Tools”Claude Code
Section titled “Claude Code”Add Aptos documentation context to Claude Code projects:
- Add
https://aptos.dev/llms.txtto your project’sCLAUDE.mdfile as a reference - Claude Code will read the index and fetch relevant pages via
.mdURLs as needed - For deeper integration with on-chain tools, see Aptos MCP for Claude Code
Cursor
Section titled “Cursor”Use the @Docs feature in Cursor to include the LLMs.txt files in your project. This helps Cursor provide more accurate
code suggestions and documentation for Aptos development.
Read more about @Docs in Cursor
GitHub Copilot
Section titled “GitHub Copilot”GitHub Copilot can leverage the information in these LLMs.txt files to provide better assistance when developing Aptos applications. You can reference these files in your GitHub Copilot Chat by using the following URLs:
https://aptos.dev/llms.txthttps://aptos.dev/llms-small.txthttps://aptos.dev/llms-full.txtWindsurf
Section titled “Windsurf”Reference the LLMs.txt files using @ or in your .windsurfrules files to enhance Windsurf’s understanding of Aptos development.
Read more about Windsurf Memories
Claude.ai
Section titled “Claude.ai”Add Aptos documentation as a knowledge source in Claude Projects:
- Open Claude.ai and create or open a Project
- Click Add content
- Paste
https://aptos.dev/llms-full.txtas a URL source - Claude will now have Aptos documentation context in all conversations within that Project
ChatGPT
Section titled “ChatGPT”Reference the Aptos docs directly in ChatGPT conversations:
- Paste
https://aptos.dev/llms-full.txtinto your message and ask ChatGPT to read it before answering Aptos questions - For custom GPTs: add
https://aptos.dev/llms.txtas a knowledge source in the GPT Builder
Other AI Tools
Section titled “Other AI Tools”Any AI tool that supports LLMs.txt can use these routes to better understand Aptos. Simply point your tool to any of the routes above.