pydantic-ai
PydanticAI by Pydantic
AI Agent Framework, the Pydantic way
pip install "pydantic-ai==2.61.0"PydanticAI (pydantic-ai) is currently at v2.61.0 on PYPI (published 2026-10-24), with a 90-day stability score of 70/100 (C+) and HIGH schema drift risk across 56 releases in the past 90 days. v2.x replaces result_type with output_type on Agent(), and renames result.data to result.output across all run methods. Production teams should pin pip install "pydantic-ai==2.61.0" rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
v2.x replaces result_type with output_type on Agent(), and renames result.data to result.output across all run methods.
AgentRunContextMCPServerStdioMCPServerStreamableHTTPagent = Agent("openai:gpt-4o", result_type=MyModel)
result = await agent.run("hello")
print(result.data)agent = Agent("openai:gpt-5", output_type=MyModel)
result = await agent.run("hello")
print(result.output)Frequently Asked Questions: pydantic-ai
What is the latest version of pydantic-ai on PYPI?
As of 2026-10-24, the latest stable version of pydantic-ai (PydanticAI by Pydantic) on PYPI is v2.61.0, published on 2026-10-24. It has shipped 56 releases in the last 90 days.
Does pydantic-ai v2.61.0 have breaking changes or MCP schema drift risk?
pydantic-ai currently carries a HIGH schema drift risk rating with a Stability Score of 70/100 (Grade C+). v2.x replaces result_type with output_type on Agent(), and renames result.data to result.output across all run methods.
How do I safely pin pydantic-ai in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `pip install "pydantic-ai==2.61.0"` and monitor Agent, RunContext, MCPServerStdio, MCPServerStreamableHTTP for parameter or schema changes.
Get Instant Breaking-Change Alerts for pydantic-ai
We poll PYPI and pydantic/pydantic-ai every 30 minutes. Get an email with the exact diff when pydantic-ai ships a breaking release beyond v2.61.0.
Recent PYPI Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)