最新资讯
dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围 dev.to 银行 77 意图分类最便宜 LLM:GPT-6.1 Terra 每次成功任务 $0.000727 theinformation.com Chesky的副业:Airbnb向CEO新设AI实验室出售IP theverge.com OpenAI 宣布数据中心项目不再与公职人员签署保密协议 dev.to NVIDIA 发布四个开放 Cosmos 3 仿真模型 dev.to 真实 MCP 客户端击穿我们服务器的五种方式 theverge.com Airbnb 正在开发 AI 旅行 agent,计划 2027 年上半年推出 wechat 这可能是美国AI最魔幻的一天。 nytimes.com 美众议院共和党领袖要求 Nvidia 黄仁勋闭门简报 pub.towardsai.net 忘掉我:为记忆而设计的系统中的删除难题 marktechpost.com Google 发布 Gemini Omni 1.2 Flash:15 秒视频,每秒 0.07 美元
多元动态
登录 注册
智能体 openai.com ·

OpenAI 推出 Agents API 公测:复用 Codex 的 agent harness 与托管基础设施

原文 我的收藏

OpenAI 发布 Agents API 公测,将驱动 Codex 的 agent harness 与基础设施开放给开发者。开发者可通过单次 API 调用指定任务、模型、工具与环境来创建生产级 agent,支持 MCP 工具、多子 agent 并发,并可选择 OpenAI 托管沙箱、自有基础设施或合作方沙箱。官方引用 Ciridae CTO 称评估分从 0.71 升至 0.85、延迟降低 4 倍。

AI推荐理由 OpenAI 官方发布 Agents API 公测,提供与 Codex 同源的 agent harness 与托管基础设施,支持单次 API 调用创建生产级 agent、MCP 工具接入、多子 agent 并发(示例 max_concurrent_subagents: 3)以及 OpenAI 托管沙箱/自有基础设施/沙箱合作方三种环境选择。正文含可验证的 API 代码示例与客户 Ciridae CTO 的量化反馈(评估分 0.71→0.85、延迟降低 4 倍),信息密度高、来源为官方首发。局限:客户数据为厂商引用,未经独立验证;正文未给出定价、配额与正式 GA 时间。

88

正文

September 10, 2026 ProductAPI Introducing the Agents API Build and run cloud agents with the Codex harness, fully managed by OpenAI. Loading… Share As we’ve scaled Codex and ChatGPT for Work to millions of people around the world, we’ve learned what it takes to make long-running agents work well in practice. Useful agents need a powerful harness that manages context, uses tools efficiently, and coordinates subagents. They also need infrastructure that keeps them running reliably for days, with environments where they can work with files, run code, and save intermediate results. Today, we’re introducing the Agents API⁠(opens in a new window) in public beta, bringing that same harness and infrastructure that powers Codex to developers through a simple, flexible API. OpenAI hosts and maintains the harness. You choose the agent’s compute environment: in an OpenAI-managed sandbox, on your own infrastructure, or with one of our sandbox partners. The Agents API gives you a strong foundation for building agents on top of our optimized agent harness and infrastructure, so you can focus on the tools, knowledge, and workflows that make your agent unique. “With the Agents API, our evaluation score went from 0.71 to 0.85. The subagent support in the API is great and drastically sped up our workflow. Previously it was pretty cumbersome to observe and orchestrate subagents in our old setup but the new APIs gave us a 4x latency reduction. We spent a long time trying to optimize for this and the subagent flows were a huge out-of-the-box lift.”Jack Weissenberger, CTO, Ciridae Agents API powers your agents with the same harness and infrastructure behind Codex. Build cloud agents with a single API call With the Agents API, you can create a production-ready agent in a single API call by specifying the task, model, tools, and environment: JavaScript 1 import OpenAI from "openai"; 2 3 const client = new OpenAI(); 4 5 const session = await client.beta.agents.sessions.create({ 6 agent: { 7 model: "gpt-6-astra", 8 tools: [ 9 { 10 type: "mcp", 11 server_label: "observability", 12 transport: { 13 type: "http", 14 server_url: "https://observability.example.com/mcp", 15 }, 16 }, 17 ], 18 multi_agent: { enabled: true, max_concurrent_subagents: 3 }, 19 }, 20 vault_ids: ["vault_YOUR_VAULT_ID"], 21 environment: { 22 type: "openai_hosted", 23 capability_directories: ["/workspace/capabilities/skills"], 24 }, 25 input: 26 "Investigate service-api’s elevated 5xx rate over the last 30 minutes. " + 27 "Delegate deployment, error, and dependency analysis to subagents. " + 28 "Save findings, evidence, and recommended mitigation in /workspace/outputs.", 29 }); What our customers are saying about Agents API 1 of 7 “Transforming real-world businesses means deploying AI into workflows of every shape. Agents API supplies the harness; the environment, context, and UX stay ours. With our AI platform Nexus we now stand up agents in hours across industries, from residential services to architecture.”Rasmus Wissmann, CTO, Long Lake “The Agents API has enabled us to think differently about how we can architect complex, multi-step workflows. We used to write prompt chains and manage our own set of tool calls, but now we can use agents directly in our code much like how Codex works on your laptop. It’s already helped us solve several problems that would’ve otherwise required us to build custom agent infrastructure.”Cole Striler, Director of Engineering, WithCoverage “After migrating our case review workflow to the Agents API, we saw a 60% reduction in cost per case, lower latency, and significantly improved token efficiency while maintaining existing performance.”Bhavyansh Sabharwal, Member of Technical Staff, SafetyKit “What stood out in our testing was how naturally the Agents API handled bursty workloads. We could fan out work across hundreds of agents, run them asynchronously, and collect the results later, without keeping infrastructure idle between peaks.”Dmitry Khanukov, Co-founder & CTO, Dwelly “Earning customers’ trust is critical in financial services. OpenAI’s Agents API enables us to build more reliable agents, giving customers the confidence to use them in production. By separating the agent harness from the sandbox, we reduced failed agent responses by 86%.”Serhii Shchoholiev, Lead Engineer, Hypha “The Agents API handled the implementation, independent review, remediation, and real-browser validation in a real, active repository. Overall, the agent’s engineering quality was very strong.”Maks Operlejn, Senior ML Engineer, deepsense.ai “At Nash, we deploy thousands of long-running AI agents that manage hundreds of millions of deliveries across global logistics networks. OpenAI’s Agents API gives us the durable session and orchestration layer we need for agents operating continuously in production managing context, recovery, and multi-step execution, while Nash provides the tools and execution environment that connect them to the physical world. This lets our agents reason, act, recover, and collaborate across complex workflows that can span hours or days. These agents are production infrastructure running mission-critical logistics operations for our partners.”Aziz Alghunaim, Co-founder & CTO, Nash.ai Long Lake WithCoverage SafetyKit Dwelly Hypha deepsense.ai Nash.ai Choose your agent environment Different workloads need different compute, storage, and deployment options. The Agents API lets you choose a sandbox that fits your application. We’re partnering with ecosystem providers⁠(opens in a new window), including Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, and Vercel, to provide first-class integrations for a range of needs: Fully managed environments or deployments within your VPC Specific file and secret storage mechanisms Different CPU, GPU, and memory configurations, with performance, cold-start, and cost profiles to match your company’s workflow. The Agents API offers first-class integrations with popular ecosystem providers. OpenAI hosted sandboxes For developers who want to get started quickly and scale efficiently, we’re also introducing the OpenAI hosted sandbox⁠(opens in a new window). This leverages the same sandboxing infrastructure that powers Codex and ChatGPT. OpenAI provisions and manages the sandbox, giving your agent a secure and performant environment to run code, work with files, and produce artifacts. These sandboxes can be flexibly configured with your files, packages, skills and plugins to give the agent what it needs to complete the task. Build with an evolving Codex harness Taking advantage of new model capabilities often means reworking your harness, taking valuable time away from improving your application. The Agents API provides versioned access to these capabilities with each model launch. We maintain and continuously improve the harness alongside our models, helping your agents get better performance from every upgrade. For example, recent improvements to the harness include: Keep agents working across long sessions To support models working for hours, we’ve built context management that helps agents carry relevant information across longer sessions. The Agents API automatically compacts⁠(opens in a new window) earlier context as a session approaches its context limit, preserving information the agent needs to continue. Developers can build workflows that span multiple context windows without implementing their own compaction logic. Help agents efficiently use more tools The Agents API helps agents find the right tools and use them efficiently. Tool search⁠(opens in a new window) loads relevant tool definitions as needed, helping reduce token usage and cost while preserving the model’s cache. Once tools are available, programmatic tool calling⁠(opens in a new window) lets agents run calls in parallel, chain related operations, and filter or combine results in code so they can work through large volumes of data while bringing only the relevant results back into context. The Agents API supports MCP, custom functions, and built-in tools like web search. JSON 1 "agent": { 2 "tools": [ 3 { 4 "type": "mcp", 5 "server_label": "openai_docs", 6 "transport": { 7 "type": "http", 8 "server_url": "https://developers.openai.com/mcp" 9 } 10 }, 11 ] 12 } Let agents parallelize work with subagents With multi-agent support⁠(opens in a new window), the Agents API can break complex tasks into independent pieces and delegate them to subagents that work in parallel. Each subagent maintains its own context, helping it stay focused on its assignment, while the main agent coordinates their work and brings the results together. This can speed up research, analysis, and coding tasks that benefit from parallel work, without requiring you to build your own orchestration. JSON 1 "agent": { 2 "model": "gpt-6-astra", 3 "multi_agent": { 4 "enabled": true, 5 "max_concurrent_subagents": 3, 6 } 7 } Build on an open-source foundation The Agents API is powered by the open-source Codex harness, giving developers visibility into the core logic that coordinates model calls, tools, and context. With the Agents API, OpenAI operates and maintains that harness while developers can inspect and learn from its public codebase⁠(opens in a new window). Start building Agents API is available in public beta today to all developers. There are no additional fees for using the Agents API – you simply pay for the tokens and tools your agents use, as outlined on our pricing page⁠(opens in a new window). Explore the Agents API overview⁠(opens in a new window) to learn more, or follow the quickstart⁠(opens in a new window) to get started and bring the harness behind Codex into your own agents. During the public beta, we’ll iterate quickly based on your feedback as we work toward general availability. Let us know what’s working, where you’re running into friction, and what you need to build and run your agents in production. API Codex 2026 Author OpenAI Keep reading View all Now everyone can put data to work ProductSep 10, 2026 Introducing ChatGPT for Financial Services ProductSep 10, 2026 Build more natural voice experiences with GPT‑Live‑1 in the API ProductSep 10, 2026

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容