docs/integrations/llms.md
The Pydantic documentation is available in the llms.txt format. This format is defined in Markdown and suited for large language models.
Two formats are available:
llms.txt file,
but every link content is included. Note that this file may be too large for some LLMs.As of today, these files cannot be natively leveraged by LLM frameworks or IDEs. Alternatively,
a MCP server can be implemented to properly parse the llms.txt
file.
Where llms.txt gives an AI tool the Pydantic documentation, the
Logfire MCP server gives it your
application's runtime data: an agent can query the traces, metrics, and recorded validations from your
own service and, for example, pull up the input behind a [ValidationError][pydantic_core.ValidationError]
while it's helping you fix it.