Pydantic AI

Pydantic

Open Source

Type-safe Python agent framework from the Pydantic team with model-agnostic providers and durable execution integrations.

Curated by Tiberiu ArvaVerified

MITVersion 2.52.0Released 2026-09-29

Strengths

  • Typed tools, deps and structured outputs
  • Temporal/DBOS/Prefect durable execution
  • OpenTelemetry tracing via Logfire

Practitioner note

Good fit for Python teams that want typed, testable agent code and to swap model providers by string; pair with Temporal or DBOS for long-running work. v1 still gets security patches (v1.107.7 alongside v2.52.0), so pin a major version deliberately.

Governance posture

Reviewed 2026-09-30
YesData residency

Self-hosted library; operator controls placement and model provider (Logfire cloud is optional and separate).

Source
YesDeployment model

OSS library run in the operator's own process; no hosted control plane required. (self-hosted)

Source
PartialAudit logging

No built-in audit log; OpenTelemetry instrumentation (optionally to Logfire) must be wired up by the operator.

Source
N/ASOC 2

Self-hosted library; SOC 2 applies to the operator's infrastructure, not the package.

N/AISO 27001

Self-hosted library; ISO 27001 applies to the operator's ISMS, not the package.

N/AISO 42001

Self-hosted library; ISO 42001 applies to the deploying organisation.

N/AEU AI Act

Developer component, not an AI system placed on the market; obligations rest with the deployer. (role: not-applicable)

YesLicense risk

MIT — permissive, OSI-approved. (low)

Source

EU AI Act obligations

Risk tier: Not applicable · as of 2026-08-23

Source-backed information mapped from Pydantic AI's tracked risk tier — not legal advice. Obligations depend on how your organisation deploys the system; see the full obligation reference and timeline.

This record's EU AI Act risk tier is marked not applicable, so no tier-specific obligations attach. Deployers embedding it in an AI system in scope of the Act should assess that system's own tier.

Explore the category

Compare this tool against the rest of its category and the cloud platform foundation layer.