Packages

@openai/agents-core

0.22.0 · 13 Nov 2026MIT2.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @openai/agents-core From 0.20.0 to 0.22.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.20.0yours
  2. 0.21.0major
  3. 0.22.0target
0
changes to make
0
advisories fixed
4
new
14
fixes

Start here

Release by release

  1. 0.22.0

    13 Nov 20263 new · 12 fixes
    • 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.

  2. 0.21.0

    20 Oct 20261 new · 2 fixes
    • 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).

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.