Packages

@openai/agents

0.22.0 · 12 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed

Your version

0.10.0

7 May 2026Where it was published

0.22.0 is the newest release of 0.10.x.

In short

5 new1 fixed3 internal

Release note

Key Changes

Default model change

In this version, the SDK default model is now gpt-5.4-mini instead of gpt-4.1. This could affect agents and runs that do not explicitly set a model. Because the new default is a GPT-5 model, implicit default model settings now include GPT-5 defaults such as reasoning.effort="none" and verbosity="low".

The new default model should work better for most use cases (see the report at #1248), but if you need to keep the previous default model behavior for some reasons, set a model explicitly on the agent or run config or set the OPENAI_DEFAULT_MODEL environment variable.

maxTurns configuration

This version adds a new option maxTurns=null to disable the Agents SDK run turn limit while preserving the existing default of DEFAULT_MAX_TURNS (10) when maxTurns is omitted.

Tool execution concurrency

This version adds a new SDK-side runtime configuration for local function tool execution concurrency: toolExecution.maxFunctionToolConcurrency on RunConfig, preserves default behavior when unset. The change keeps provider-side ModelSettings.parallelToolCalls separate from SDK-side local execution scheduling.

Server-prefixed MCP tool naming

This version adds a new option MCPConfigin Agent to align with the Python SDK. When Its includeServerInToolNames is set to true, the SDK includes the MCP server name in the tool name to prevent tool name conflicts with other MCP servers.

What's Changed

  • Switch the default model to a newer mini model (affecting only when a model is unset)

  • Allow maxTurns null to disable turn limits

  • Accept manifest init shorthands in sandbox configuration

  • Add function tool concurrency config

  • Align local MCP config with the Python SDK

  • Reject external symlink targets during Cloudflare workspace hydrate

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.