# OpenAI Agents API launch

## Summary

OpenAI released an Agents API that packages the "harness" (context management, tool orchestration, sub-agent coordination, sandboxing) most teams have been building by hand into a single managed service. It's the same infrastructure that runs Codex, now exposed for anyone to call.


## Core ideas

- The harness is the hard part: The model itself is easy to use; the real engineering work is managing context, tools, sub-agents, and safe code execution around it.

- One API replaces custom infrastructure: A single call gives you a task, model, tools, and environment, and OpenAI runs the loop instead of you writing orchestration code.

- Automatic compaction solves long sessions: When context limits approach, the API compresses earlier context on its own, letting agents run for hours across multiple context windows.

- Tool efficiency cuts context waste: Tool search only loads definitions when needed, and programmatic tool calling lets agents run calls in parallel and filter results in code instead of dumping junk into context.

- Sub-agents come built in: The main agent can delegate independent tasks to parallel workers, each with its own context, with no orchestration work required from the developer.

- Sandbox choice stays flexible: You can run on OpenAI's own infrastructure or partners like Cloudflare, Modal, and Vercel.

- The harness code is open source: It's the same Codex harness, so you can inspect exactly what's running under the hood.

- Pricing stays simple: No extra fees for the service itself, you just pay for tokens and tools as usual.

- Model providers are climbing the stack: First they sold tokens, then tools, now they're selling the whole agent runtime.


## Quotes

> when you build an agent the model is the easy part the hard part is everything around it

@romippatel

> first they sold you tokens then tools now the whole agent runtime

@romippatel

> the agents API is the harness that powers Codex, exposed as a managed service

@romippatel


Source: https://www.instagram.com/reel/DdO7agIoHDq/?stkn=MWpieHU2NDlxcTk2NA==

Canonical: https://drop.rizzgroup.org/ledger/openai-agents-api-launch-6xt9rf
