Open sourcePython · ≈21k stars · MIT
Pydantic AI
Type-safe agent development for Python.
Pydantic AI brings the type-safety and validation of Pydantic to agents — typed tools, structured outputs, dependency injection and graph-based control flow, from the team behind the most-used data validation library in Python.
What the community says
User reports from Hacker News, Reddit, GitHub and reviews, as of Oct 29, 2026. Not our verdict.
Pros people report
- Strikes a balance between control and abstraction; validation and dependency injection are standout features.Hacker News
- Simple and reliable without fighting abstractions; some call it the only framework worth using in production.Reddit (archived snapshot) 1Reddit (archived snapshot) 2
- Small, typed, readable agent loop; easier to understand than LangChain internals.Reddit (archived snapshot)
- Makes building any given agent easy; works well with Langfuse.Hacker News 1Hacker News 2
- Agent loop compared favourably with DSPy's.Hacker News
Cons people report
- Lower-level APIs are painful to use (maintainers acknowledge it).Hacker News
- A user hit provider streaming gaps that took months to fix and moved to LiteLLM (a maintainer says streaming now covers major providers).Hacker News 1Hacker News 2
- Multi-agent handoffs and parallel graph execution were top feature requests.GitHub issue pydantic/pydantic-ai#1978GitHub issue pydantic/pydantic-ai#704
- Best for
- Python teams that want type-safe, provider-neutral agents with a thin loop.
- Watch out for
- Multi-agent orchestration is lighter than graph frameworks; many pair it with LangGraph.
Adopting an open-source harness? Read the best-practices guide.
Activity
- Last push
- · today
- Latest release
- v2.71.0
· 2d ago - Last 90 days
- 20+ releases
v2.71.0v2.71.0 (2026-11-18)
· 2d agoWhat's Changed ⚠️ Compatibility Notes Let Peers(network) join an InMemoryPeerNetwork under the agent's name, and rename PeerNetwork to PeerConnection by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/13777 Add StavProvider for the Stav European inference gateway by…
v2.70.0v2.70.0 (2026-11-17)
· 4d agoWhat's Changed 🛡️ Security GHSA-m4cr-m4qc-9hh3 (high): With strip_ansi=True, Pydantic AI Harness's ToolOutputLimits capability removed ANSI escape sequences with a pattern that took time quadratic in the length of a line, so a tool result of a few hundred kilobytes with many…
v2.69.0v2.69.0 (2026-11-16)
· 4d agoWhat's Changed ⚠️ Compatibility Notes Fold RequestInput into HandleDeferredToolCalls, whose handler can take a resume token by @DouweM in https://github.com/pydantic/pydantic-ai/pull/13285 Support Gemini 4 Hydrogen (gemini-4-hydrogen) on GoogleModel by @dsfaccini in…
v2.68.0v2.68.0 (2026-11-11)
· 9d agoWhat's Changed ⚠️ Compatibility Notes Note text that looks like an application frame in user and tool content instead of escaping it by @DouweM in https://github.com/pydantic/pydantic-ai/pull/11813 Add OutputTokenLimitExceeded, and fall back to the next model in ModelFallback…
v2.67.0v2.67.0 (2026-11-10)
· 11d agoWhat's Changed ⚠️ Compatibility Notes Support SubAgents(dynamic_agents=...) under durable execution by @mpfaffenberger in https://github.com/pydantic/pydantic-ai/pull/12418 Strip every default-ignorable character before ArtifactScanner phrase matching and flag hidden variation…
Checked against GitHub on Nov 21, 2026. Release notes are shortened to plain text.
The team behind it
Type-safe Python infrastructure — now including agents.
Pydantic builds the data-validation library underlying most of the Python AI ecosystem, plus Logfire (observability) and Pydantic AI (typed agent framework) — the type-safety layer of the harness.
In research (1)
- GEAR: Feature-Based Configuration and Code Generation for Agentic SystemsVerdict: Incremental
Oct 26, 2026 · Target framework with the lowest coverage (23 of 32).
Neighbours on the workbench
TypeScript · ≈395k stars · MIT
openclaw/openclaw
The viral open-source personal AI assistant that really does things.
Maintained by OpenClaw Foundation
v2026.11.6releasedShell · ≈329k stars · MIT
mattpocock/skills
Small, composable agent skills for real engineering work.
Maintained by Matt Pocock (AI Hero)
MDX · ≈323k stars · MIT
obra/superpowers
An agentic skills framework and software methodology that works.
Maintained by Jesse Vincent (obra)
Connections
Relations from the Harness Hub knowledge graph, as charted in the State of Harness reports.
