Packages

@openai/agents-core

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

Your version

0.21.0

20 Oct 2026Where it was published

0.22.0 is the newest release of 0.21.x.

In short

1 new2 fixed

Release note

Minor Changes

  • 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.

  • Remove the Runloop sandbox provider and its public API; see the migration guide for supported alternatives.

Patch Changes

  • 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.