# Pydantic AI v2.74.0 adds computer use support across sandboxes and models

published: 2026-11-24T22:05:32.411Z
topic: frameworks
source: https://github.com/pydantic/pydantic-ai/releases/tag/v2.74.0
url: https://aiagentnews.io/stories/pydantic-ai-v2-74-0-adds-computer-use-support-across-sandboxes-and-models

Pydantic AI released v2.74.0, which adds a core computer tool contract and desktop support for computer use across several sandbox providers. The release also changes how GPT-6.2 instructions and Gemini streaming usage totals are handled, so some existing code may behave differently.

The release adds pydantic_ai.computer_use and a ComputerTool class to core, along with a ComputerUse() capability and the Display protocols it drives. Desktop support for computer use now covers sandboxes including Docker, Daytona, E2B, Modal, Kubernetes and OpenSandbox. OpenAI, Anthropic and Google models receive the computer tool in their own native computer use formats.

Two compatibility changes could affect existing code. Continuing a GPT-6.2 response through an explicit openai_previous_response_id without its message_history now inherits that response's static instructions. Streaming a gemini* model through OpenAIProvider now reports the endpoint's final usage totals instead of their sum, so cost figures drop and UsageLimits token limits trip later.

Other changes include a DeprecatedModelWarning for requests to claude-opus-4-5 and a fix that classifies OpenRouter context-window overflow as ModelContextWindowExceededError. Bug fixes also keep custom identifiers on BinaryContent and FileUrl across VercelAIAdapter round trips.

## Why it matters if you build agents

Teams using GPT-6.2 or Gemini through pydantic-ai should check their instruction handling and usage accounting before upgrading, since cost figures and token limits can change. ComputerTool is now listed in NATIVE_TOOLS_REQUIRING_CONFIG, so computer use calls need that tool configured to run. Agent builders who need computer use can now pick from several sandbox providers that support desktop mode.
