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

Agents SDK v1.0.0-alpha.2

OpenAI released Agents SDK v1.0.0-alpha.2, adding cross-worker session resumption, pending approval recovery for Codex commands/patches, tool execution lifecycle hooks, and opt-in text redaction and detailed tracing.

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

人类阅读

为什么值得关注

The preview release v1.0.0-alpha.2 bundles openai-agents and the native Codex runtime for CPython 3.10–3.14 via platform-specific wheels. It updates state schemas: alpha.2 reads alpha.1 RunState schema 1.22 but writes schema 1.24, which cannot be read by alpha.1, requiring checkpoint readers to be upgraded before writers. Key features include cross-worker session and approval resumption via ResumableSession (or RedisSessionStore), recovery of native Codex exec and patch approvals, and ToolExecutionConfig hooks for modifying tool input, output, and function declarations. Additionally, it offers synchronous text redaction callbacks and configurable tracing levels (metadata vs. content) with sensitive data suppression flags.

Agent 解析

可执行摘要

OpenAI Agents SDK v1.0.0-alpha.2 introduces breaking changes to state schemas (writes schema 1.24; session checkpoints use version 2). It adds ResumableSession for cross-worker state resumption, recovers native Codex approvals, adds ToolExecutionConfig hooks (prepare tool input, prepare tool output, prepare tool declaration), and enables text redaction and configurable tracing.

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

开发者应核对什么

  • Upgrade checkpoint readers to v1.0.0-alpha.2 before writers due to the RunState schema 1.24 and ResumableSession version 2 breaking format updates.
  • Verify downloaded wheels against official SHA-256 hashes during installation for supported OS/architecture targets.
  • When using native Codex recovery, ensure identical workspace paths, permissions, and required tool hooks are restored on replacement workers.
  • Set RunConfig(trace include sensitive data=False) or RunConfig(tracing disabled=True) if tracing native Codex operations to prevent unintentional exposure of file contents or sensitive payloads.
分类

标签与路由

openaiagents-sdkpython
相关信号

继续阅读