Agents SDK v0.24.0-alpha.8
OpenAI Agents SDK v0.24.0-alpha.8 introduces pre-execution Python tool call approvals, native Realtime voice connections (WebSocket, WebRTC, SIP), checkpoint resumption with budget tracking, custom model client adapters, and an ARM64 Linux wheel.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
The v0.24.0-alpha.8 release of the OpenAI Agents SDK Python preview brings significant capabilities around tool execution, model interoperability, and platform compatibility. Key additions include: - Managed Approvals: Python tool calls can now be reviewed, approved, or rejected before execution using FunctionToolApprovalRequest and FunctionToolApprovalDecision, with decisions optionally remembered per session. - Custom Model Clients: Native tool loops now support custom adapters, LiteLLM, AnyLLM, and async Responses/Chat Completions clients. - Realtime Voice: Sessions can incorporate native Realtime voice via server WebSocket, WebRTC, or SIP calls via agents.realtime.native. - Checkpoints & Budgets: Resuming saved checkpoints now retains pending tool requests, approvals, and previous token/request budget usage. - Platform Expansion: Added an ARM64 Linux wheel (glibc 2.28+). - Observability & Routing: Observe tool-search calls and MCP approvals with ModelOutputItemCompleted; manage prompt-cache routing affinity using TraceOptions.group id; native streaming HTTP can now negotiate HTTP/2. - Bug Fixes: Strict Python tools now return retryable errors to the model upon argument validation failure prior to approval or execution; enhanced validation rejects malformed web-starter payloads.
可执行摘要
Agents SDK v0.24.0-alpha.8 adds managed tool approvals via FunctionToolApprovalRequest, native Realtime voice sessions, custom model clients, checkpoint recovery with token budgets, tool-search observations via ModelOutputItemCompleted, and HTTP/2 support for native streaming.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to Agents SDK v0.24.0-alpha.8 if deploying on Linux ARM64 systems.
- Adopt agents.realtime.native for Realtime voice capabilities while migrating off agents.realtime classic imports.
- Implement FunctionToolApprovalRequest workflows if human-in-the-loop validation is required before executing tool calls.
- Verify compatibility if using streaming HTTP/2 negotiation or restoring checkpoints with spent token budgets.