Skip to content

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.

We provide the following LLMs.txt routes to help AI tools access our documentation:

  • llms.txt - A compact routing file that points AI tools to the most useful Aptos docs and machine-readable exports
  • llms-small.txt - A curated low-token subset of the most useful Aptos documentation for IDE assistants and smaller context windows
  • llms-full.txt - The full rendered Aptos documentation corpus for large-context ingestion

Well-known URL: Some tools look for https://aptos.dev/.well-known/llms.txt. That URL permanently redirects to /llms.txt (same content).

The llms.txt index also lists structured API assets that are not prose docs—for example the Aptos Fullnode OpenAPI spec (JSON) and the REST API reference (HTML) generated from that spec.

It also surfaces agent tooling (Aptos MCP, Agent Skills, Explorer, GitHub org) and key Markdown deep links (AI hub, standards, Indexer GraphQL reference) so models can fetch the right surface without guessing URLs.

Every documentation page is also available as rendered Markdown by appending .md to the URL:

Page URLMarkdown URL
https://aptos.dev/build/guides/first-transactionhttps://aptos.dev/build/guides/first-transaction.md
https://aptos.dev/build/sdks/ts-sdkhttps://aptos.dev/build/sdks/ts-sdk.md
https://aptos.dev/zh/build/guides/first-transactionhttps://aptos.dev/zh/build/guides/first-transaction.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 file acts as a compact router, while llms-small.txt and llms-full.txt provide curated and comprehensive corpus exports.

Add Aptos documentation context to Claude Code projects:

  1. Add https://aptos.dev/llms.txt to your project’s CLAUDE.md file as a reference
  2. Claude Code will read the index and fetch relevant pages via .md URLs as needed
  3. For deeper integration with on-chain tools, see Aptos MCP for Claude Code

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 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.txt
https://aptos.dev/llms-small.txt
https://aptos.dev/llms-full.txt

Reference the LLMs.txt files using @ or in your .windsurfrules files to enhance Windsurf’s understanding of Aptos development.

Read more about Windsurf Memories

Add Aptos documentation as a knowledge source in Claude Projects:

  1. Open Claude.ai and create or open a Project
  2. Click Add content
  3. Paste https://aptos.dev/llms-full.txt as a URL source
  4. Claude will now have Aptos documentation context in all conversations within that Project

Reference the Aptos docs directly in ChatGPT conversations:

  • Paste https://aptos.dev/llms-full.txt into your message and ask ChatGPT to read it before answering Aptos questions
  • For custom GPTs: add https://aptos.dev/llms.txt as a knowledge source in the GPT Builder

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.