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
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.
About
Use cases: agent-orchestration
Reviews
Write a reviewNo 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.
- 0.771score
Ax
Ax
DSPy-style toolkit for typed LLM signatures, agents and flows, TypeScript-first with Python, Java, C++, Go and Rust libraries.
HarnessAFreshness: A★ 3K↓ 27.2K/wk - 0.748score
LangGraph
LangChain
Low-level Python orchestration framework for long-running stateful agents, with durable execution, human review points and short- and long-term memory.
HarnessAFreshness: A★ 43.8K↓ 13.1M/wk - 0.734score
Google Agent Development Kit (ADK)
Google
Open-source toolkit for building, evaluating and deploying agents in Python, TypeScript, Go, Java and Kotlin, tuned for Gemini but model-agnostic.
HarnessAFreshness: A★ 22K↓ 2.4M/wk - 0.642score
Swarms
Swarms
Python framework for orchestrating multiple LLM agents in sequential, concurrent, hierarchical and graph-based workflows.
HarnessAFreshness: A★ 7.3K↓ 3.3K/wk - 0.607score
Microsoft Agent Framework
Microsoft
Open framework for building and hosting production-grade AI agents and multi-agent workflows in .NET and Python.
HarnessAFreshness: A★ 14.3K↓ 47.6K/wk
Compare and alternatives
- Alternatives to Pydantic AI →
- Google Agent Development Kit (ADK) vs Pydantic AI
- Ax vs Pydantic AI
- Microsoft Agent Framework vs Pydantic AI
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
- Repository
- github.com/pydantic/pydantic-ai
- Website
- ai.pydantic.dev/
- Docs
- ai.pydantic.dev/
- 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)