Skip to content
DigitalNeuron
Open-Source-KI

Analysis: OpenAI open-sourced the Codex harness — what a harness is, and what 'open' covers

The execution layer around a coding model is now Apache-2.0. That changes what teams can embed, and it does not change what they pay. A developer-level read of the release.

Von DigitalNeuron Desk7 Min. Lesezeit

Kurze Antwort

What is an AI agent harness, and what did OpenAI actually open-source?

A harness is the execution layer around a model: it holds the task, manages context across a long run, calls tools, streams events, allows interruption, and routes approvals to a human. OpenAI released its Codex harness — the non-interactive CLI, the SDK and the app-server — under Apache-2.0, so it can be forked and embedded in commercial products. The model weights were not released; the harness still calls a paid API, so the licence cost is zero and the running cost is not.

Das Wichtigste

  • The harness — not the model — is the part most teams were rebuilding badly, and it is now available under a permissive licence.
  • Apache-2.0 covers the execution code. Weights, hosted inference and the trademark are outside it.
  • OpenAI reports a benchmark moving from 13.3% to 38.3% on harness changes alone; treat the direction as the finding and the number as vendor-reported.
  • Third-party and local models can be configured, but only through the Responses wire format — a Chat Completions endpoint will not attach.
  • Budget in three layers: licence (zero), infrastructure (yours), tokens (the only one that scales with use).

For two years the interesting engineering in AI coding tools has not been in the model. It has been in the layer wrapped around it: the thing that decides what to put in the context window, when to call a tool, what to do when a command hangs, and when to stop and ask a human. Every serious team built one. Most built it twice, because the first attempt did not survive long-running tasks.

On 20 August OpenAI released its version of that layer under Apache-2.0. The announcement framed it as a platform move — outside companies can now embed the agent in their own software rather than sending users to a general-purpose chat window. For developers, the more useful question is narrower: what is actually in the box, and what does the licence cover?

What a harness does

The engine-and-chassis metaphor in the coverage is accurate as far as it goes, but it hides the specific work. Strip a harness down and it is doing six things at once, none of which the model does for itself:

  • Holding the task. A model answers a request. A harness keeps a goal alive across dozens of requests and decides when it is met.
  • Managing context. Long runs exceed any context window. Something has to summarise, drop, re-retrieve and preserve reasoning across the boundary. Do it crudely and the agent forgets the constraint you gave it forty steps ago.
  • Dispatching tools. Defining the tools, validating arguments, executing them under a sandbox, and feeding results back in a form the model can act on.
  • Streaming events. A run that takes six minutes has to be legible while it happens, not only at the end.
  • Being interruptible. Stopping cleanly mid-run, preserving state, resuming later — the difference between a demo and something a person will leave running.
  • Routing approvals. Which actions proceed automatically, which stop for a human, and how that decision is recorded.

That list is why harness work moves benchmark numbers at all. OpenAI reports that harness changes alone — retained reasoning and context compression — moved a model from 13.3% to 38.3% on ARC-AGI-3, with a sixfold reduction in token consumption from harness design. Vendor-reported figures on a vendor's own release deserve the usual discount, and the benchmark is a narrow one. The direction is still the finding worth keeping: the same weights produce materially different results depending on the machinery around them, and that machinery is where the remaining engineering leverage sits.

What "open source" covers here

This release is genuinely permissive, and the label still hides a boundary that matters for planning.

Apache-2.0 on the harness means you can fork it, modify it, keep the modifications private, and ship the result inside a closed commercial product — including a white-labelled one — subject to attribution and notice obligations. There is no copyleft trigger, which is the practical difference between this and an AGPL release: an AGPL execution layer would force disclosure the moment you served it over a network, and that alone disqualifies a component from most white-label roadmaps.

What the licence does not cover is equally clear. The weights were not released; the harness is open, the intelligence it calls is not. Trademark rights are not granted by Apache-2.0, so shipping a product that calls itself Codex is a separate question from shipping one built on Codex. And a permissive licence on a client says nothing about the terms of the service it connects to. If the distinction between an open licence and open weights is doing work in your procurement review, it is worth reading what the labels actually mean before the review, not during it.

The constraint most teams will hit first

The harness is not welded to one provider. A custom provider entry points it at any compatible endpoint — a competitor's API, a gateway, or a model running on your own hardware.

The strategic reading of that constraint is straightforward. Portability exists, and it runs through a wire format the vendor controls and has already changed once. Anyone treating this as insurance against lock-in should assume the shim is a maintained component, not a one-time cost.

What it costs

Three layers, and only one of them scales:

LayerCostNotes
Harness licenceZeroApache-2.0. Fork and embed freely.
InfrastructureYoursA Rust binary and an npm package. It runs where you already run things.
Model tokensMeteredUnchanged by this release. The harness makes calls; something bills for them.

Published rates for OpenAI's current line sit at roughly $5 per million input tokens and $30 per million output for the top tier, with cached input an order of magnitude cheaper, and mid and light tiers well below that. Those numbers are only half the calculation. An agent run is not one request — it is dozens, each carrying accumulated context, which is exactly the pattern that makes unit prices fall while bills rise.

Two consequences follow for anyone budgeting a deployment. First, cache hit rate on the stable prefix will dominate the bill; a harness that reshuffles the top of the prompt between turns can quietly multiply cost several times over without failing a single request. Measure it before extrapolating from a rate card. Second, the seat-based route is narrowing rather than widening — Codex seats have not been available to new business workspaces since 24 June 2026, which leaves API keys as the practical path for most teams starting now.

Before you embed it

A harness inherits your permissions. The checklist that matters is short and mostly not about the model:

  • Sandbox posture. Read-only, workspace-write and full-access are meaningfully different blast radii. Pick the narrowest one the task actually needs.
  • Approval policy. Automating approvals is where an agent stops being reviewable. Decide which classes of action are never automatic.
  • Prompt injection. Anything the agent reads may contain instructions aimed at it. The defence is a smaller permission set, not a better system prompt.
  • Audit trail. If the agent writes to a shared repository or a customer's data, the record of what it did and which human allowed it needs to survive the session.
  • Attribution obligations. Apache-2.0 requires the notice file to travel with derivative products, white-labelled ones included.

Where this lands

GitHub, JetBrains and Cisco have already embedded Codex in their own products, and a US tax-services firm reports processing 7,000 filings with roughly a third less preparation time. The pattern in those deployments is the same: the agent appears inside the software people already use, rather than in a separate chat window. That is the actual platform argument, and it is not confined to coding — the same execution layer works for security triage, support, sales and marketing operations, which is why the interesting adoption over the next year is likely to be in departments that have never opened a terminal.

For engineering teams the near-term question is more prosaic. You almost certainly have a homegrown version of this loop somewhere in your stack, written under deadline. It is now worth asking whether it should keep being yours.

Häufige Fragen

Does open-sourcing the harness make Codex free to run?
No. The harness is free to copy, modify and embed. Every run still sends tokens to a model that bills by the token, whether that is a hosted API or hardware you operate yourself.
Can the harness drive a model that is not from OpenAI?
Yes, through a custom model provider entry pointing at any endpoint that speaks the Responses wire format, including local servers. Support for the older Chat Completions format was removed in February 2026, so many OpenAI-compatible gateways need a translation shim.
What does Apache-2.0 allow that a copyleft licence would not?
You can fork it, modify it, keep your changes private and ship it inside a closed or white-labelled commercial product, with attribution and notice obligations but no requirement to publish your source.
Is a harness the same thing as an agent framework?
Overlapping but not identical. Frameworks mostly describe how to compose steps. A harness is the runtime that actually executes them — context management, tool dispatch, streaming, interrupts, approvals and session state.

Quellen

  1. Codex — repository and licenceOpenAI
  2. Codex as a platform: build on the open agent harnessOpenAI
  3. Advanced configuration — custom model providersOpenAI
  4. API pricingOpenAI
Schlagwörteragentsharnesslicensingapache-2.0developer toolsinference cost

Passend dazu

Open Weights vs. Open Source bei KI: was die Bezeichnungen wirklich bedeuten

Open Weights heißt, dass die trainierte Modelldatei heruntergeladen und selbst betrieben werden kann — unter der Lizenz, die der Herausgeber gewählt hat. Open Source ist ein strengerer rechtlicher Standard, der Freiheit zur Nutzung, Untersuchung, Änderung und Weitergabe ohne Einsatzbeschränkungen verlangt. Viele verbreitete Modelle sind Open Weights, aber nicht Open Source.

Aktualisiert 3 Min. Lesezeit

Analyse: OpenAI hat das Gerüst open-sourced, nicht das Modell — und das ist die Strategie

Ein Harness ist der Code um das Modell: Er stellt Kontext bereit, führt die Tool‑Call‑Schleife aus, streamt Ereignisse, komprimiert lange Sitzungen und hält irreversible Aktionen hinter menschlicher Genehmigung. OpenAI veröffentlichte den Codex‑Harness — codex exec, den app‑server und das SDK — unter Apache‑2.0, sodass jedes Unternehmen diesen gleichen Agenten‑Schleifen in seiner eigenen Software einbetten kann, während es weiterhin für das Modell dahinter zahlt.

5 Min. Lesezeit

Analyse: Wie weit liegen Open-Weight-Modelle wirklich zurück?

Auf gängigen Benchmarks liegen die besten Open-Weight-Modelle nun nahe an den kommerziellen Spitzenmodellen, und für viele Routineaufgaben ist der Unterschied nicht spürbar. Die verbleibenden Lücken zeigen sich in der Zuverlässigkeit über lange Zeiträume, der Werkzeugnutzung, sehr langen Kontexten und der Abstimmung der Sicherheit – und in der operativen Arbeit, sie selbst zu betreiben.

Aktualisiert 3 Min. Lesezeit