Pydantic AI
Pydantic is all you need.

The Pydantic Stack gives developers tools to build end-to-end type-safe applications, from local to prod, from AI to API.

Ship robust apps faster, in Python, TypeScript, Rust and others.

  • Schema [OSS]

    Pydantic Validation

    Maps the way

    Data validation for Python:

    • Most widely used data validation library for Python
    • Enforces standard type annotation
    • Plays nicely with type checkers, IDEs and your brain
    • Fast and extensible
  • Agents [OSS]

    Pydantic AI

    Speeds the way

    Agent framework / LLM library for Python:

    • Type safe and ready to build production grade applications
    • Model agnostic: Support for all popular LLM providers
    • OpenTelemetry integration
  • Observability [OSS + SAAS]

    Pydantic Logfire

    Lights the way

    OpenTelemetry traces, logs and metrics:

    • Developer tool and production monitoring
    • General purpose O11y with first-class support for AI
    • Custom SDK for Python, JS and Rust, standard OTel for other languages