Pydantic Docs
Pydantic is the end-to-end AI Engineering stack. Validate untrusted data and build agents you’ll actually ship to production using our Python libraries. Observe, govern, and optimize agents written in any language or framework once they’re live.
Pydantic Validation
Data validation from Python type hints. Parse, validate, and serialize with confidence.
class User(BaseModel): name: str age: intLearn about Validation→
Pydantic AI
The batteries-included type-safe framework for building production agents.
model = 'openai:gpt-5.6-sol' agent = Agent(model) agent.run_sync('Does it snow?')
Pydantic Logfire
Observability and governance for AI agents, LLMs, applications, services, and hosts.
logfire.configure(); logfire.info('app started');See the best AI Engineering platform→