Close Menu
NCIJ Network NCIJ Network
    What's Hot

    The days of assuming another company’s breach is someone else’s problem are over

    October 27, 2026

    Energy Drilling lines up 30-month job to keep its rig busy through 2030

    October 27, 2026

    Admit it: the English love affair with European food has grown stale – we need a native cuisine we can be proud of | Lewis Bassett

    October 27, 2026
    Facebook X (Twitter) Instagram
    Trending
    • The days of assuming another company’s breach is someone else’s problem are over
    • Energy Drilling lines up 30-month job to keep its rig busy through 2030
    • Admit it: the English love affair with European food has grown stale – we need a native cuisine we can be proud of | Lewis Bassett
    • Video of people collecting iPhone boxes in the Strait of Hormuz is AI-generated – Full Fact
    • A pivotal election in Israel, and Netanyahu’s next test
    • Tories dismiss PM’s budget ‘everyday fixes’ as little more than ‘cheaper gherkins’, and ‘an insult to families’ – UK politics live | Politics
    • Baidu Open-Sources Unlimited OCR 2 for Hundred-Page Document Parsing
    • Stolen AI Reasoning Could Help China Build Cheaper Rivals
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Tuesday, October 27
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

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

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKSeptember 11, 2026 Artificial Intelligence No Comments5 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    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:

    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 API Agents SDK Responses API
    Where the agent runs OpenAI runs a managed Codex harness Inside your application Your application, with optional hosted orchestration
    Integration effort Low Medium High
    State between tasks Saved session configuration, turns, and items Your storage and SDK sessions Manual history, response chaining, or Conversations
    Execution environment OpenAI-hosted, self-hosted, or no sandbox Your runtime and sandbox providers Your 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

    Agents API Beta call Codex Harness Launches OpenAI public putting
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Baidu Open-Sources Unlimited OCR 2 for Hundred-Page Document Parsing

    vLLM Semantic Router Releases d3-ultra: A 27B Open Multimodal Decision Model

    Maritime Coalition Launches Free Vulnerability Database for Ship and Port Systems

    OpenAI Launches GPT-6.1 Terra, Halving GPT-6.1 Sol’s API Price for Agent Work

    In-the-Wild Attack Abuses AI Agents’ Trust in Markdown

    Nace AI Releases Drex for Search for AI Agents: 92.05% on BrowseComp-Plus With 12.6 Search Calls

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    The days of assuming another company’s breach is someone else’s problem are over

    October 27, 2026

    Energy Drilling lines up 30-month job to keep its rig busy through 2030

    October 27, 2026

    Admit it: the English love affair with European food has grown stale – we need a native cuisine we can be proud of | Lewis Bassett

    October 27, 2026

    Video of people collecting iPhone boxes in the Strait of Hormuz is AI-generated – Full Fact

    October 27, 2026
    Latest Posts

    Talks to sell PayPal to Stripe and Advent are heating up

    August 14, 2026

    Burnham announces £65m for drought-hit farmers after Labour pressure | Farming

    August 14, 2026

    Trump dismisses concerns about USS Abraham Lincoln, saying its record-breaking 250 days at sea ‘not nearly enough’ – live | US news

    August 14, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    The days of assuming another company’s breach is someone else’s problem are over

    October 27, 2026

    Energy Drilling lines up 30-month job to keep its rig busy through 2030

    October 27, 2026

    Admit it: the English love affair with European food has grown stale – we need a native cuisine we can be proud of | Lewis Bassett

    October 27, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.