@openai/agents-core
0.22.0 · 13 Nov 2026MIT2.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @openai/agents-core From 0.19.0 to 0.22.0
3 releases in betweenevery note read
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
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.