Pydantic AI llms.txt

Browse Pydantic AI documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

ai.pydantic.dev/llms.txt

What is Pydantic AI's llms.txt?

Pydantic AI publishes an /llms.txt file that provides AI systems with a structured index of its documentation. It follows the llms.txt specification, organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Pydantic AI offers and where to find details.

Pass
Spec
14
Sections
169
Links
14.5 KB
Size
~3.7k
Tokens

Sections: Overview · Core Concepts · Models & Providers · Tools & Toolsets · Advanced Features · Guides · and 8 more

Add Pydantic AI Docs to Your AI Assistant

Select your tool to see how to add Pydantic AI's llms.txt as a documentation source.

  1. 1

    Open any chat or composer panel

  2. 2

    Type @Docs and select "Add new doc"

  3. 3

    Paste the URL: https://ai.pydantic.dev/llms.txt

  4. 4

    Wait for the green dot (indexing complete)

  5. 5

    Reference @Docs in chat when asking about Pydantic AI

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

Frequently Asked Questions

Pydantic AI publishes its llms.txt at https://ai.pydantic.dev/llms.txt. This file provides a structured, markdown-formatted index of Pydantic AI's documentation that AI systems can consume to understand the project's APIs, guides, and references.

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Pydantic AI's documentation so it can provide better code suggestions and answers about Pydantic AI.

Pydantic AI's llms.txt contains 14 sections and 169 documentation links in 14.5 KB (~3.7k tokens). Key sections include Overview, Core Concepts, Models & Providers, Tools & Toolsets, Advanced Features, Guides.

The concise llms.txt index is approximately 3.7k tokens (14.5 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

GenAI Agent Framework, the Pydantic way. Pydantic AI's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with Pydantic AI.

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

Browse More llms.txt Files

Related Tools