Pydantic releases pydantic-ai 2.76 with Google Interactions support and realtime tool updates
pydantic-ai 2.76 is a release of Pydantic's Python agent framework. It adds a stateless GoogleInteractionsModel, mid-session tool updates for realtime sessions, and desktop sandboxes in Pax. It also includes several breaking changes, such as a 1-indexed read_file offset and deprecation warnings for two Gemini 2.5 models.
Quick facts
| Maker | Pydantic |
|---|---|
| Version | v2.76.0 |
| Release date | 2026-11-26 |
| New model class | GoogleInteractionsModel (stateless) |
| Deprecation warning | gemini-2.5-pro and gemini-2.5-flash |
| Contributors | DouweM, dsfaccini, adtyavrdhn |
What it is
pydantic-ai is Pydantic's Python framework for building AI agents. Version 2.76 extends model provider support, realtime sessions, and the Pax tooling. It also changes some behavior that existing apps may need to adapt to.
How it works
Realtime sessions can send UpdateTools to reveal tools mid-session on models whose profile sets supports_tool_updates. CodeMode gains an allow_final_output option so sandboxed code can submit the run's output. Per-tool ui_visibility lets UI adapters keep tool results from the client, and result.conversation now keeps every message a run adds even when a capability trims the history.
