Skip to content
Agentmart
Submit a tool

Pydantic AI

Typed Python SDK for building agents with swappable model providers, plus optional capabilities for memory, sub-agents, planning and durable execution.

Harness by Pydantic

IndexedMIT★ 20,838
Write a review

Install

From the package registry. Read the repository before you give any tool access to your data.

pip install pydantic-ai

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pydantic AI is a Python SDK built around a typed agent loop where changing the model is a string swap. A separate Pydantic AI Harness adds capabilities such as memory, guardrails, sub-agents, planning, context management and persistence, up to a ready-made coding agent. Related packages cover evals and typed graph control flow, and instrumentation is plain OpenTelemetry with Logfire as the companion platform. The docs list many model providers and durable execution integrations such as Temporal, DBOS, Prefect and AWS Lambda.

Use cases: agent-orchestration

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
PythonREADME
Packages
pydantic-ai (pypi)README
Multi-agent
YesREADME
Orchestration
graphREADME
MCP support
Built inpydantic.dev
Memory
short-termpydantic.dev
Observability
OpenTelemetry, LogfireREADME
Deploys to
aws-lambda, temporal, dbos, prefect, restate, apache-airflowpydantic.dev
Model providers
openai, anthropic, google, aws-bedrock, azure-openai, cohere, deepseek, groq, huggingface, meta, mistral, ollama, xaipydantic.dev
Maturity
Stablegithub.com

Facts extracted by Claude Sonnet 5.5 from the linked sources on Oct 24, 2026; reviewed Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Compare and alternatives

Featured in

Signals

Stars
20,838
Forks
3,016
Open issues
1,035
Weekly downloads
1,516,568
Last commit
Oct 24, 2026 (2 days ago)
Last release
Oct 24, 2026 (3 days ago)
Last package publish
Oct 24, 2026 (3 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Packages
pypi pydantic-ai
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Pydantic

Cite this page

Pydantic AI. Agent Mart. https://agentmart.dev/harnesses/pydantic-ai (last updated 2026-10-24)