@openai/agents-core
0.22.0 · 13 Nov 2026MIT2.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @openai/agents-core From 0.4.12 to 0.22.0
54 releases in betweennotes for 7
Reading releases, release notes and advisories…
Start here
Release by release
- New
Expose MCP discovery annotations on converted function tools for application use.
- New
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.
- New
core: Allow source agents to recover from handoff invocation errors (openai/openai-agents-python#5418)
- Fixed
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.
- New
- New
Remove the Runloop sandbox provider and its public API; see the migration guide for supported alternatives.
- Fixed
Preserve 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.
- Fixed
Recognize GPT-6 Astra, Sol, Luna, and GPT-6.1 Sol in sandbox dynamic compaction thresholds (#2068).
- New
- Fixed
Default automatic MCP tool discovery to 64 pages; set maxListPages explicitly for larger listings
- Fixed
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. - Fixed
Count model calls after approval resumes toward maxTurns; callers needing a follow-up model response at the limit must increase maxTurns.
- Fixed
Redact unchecked terminal tool output in cancelled session checkpoints while preserving completion history; defer validation for caller-owned RunState resumes
- Fixed
- New
Add optional page limits for automatic MCP tool listing
- New
Allow configuring phase-two memory consolidation turns.
- Fixed
Bound agent tool streaming callbacks to 1024 pending events by default, with onStreamMaxPendingEvents to adjust the limit or restore unlimited buffering with null.
- Fixed
Reject started checkpoints without completed initial input validation, including older snapshots without completion evidence; restart with the original input and context.
- New
- New
Support the image generation tool action option
- Fixed
core: Avoid redundant final computer screenshots
- Fixed
core: Recover deferred tools during response continuation
- Fixed
sandbox: Harden UnixLocal file I/O and route Docker file APIs through containers
- Fixed
sandbox: Preserve sandbox workdirs for shell command lists
- Fixed
realtime: Preserve agent_end response ownership
- New
- Fixed
Preserve model settings for GPT-5 and newer models
- Fixed
- New
Add server-wide MCP tool guardrails
- New
Allow custom output guardrail blocked messages
- New
sandbox: Allow labels on Docker sandbox containers
- New
Support image results in web search tools
- New
0.4.13 – 0.17.047 releases, no release note
20 internal lines (docs, tests, tooling) left out.
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.