@openai/agents-core
0.22.0 · 13 Nov 2026MIT2.7M / weekRepositoryHomepagenpmAtom feed
Latest releases
All 106 releases- 0.22.x · latest line
0.22.0
13 Nov 2026Preserve bounded JSON usage metadata and reuse OpenAI wire types; breaking types require narrowing usage details, Realtime image content, nullable MCP descriptions, unknown schemas/tracing metadata, and optional transcription breakdowns; saved states retain schema 1.23 when compatible and use 1.24 for richer metadata or newer nested runs.
Refresh compatible SDK, toolchain, and example dependencies
Materialize resources added to running Docker sessions inside the container with the sandbox user's permissions and enforce resource copy limits.
Minor Changes
Preserve bounded JSON usage metadata and reuse OpenAI wire types; breaking types require narrowing usage details, Realtime image content, nullable MCP descriptions, unknown schemas/tracing metadata, and optional transcription breakdowns; saved states retain schema 1.23 when compatible and use 1.24 for richer metadata or newer nested runs.
Patch Changes
Refresh compatible SDK, toolchain, and example dependencies
Materialize resources added to running Docker sessions inside the container with the sandbox user's permissions and enforce resource copy limits.
Expose MCP discovery annotations on converted function tools for application use.
session: Defer automatic Responses compaction for pending tool approvals
Allow sandbox clients to prepare manifest environments in their execution context (#2077).
agents-core: Resume guarded terminal tool runs after a nested approval.
sandbox: Validate workspace archives before replacing existing files
openai: Default reasoning effort to
nonefor function tools and handoffs on the OpenAI Chat Completions API withgpt-6-solandgpt-6-luna, matching openai/openai-agents-python#5420.Remove retry advice from the default tool error message (openai/openai-agents-python#5632)
tracing: Expose offered Chat Completions tool definitions on generation spans when sensitive data capture is enabled. Custom processors and custom export destinations can inspect the definitions. Hosted OpenAI trace exports omit them.
core: Allow source agents to recover from handoff invocation errors (openai/openai-agents-python#5418)
Reject unfinished official Chat Completions streams and describe missing stream completion (openai/openai-agents-python#5211, openai/openai-agents-python#5457).
Preserve edited files during case-only moves in the UnixLocal sandbox
Update Zod to 4.6.6 while preserving saved guardrail checkpoints with omitted metadata.
- 0.21.x · maintenance
0.21.0
20 Oct 2026Preserve bounded nested numeric token usage breakdowns across streamed runs, usage accounting, and saved run state (schema 1.23, with backward reads of earlier snapshots; #2082); usage detail values now require narrowing to numbers before arithmetic.
Remove the Runloop sandbox provider and its public API; see the migration guide for supported alternatives.
Recognize GPT-6 Astra, Sol, Luna, and GPT-6.1 Sol in sandbox dynamic compaction thresholds (#2068).
- 0.20.x · maintenance
0.20.0
8 Oct 2026Default automatic MCP tool discovery to 64 pages; set maxListPages explicitly for larger listings
Require trusted Python 3 for UnixLocal file operations and reject disabled protection. Honor
runAsfor file tools and replace edited files without modifying other hardlinks. Updates now require writable parent directories and preserve ordinary permissions and ownership.Count model calls after approval resumes toward maxTurns; callers needing a follow-up model response at the limit must increase maxTurns.
Minor Changes
Default automatic MCP tool discovery to 64 pages; set maxListPages explicitly for larger listings
Require trusted Python 3 for UnixLocal file operations and reject disabled protection. Honor
runAsfor file tools and replace edited files without modifying other hardlinks. Updates now require writable parent directories and preserve ordinary permissions and ownership.Count model calls after approval resumes toward maxTurns; callers needing a follow-up model response at the limit must increase maxTurns.
Patch Changes
Redact unchecked terminal tool output in cancelled session checkpoints while preserving completion history; defer validation for caller-owned RunState resumes
Preserve hosted MCP discovery provenance across tool identity collisions and session reuse; older namespace-only history requires rediscovery.
Recognize namespace-shaped tool search discovery for deferred hosted MCP calls (#2044).
Preserve computer tool initializers and serialize each run's resolved computer across overlapping runs.
Warn when computer calls have pending safety checks without an onSafetyCheck handler, and clarify the callback's opt-in behavior.
Bound streamable HTTP session termination by the client session timeout and cancel stalled cleanup requests.
Preserve sticky permission bits through manifest normalization and local and remote materialization, and reapply manifest sticky intent to restored Unix-local and Docker snapshot directories
Dependency tracking
Know when your own dependencies move
@openai/agents-core published 73 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.
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.