最新资讯
dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归 dev.to 别再把 Agent 写成 while 循环,把它建模为状态机 bloomberg.com Rightmove 与 Scout24 借 AI 产品应对低迷房市并上调展望 stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者
多元动态
登录 注册
智能体 marktechpost.com · @Asif Razzaq

OpenAI 公测 Agents API,把 Codex harness 封装为一次 API 调用

原文 我的收藏

据报道,OpenAI 以公开测试形式发布 Agents API,向开发者提供运行 Codex 所用的同一套 harness 与基础设施,harness 由 OpenAI 托管维护;agent 计算可运行在 OpenAI 管理的沙箱、开发者自有基础设施或合作方沙箱中。该报道称已面向所有开发者开放公测,但未给出定价、调用限额与支持的模型范围,需以官方公告为准。

AI推荐理由 若属实,这是 OpenAI 将 Codex 所用 agent harness 以 API 形式开放,开发者可在 OpenAI 托管沙箱、自有基础设施或合作方沙箱中运行 agent 计算,对 Agent 开发工具链有直接影响。但正文仅为简短转述,缺少定价、限额、模型支持范围与官方链接等关键细节,需以 OpenAI 官方公告核实。

78

正文

Editors Pick Agentic AI AI Agents Technology AI Shorts Artificial Intelligence Applications For Devs New Releases Software Engineering Staff Tech News 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 Browser import OpenAI from "openai"; const client = new OpenAI(); const session = await client.beta.agents.sessions.create({ agent: { model: "gpt-6-astra", tools: [ { type: "mcp", server_label: "observability", transport: { type: "http", server_url: "https://observability.example.com/mcp", }, }, ], multi_agent: { enabled: true, max_concurrent_subagents: 3 }, }, vault_ids: ["vault_YOUR_VAULT_ID"], environment: { type: "openai_hosted", 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. 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

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

← 返回精选动态 原文

更多内容