OpenAI Launches the Agents API in Public Beta, Putting the Codex Harness Behind One API Call

2026年9月10日 21:21
站內 AI 整理稿

OpenAI has released the Agents API in public beta.It gives developers the same harness and infrastructure that run Codex.OpenAI hosts and maintains the harness.Developers run the agent’s compute in an OpenAI-managed sandbox, their own infrastructure, or a partner sandbox.Is it deployable?Yes.

It is live for all developers in public beta.Data stays US-only, and Zero Data Retention is unsupported.What OpenAI Shipped The Agents API is a managed service built on the open-source Codex harness.OpenAI team states scaling Codex and ChatGPT for Work showed what long-running agents need.

They need a harness that manages context, uses tools efficiently, and coordinates subagents.They also need infrastructure that keeps them running reliably for days.The official docs organize the API around 4 concepts: Agent: the model, instructions, tools, and MCP servers available to it.

Environment: an optional sandbox where the agent accesses files, loads skills, and runs commands.Session: a durable agent instance that works on tasks and responds to input.Events and items: the inputs sent to the agent and the output it produces.A session runs in 4 steps.

You create it and give it a task.Then you follow progress through streaming or webhooks.Finally, you continue with a new task or steer the current turn.

One API Call OpenAI’s announcement shows an incident-investigation agent created in a single call: Copy CodeCopiedUse a different Browserimport OpenAI from "openai"; const client = new OpenAI(); const session = await client.beta.agents.sessions.

create({ agent: { model: "gpt-6-astra", tools: [ { type: "mcp", serverlabel: "observability", transport: { type: "http", serverurl: "https://observability.example.

com/mcp", }, }, ], multiagent: { enabled: true, maxconcurrentsubagents: 3 }, }, vaultids: ["vaultYOURVAULTID"], environment: { type: "openaihosted", capability_directories: ["/workspace/capabilities/skills"], }, input: "Investigate service-api's elevated 5xx rate over the last 30 minutes.

" + "Delegate deployment, error, and dependency analysis to subagents." + "Save findings, evidence, and recommended mitigation in /workspace/outputs.", }); The quickstart covers API key permissions and SDK setup.Where the Agent Runs Environment choice is the main architectural decision.

The Agents API supports 3 sandbox options, and it can also run without a sandbox.OpenAI-hosted sandbox: uses the sandboxing infrastructure behind Codex and ChatGPT.You can configure it with files, packages, skills, and plugins.Self-hosted: you run codex exec-server inside your environment.

It registers with a restricted key and connects over WebSocket.All connections are outbound.Partner sandboxes: Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, and Vercel have first-class integrations.(function(){var f=document.getElementById("mtp-aa-frame");window.

addEventListener("message",function(e){if(e.source!==f.contentWindow)return;var d=e.data;if(d&&d.type==="mtp-aa-resize"&&d.h>100){f.style.height=d.h+"px";}});})(); What the Harness Handles OpenAI maintains the harness alongside its models, with versioned access at each model launch.

Long sessions: The API automatically compacts earlier context as a session nears its limit.Developers do not write their own compaction logic.Efficient tool use: Tool search loads tool definitions only when needed.This reduces token usage and cost while preserving the model’s cache.

Programmatic tool calling lets agents run calls in parallel and chain operations.Agents filter or combine results in code, so only relevant data returns into context.Supported tools include MCP, custom functions, and built-in tools like web search.

Subagents: With multi-agent support, the main agent splits complex tasks into independent pieces.Each subagent keeps its own context.The main agent coordinates them and combines the results.

Agents API vs Agents SDK vs Responses API OpenAI’s runtime comparison positions the 3 options this way: Agents APIAgents SDKResponses APIWhere the agent runsOpenAI runs a managed Codex harnessInside your applicationYour application, with optional hosted orchestrationIntegration effortLowMediumHighState between tasksSaved session configuration, turns, and itemsYour storage and SDK sessionsManual history, response chaining, or ConversationsExecution environmentOpenAI-hosted, self-hosted, or no sandboxYour runtime and sandbox providersYour own environment Early Customer Results OpenAI published these customer-reported numbers.

They are vendor-supplied, not independent benchmarks.Ciridae: evaluation score rose from 0.71 to 0.85, with a 4x latency reduction on subagent flows.SafetyKit: 60% lower cost per case after migrating its case review workflow.

Hypha: 86% fewer failed agent responses after separating the harness from the sandbox.Nash.ai: runs thousands of long-running agents across global logistics networks.Key Takeaways OpenAI’s Agents API exposes the managed Codex harness as a public beta API.

Agents run in OpenAI-hosted, self-hosted, or 9 partner sandboxes.Compaction, tool search, programmatic tool calling, and subagents come built in.There is no extra fee; you pay for tokens, tools, and container time.US-only data residency and no ZDR limit regulated workloads for now.

Check out the Technical details.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post OpenAI Launches the Agents API in Public Beta, Putting the Codex Harness Behind One API Call appeared first on MarkTechPost.

Related

相關文章

智東西生成式AI

英特爾與騰訊發佈基於至強6+的雲實例,曬智能體AI基礎設施全家桶

作者 | ZeR0 編輯 | 漠影 11月3日報道,近日,在2026騰訊全球數字生態大會上,英特爾與騰訊雲發佈基於英特爾至強6+處理器的騰訊雲新一代雲實例,並全面展示英特爾的芯片產品與雲端實踐。 全新至強6+處理器擁有最高288顆能效核,單顆處理器最高可支持超過1000個智能體的穩定部署,這也為騰訊雲服務器提供更高併發、更低時延、更優能效的雲端算力服務。

2 小時前
雷峰網生成式AI

智元榮獲2026世界互聯網大會傑出貢獻獎

11月3日,2026年世界互聯網大會烏鎮峰會在浙江烏鎮隆重開幕,國務院總理李強出席開幕式並發表主旨演講。開幕式上,智元憑藉在具身智能領域的系統性技術突破與產業化實踐,獲頒世界互聯網大會傑出貢獻獎。智元合夥人、高級副總裁朱潔在領獎時表示:人工智能的終局,不在於屏幕與雲端,而紮根於工廠一線和尋常煙火。具身智能賽道的競爭,早已跳出單點技術的競速,轉向軟硬協同、工程化落地、產業組織與治理體系的綜合比拼。智元期待與各界同心同行,堅守務實,躬身落地。

2 小時前

電動車退燒、AI 儲能燒起來:LG 新能源把產能挪向數據中心

11 月 3 日,首席財務官李昌植在財報電話會上給出時間表:今年底軟包儲能系統(ESS)產能將超 50 吉瓦時,明年進一步拉到 70 GWh 以上。在他看來,電動車增速放緩之際,AI 數據中心的大規模新建為電池廠撕開了新口子——第三季度 ESS 在手訂單已達 160 GWh,公司正與電力企業、超大型數據中心運營商談新項目,今年 9 月還作為儲能供應商擠進了英偉達的 DSX Ready 計劃。

3 小時前4700
雷峰網生成式AI

最高288核的至強6+,為了Agent高密度部署還下了哪些「雲功夫」?

作者 | 陳悅琳編輯 | 包永剛 一個智能體能順利完成任務,不代表成百上千個智能體就能同時高效運行。 對於承載大量智能體任務的雲服務器而言,除了提升計算速度,如何在任務集中到來時迅速準備好執行環境、怎樣減少暫時閒置的任務對內存資源的佔用,也成為亟待解決的問題。 對此,在一年一度的騰訊全球數字生態大會上,英特爾與騰訊雲聯合發佈了基於至強6+處理器的新一代雲實例,圍繞任務啟動效率、內存資源利用率等關鍵因素進行優化後,其綜合性能較上一代提升30%以上。

3 小時前

聯合國副秘書長點贊!千問AI耳夾式耳機亮相烏鎮互聯網大會

他認為,產品非常實用,適合自己日常工作中需要使用多國語言進行交流的場景。面對面交流時,用戶可以通過耳機收聽譯文;會議中的討論內容,也能通過AI聽記整理為結構化紀要,方便會後回顧。連接千問App後,用戶還可通過語音交辦資料研究等任務、接收完成提醒,讓耳機成為日常辦公的隨身助手。

4 小時前