OpenAI 发布 Agents API 公开测试版
原标题:OpenAI's new Agents API gives developers the infrastructure behind Codex and ChatGPT
AI 摘要
OpenAI 发布 Agents API 公开测试版,允许开发者构建可运行数小时、执行代码并处理文件的云端智能体,其底层基础设施与 Codex 和 ChatGPT 相同。该 API 具备自动上下文管理、并行工具调用和子智能体任务委派等能力,开发者可选择 OpenAI 托管沙箱或 Cloudflare、Vercel、Oracle 等合作方,且不额外收费,仅按 token 用量计费。它基于开源 Codex harness 构建,支持 MCP、自定义函数和网页搜索等内置工具。
正文节选
OpenAI's new Agents API gives developers the infrastructure behind Codex and ChatGPT OpenAI has released the Agents API as a public beta. It lets developers build cloud-based agents that run for hours, execute code, and process files. The API runs on the same infrastructure that powers Codex and ChatGPT. Key features include automatic context management, parallel tool use, and the ability to delegate tasks to sub-agents. Developers can choose between OpenAI-hosted sandboxes or partners like Clou