September 10, 2026

ProductAPI

Introducing the Agents API

Build and run cloud agents with the Codex harness, fully managed by OpenAI.

Loading…ShareAs 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.