Source: github.com/pydantic/pydantic-ai/releases/tag/v2.76.0
The release lets realtime sessions reveal tools mid-session on models whose profile sets supports_tool_updates, using the new UpdateTools input. RealtimeInput gains UpdateTools, and DEFAULT_REALTIME_PROFILE sets supports_tool_updates to False, so existing connections do not receive the update.
Some changes affect existing code. Requests to gemini-2.5-pro and gemini-2.5-flash through GoogleModel or GoogleInteractionsModel now emit a DeprecatedModelWarning, which fails code that treats warnings as errors. FileSystemToolset.read_file offsets are now 1-indexed, so a Python call with offset=N starts one line earlier, and offset=0 now raises.
Other additions include /computer-use desktop sandboxes in Pax, word and line selection on double- and triple-click, and a Google SDK installed by default with the Pax extras. A fix keeps every message a run adds in result.conversation when a capability trims history mid-run.
Why it matters if you build agents
If your code handles every RealtimeInput type with assert_never, you need to handle or reject UpdateTools, or type checking will fail.
Projects that run with warnings as errors will fail on Gemini 2.5 Pro and Flash requests until they switch models or filter the warning. Calls to read_file with an explicit offset need N + 1 instead of N.
Get stories like this every weekday
One short email with the day's agent tooling news.