Agent 基础设施官方发布自动监测

OpenAI Agents SDK JavaScript v0.22.0-alpha.2

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.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

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.

Agent 解析

可执行摘要

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.

Agent 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • 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'.
分类

标签与路由

openaiagents-sdktypescript
相关信号

继续阅读