The Agent Harness Landscape: OpenAI Exposes Its Own, Anthropic Sells Its Own

By November 2026 both labs were selling managed agent infrastructure. The difference is that OpenAI's Codex harness is open source and Anthropic's can run inside your own perimeter.

If you built an agent in 2024, you wrote the loop yourself: call the model, parse the tool call, execute it, append the result, call again, and manage a context window that was filling up faster than you expected. That loop — the harness — was the unglamorous part of the project and the part that broke first.

By November 2026 both frontier labs were selling that loop as a managed product. What differs is who owns the code and where it runs.

OpenAI put the harness in the API

OpenAI introduced the Agents API in public beta on 10 September 2026. Its own description is blunt about the motivation: as Codex and ChatGPT for Work scaled to millions of people, OpenAI learned what it takes to make long-running agents work in practice.

The claim is that useful agents need a powerful harness that manages context, uses tools efficiently, and coordinates subagents, plus infrastructure that keeps them running reliably for days, with environments where they can work with files, run code, and save intermediate results.

What ships in the API:

  • Context compaction. The API automatically compacts earlier context as a session approaches its limit, preserving information the agent needs to continue. Workflows can span multiple context windows without the developer implementing their own compaction logic.
  • Tool search. Tool definitions are loaded as needed rather than all sent upfront, which reduces token usage and cost while preserving the cache.
  • Programmatic tool calling. Calls can run in parallel, chain related operations, and filter or combine results in code, so only the relevant results return to context.
  • Multi-agent delegation. Complex tasks are split into independent pieces delegated to subagents that each maintain their own context while the main agent coordinates and assembles the result.
  • Environment choice. The agent’s compute environment can be an OpenAI-managed sandbox, your own infrastructure, or a sandbox from an ecosystem partner.

The partner list is long and includes Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, and Vercel. OpenAI also introduced a hosted sandbox using the same infrastructure that powers Codex and ChatGPT.

There are no additional fees for using the Agents API. You pay for the tokens and tools your agents use.

The decision that matters most is the last paragraph of the announcement: the Agents API is powered by the open-source Codex harness, giving developers visibility into the core logic that coordinates model calls, tools, and context, in a public codebase.

That is a materially different posture from selling a black box.

Anthropic sells the capability, and the perimeter

Anthropic arrived at a similar place from a different direction.

On 23 November 2026, Anthropic announced self-hosted Claude Managed Agents, letting organisations run agents inside their own security perimeter. The framing — “operate Claude Managed Agents inside your security perimeter” — is aimed squarely at enterprises that cannot send prompts to a shared API endpoint.

Anthropic’s adjacent moves fill out the same picture. Computer use entered beta for Team and Enterprise plans on 20 November 2026, letting Claude see a user’s screen and work in desktop applications those users permit, available in Claude Desktop, on the web, and on Claude Mobile where computer access is enabled. Claude Meetings entered beta on 12 November, letting Claude join a Google Meet call as a visible participant that takes notes, answers questions, and produces documents, whiteboards, and slides.

Earlier in the year, Anthropic shipped Claude Cowork to general availability on macOS and Windows on 9 April, opened a plugin directory for third-party extensions on 25 September, launched smart reports on 10 September to analyse how a team uses Claude and where sessions hit friction, and opened a research preview of Claude Duet on 21 October — a proactive agent application.

OpenAI’s counter-moves are product-shaped

OpenAI’s DevDay on 29 September 2026 carried more than twenty announcements, and the most significant ones were not models.

Dots are always-on agents that take on ongoing responsibilities, work across connected apps, keep making progress between conversations, and reach out when a decision needs human judgement. They roll out to paid subscribers — ChatGPT Pro, Business Premium, and Enterprise per The Verge’s coverage — and The Verge noted the contrast with Meta’s Muse, which launched free.

ChatGPT Work is the enterprise tier, with ChatGPT Space as a shared home for a team’s work, Pages as a new document type built for human and agent collaboration, collaborative slides, and team tasks that delegate recurring work to agents on a schedule or in response to an event like an email.

Codex in the cloud lets teams run coding tasks remotely and start or monitor them from a phone, with reusable cloud environments that prepare a development setup and publish it so new tasks start in isolated workspaces.

Codex Security Cloud scans GitHub repositories on demand or on a schedule, investigates findings, removes duplicates, and prepares fixes in the cloud even with your laptop closed.

The Decisions API narrows a model to answering a finite set of user-defined questions from text or image context, so you can classify content, route requests, or choose an agent’s next action.

OpenAI also opened the platform it uses to build ChatGPT features to plugin extensions, added Bedrock Managed Agents so agents can run natively inside AWS, and launched an OpenAI Marketplace whose first 32 partners include Figma, Adobe, Salesforce, ServiceNow, Palo Alto Networks, and CrowdStrike.

The actual comparison

Strip away the marketing and there are three axes.

Who controls the harness. OpenAI’s is open source, so you can read the coordination logic, fork it, or run the same pattern yourself against a different model. Anthropic’s equivalent ships as a managed service, and while the self-hosted option addresses data residency, it does not give you the harness source. If your requirement is “I need to understand exactly how context compaction decides what to keep”, the two offerings are not equivalent.

Where it runs. OpenAI’s Agents API lets the agent execute in an OpenAI-managed sandbox, your own infrastructure, or one of nine named partners — which means the code-execution environment is genuinely portable. Anthropic’s self-hosted Managed Agents answer the perimeter question for Anthropic’s agent specifically. OpenAI’s answer is broader in ecosystem coverage and narrower in one respect: the harness is OpenAI’s regardless of where it executes.

What you are actually buying. Both labs’ agent products are, underneath, a context manager plus a tool router plus a sandbox plus a scheduler. The durable part of that combination is the code, and the part most likely to be commoditised is the sandbox. The part most likely to differentiate is the harness — which is exactly why OpenAI open-sourced theirs and Anthropic keeps theirs closed.

A practical recommendation

If you are starting fresh and do not have a specific compliance requirement, the OpenAI Agents API is the lower-friction starting point today: public beta, no platform fee, an open-source harness you can read, and the ability to run the sandbox wherever you like including in your own VPC.

If you are already deep in the Anthropic ecosystem — Claude Code, Bedrock, Microsoft Foundry, or Claude Models on Google Cloud — then the Claude Managed Agents path is more coherent, and the self-hosted option matters if data residency is a hard requirement rather than a preference.

If you have neither, the cheaper decision is to build against the raw API and treat the harness as your own code. Every lab in this space is competing on the harness, which means the harness is where the margin is, and where your leverage is if you own it.

Sources