# OpenAI Agents SDK JavaScript v0.22.0-alpha.2

Category: agent-infrastructure
Published: 2026-11-08T08:27:27Z
Source: [OpenAI Agents SDK JavaScript releases](https://github.com/openai/openai-agents-js/releases/tag/v0.22.0-alpha.2)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-12T22:17:49.578Z
Tags: openai, agents-sdk, typescript

## Human Summary
OpenAI Agents SDK for JavaScript v0.22.0-alpha.2 introduces native tools (fileSearch, codeInterpreter, imageGeneration), exact-step steering, session state recovery via SessionStore, and an A2A 1.0 adapter. It also shifts default executor write policies to 'strict' and removes experimental migration bridges.

## Agent Summary
OpenAI Agents SDK JS v0.22.0-alpha.2 adds native fileSearch, codeInterpreter, and imageGeneration tools; provides turn.steerExact() and RunBudget controls; adds A2A 1.0 JSON-RPC interoperability; defaults environment execution to writePolicy: 'strict'; and removes SDKRunner and @openai/agents/migration.

## Body
The v0.22.0-alpha.2 release of the OpenAI Agents SDK for JavaScript adds native implementations for fileSearch(), codeInterpreter() (with allowedCallers), and imageGeneration() with retained provider outputs and streamed progress. Active work execution can be controlled via turn.steerExact(), maxModelSteps, and optional RunBudgets based on tokens, root requests, and estimated cost. State persistence is introduced via application-managed SessionStore (and local fileSessionStore()), alongside support for A2A 1.0 agent interconnection via JSON-RPC polling. Major architectural changes include moving the native runtime into @openai/agents-codex, deprecating SDKRunner and @openai/agents/migration imports, and defaulting new environments to writePolicy: 'strict'. MCP resource and prompt inspection are also supported on idle Sessions.

## Recommended actions
- Upgrade all five bundled SDK packages in sync: @openai/agents, @openai/agents-codex, @openai/agents-core, @openai/agents-openai, and @openai/agents-realtime.
- Remove deprecated SDKRunner bridge and @openai/agents/migration imports; migrate to native Agent, Session, and Turn APIs or move legacy code to @openai/agents/classic.
- Review executor write policies: update older checkpoints with writePolicy: 'legacy' if needed to restore with an executor, or start a new conversation to adopt the new default writePolicy: 'strict'.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.