Pydantic AI 2.70.0 released
A major release fixing two high-severity ReDoS vulnerabilities and adding numerous features across models, capabilities, and durability.
What changed in 2.70.0
- Fixed regex backtracking vulnerabilities in ANSI stripping and JWT secret redaction that could freeze the event loop on large inputs.
- Added support for new OpenAI models and improved reasoning handling across Claude, Groq, HuggingFace and other providers.
- New capabilities: StreamGuardrail for screening streamed output, PruneToolResults for summarizing tool results, RetryOnModelErrors for transient failures, and CapabilityPart for voice.
- Enhanced Skills to read bundled files with variable substitution, SpendLimits Budget to resolve per-scope, and PostgresMemoryStore indexing.
- Improved durable execution on Azure and Lambda with retry_after support, file media type validation, and RepoContext directory filtering.
Summarised by AgentGid from Pydantic's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Pydantic AI at a glance
| What it is | A Python agent framework from the Pydantic team, built around type-safe structured outputs, dependency injection and model-agnostic tool calling. |
|---|---|
| Latest version | 2.71.0, Nov 19, 2026. This page is about an earlier release. |
| Release pace | 15 stable releases in the last 30 days; 2.70.0 came the same day as the previous one |
| Price | Free (OSS). Pydantic AI is open source and free to use; you pay only for the models and infrastructure it runs on. (checked Nov 4, 2026) |
| Downloads, last 7 days | 1.6M up 1.1% |
| Gid Score | 53 #15 in Agent frameworks and SDKs |