# A look at OpenAI's open-source agent harness that now powers Codex and ChatGPT Work, as the company works to optimize the harness to cut runaway token usage

OpenAI is optimizing the open-source harness behind Codex and ChatGPT Work to reduce runaway token usage.

Record as of 29 July 2026. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/1173936.json>

## A look at OpenAI's open-source agent harness that now powers Codex and ChatGPT Work, as the company works to optimize the harness to cut runaway token usage

*as of 29 July 2026; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

The Deep View · Jason Hiner · [29 July 2026](/2026/07/29) · [Read original](https://www.thedeepview.com/articles/openai-s-secret-weapon-underneath-codex)

The unsung hero behind [OpenAI](/entity/openai)'s 2026 transformation is a technology that rarely gets mentioned, and that most of its 1 billion monthly users have never even heard of.

**Context**

[Codex](/entity/codex) began as a software-engineering agent and later became the shared-agent foundation for [ChatGPT](/entity/chatgpt) workspaces. [OpenAI](/entity/openai)’s own reported [rollout of Codex-powered workspace agents](/1167503) made the harness a common layer across both products.

That shared layer is now operating at materially greater reach: OpenAI recently said Codex and ChatGPT Work had reached 10 million users, while internal Codex use had also expanded sharply in [OpenAI’s own workforce](/1171682). Token control therefore matters as an operating constraint, not merely an engineering refinement.

*First-order effects*

- Optimizing the open-source harness directly changes how Codex and ChatGPT Work execute agent tasks, with the immediate goal of curbing runaway token consumption across both products.
- OpenAI gains a single leverage point for improving the efficiency of two growing agent surfaces rather than tuning each application independently.

*Second-order effects*

- Lower token use can improve the economics of serving longer or more complex agent workflows, reducing pressure on product teams to constrain usage solely to contain [inference costs](/topics/inference-cost).
- Because the harness is open source, its optimization work can become a reference point for developers building compatible agent workflows, extending its influence beyond OpenAI’s own interfaces.

*Third-order effects*

- The episode points to agent runtimes becoming a distinct competitive layer: model quality alone is insufficient when orchestration determines whether autonomous workflows remain economically usable.
- If adoption continues to broaden from coding into shared workspaces, governance and cost controls in the runtime will increasingly shape which agent products can scale reliably.

**The trend:** AI companies are shifting competition from standalone models toward efficient, governed runtimes that can support high-volume agent work across multiple product surfaces.

Related: [Agentic unit economics](/concepts#agentic-unit-economics) · [The Governed Runtime](/concepts#governed-runtime) · [Agentic work surface](/concepts#agentic-work-surface) · [OpenAI](/entity/openai) · [Codex](/entity/codex) · [OpenAI’s Codex and ChatGPT Work user growth](/1173376)

**Entities**

- [OpenAI](/entity/openai)
- [ChatGPT](/entity/chatgpt)
- [Codex](/entity/codex)

**Related coverage**

- [Kernel of truth: GPT-5.6 Sol can cut its own costs, says OpenAI](https://thenewstack.io/gpt-5-6-serving-efficiency/) · The New Stack
- [Claude orchestrating Codex agents is the workflow I didn't know I needed for coding](https://www.xda-developers.com/claude-orchestrating-codex-agents/) · XDA Developers · Joe Rice-Jones
- [Composio's Kimi K3 test finds a 6x token gap between agent harnesses](https://runtimewire.com/article/composio-kimi-k3-agent-harness-token-efficiency-test) · RuntimeWire · Ryan Merket

**Relationships**

- [OpenAI agent harness](/search?q=%40%22OpenAI+agent+harness%22) launch [Codex](/entity/codex), [ChatGPT Work](/search?q=%40%22ChatGPT+Work%22) · confirmed · OpenAI's agent harness powers Codex and ChatGPT Work.
- [OpenAI](/entity/openai) launch [agent harness](/search?q=%40%22agent+harness%22), [runaway token usage](/search?q=%40%22runaway+token+usage%22) · confirmed · OpenAI is optimizing its agent harness to reduce runaway token usage.
- [OpenAI](/entity/openai) launch [1 billion monthly users](/search?q=%40%221+billion+monthly+users%22) · confirmed · OpenAI has 1 billion monthly users.

**Similar stories**

- [A look at OpenAI's open-source agent harness that now powers Codex and ChatGPT Work, as the company works to optimize the harness to cut runaway token usage](https://texxr.com/1173994/openai-optimizes-codex-agent-harness) · The Deep View, 30 July 2026 · [publisher](<https://www.thedeepview.com/articles/openai-s-secret-weapon-underneath-codex>) · 93%
- [OpenAI rolls out Codex, an AI coding agent powered by codex-1, a version of o3 optimized for software engineering, for ChatGPT Pro, Enterprise, and Team users](https://texxr.com/885760/openai-launches-codex-ai-coding-agent) · TechCrunch, 16 May 2025 · [publisher](<https://techcrunch.com/2025/05/16/openai-launches-codex-an-ai-coding-agent-in-chatgpt/>) · 70%
- [OpenAI announces workspace agents in ChatGPT, letting teams create Codex-powered shared agents for complex tasks, and says they are “an evolution of GPTs”](https://texxr.com/1167527/openai-launches-workspace-agents-in-chatgpt) · OpenAI, 23 April 2026 · [publisher](<https://openai.com/index/introducing-workspace-agents-in-chatgpt/>) · 65%
- [OpenAI updates its Agents SDK with native sandboxing and an in-distribution harness for frontier models to help deploy and test agents on long-horizon tasks](https://texxr.com/1167080/openai-updates-agents-sdk-with-sandboxing) · TechCrunch, 16 April 2026 · [publisher](<https://techcrunch.com/2026/04/15/openai-updates-its-agents-sdk-to-help-enterprises-build-safer-more-capable-agents/>) · 65%
- [OpenAI says GPT-5.3-Codex-Spark is its first AI model that runs on Cerebras chips, after they signed a $10B+ deal in January; Codex has 1M+ weekly active users](https://texxr.com/1163377/openai-runs-codex-spark-on-cerebras-chips) · Bloomberg, 13 February 2026 · [publisher](<https://www.bloomberg.com/news/articles/2026-02-12/openai-debuts-first-model-using-chips-from-nvidia-rival-cerebras>) · 65%
- [OpenAI launches Codex for macOS, designed to be a command center for managing coding agents, and says GPT-5.2-Codex usage has nearly doubled since mid-December](https://texxr.com/1162650/openai-launches-codex-mac-gpt-5-2-support) · ZDNET, 3 February 2026 · [publisher](<https://www.zdnet.com/article/openai-codex-mac-app-free-trial/>) · 64%
- [OpenAI debuts a research preview of GPT-5.3-Codex-Spark, a smaller version of GPT-5.3-Codex that it claims generates code 15 times faster, for ChatGPT Pro users](https://texxr.com/1163376/openai-debuts-gpt-5-3-codex-spark-for-pro) · ZDNET, 13 February 2026 · [publisher](<https://www.zdnet.com/article/openais-gpt-5-3-codex-spark-15x-faster/>) · 64%
- [Sources: OpenAI is developing two types of agent software: one to automate tasks by effectively taking over a user's device, and the other for web-based tasks](https://texxr.com/849164/openai-develops-agents-to-automate-user-tasks) · The Information, 8 February 2024 · [publisher](<https://www.theinformation.com/articles/openai-shifts-ai-battleground-to-software-that-operates-devices-automates-tasks>) · 63%
- [OpenAI debuts ChatGPT Agent, which can control an entire computer and perform multi-step tasks, powered by a new dedicated model, rolling out to paid users](https://texxr.com/888046/openai-launches-chatgpt-agent-for-multi-step-tasks) · The Verge, 18 July 2025 · [publisher](<https://www.theverge.com/ai-artificial-intelligence/709158/openai-new-release-chatgpt-agent-operator-deep-research>) · 63%
- [OpenAI releases a Codex app for Windows with native sandboxing and support for developer environments in PowerShell, after launching a macOS app in February](https://texxr.com/1164613/openai-launches-codex-windows-app-with-sandboxing) · Engadget, 5 March 2026 · [publisher](<https://www.engadget.com/ai/openai-brings-its-codex-coding-app-to-windows-195345429.html>) · 63%
- [OpenAI plans to overhaul ChatGPT in the coming weeks, turning it into a superapp with coding tools and AI agents to serve as a gateway to higher-margin products](https://texxr.com/1170420/openai-overhauls-chatgpt-into-superapp-with-ai-agents) · Financial Times, 8 June 2026 · [publisher](<https://www.ft.com/content/ca0f5f5e-fb9a-41a0-a2a9-0127e15b7db9>) · 63%
- [OpenAI launches GPT-5.3-Codex, which it says runs 25% faster, enabling longer-running tasks, and “is our first model that was instrumental in creating itself”](https://texxr.com/1162906/openai-launches-gpt-5-3-codex-25pct-faster) · ZDNET, 6 February 2026 · [publisher](<https://www.zdnet.com/article/openai-gpt-5-3-codex-faster-goes-beyond-coding/>) · 63%
- [OpenAI unveils new Codex plugins for tasks related to public equity investment, banking and sales, and other roles, and plans to integrate Codex into ChatGPT](https://texxr.com/1170146/openai-launches-codex-plugins-for-finance-and-sales) · Bloomberg, 3 June 2026 · [publisher](<https://www.bloomberg.com/news/articles/2026-06-02/openai-plans-ai-tools-for-finance-legal-in-race-with-anthropic>) · 62%
- [OpenAI debuts Codex CLI, an open-source coding agent tool for terminals that links AI models with local code and computing tasks, like moving files](https://texxr.com/884725/openai-debuts-codex-cli-for-terminals) · TechCrunch, 17 April 2025 · [publisher](<https://techcrunch.com/2025/04/16/openai-debuts-codex-cli-an-open-source-coding-tool-for-terminals/>) · 62%
- [OpenAI says it now has 10M people using Codex and ChatGPT Work, nearly doubling usage from earlier this month when the company announced ChatGPT Work](https://texxr.com/1173454/openai-reaches-10m-users-codex-chatgpt-work) · Bloomberg, 22 July 2026 · [publisher](<https://www.bloomberg.com/news/articles/2026-07-21/openai-s-agents-reach-10-million-users-after-chatgpt-work-debut>) · 62%
- [OpenAI merges its Codex and ChatGPT desktop apps for macOS and Windows under an upgraded ChatGPT desktop app, letting users switch between Chat, Codex, and Work](https://texxr.com/1172352/openai-unifies-codex-chatgpt-desktop-experience) · 9to5Mac, 10 July 2026 · [publisher](<https://9to5mac.com/2026/07/09/openai-announcing-the-next-chapter-for-chatgpt-today-watch-here/>) · 61%
- [OpenAI says GPT-5.3-Codex goes beyond an agent that can code “to an agent that can do nearly anything developers and professionals can do on a computer”](https://texxr.com/1162907/openai-expands-gpt-5-3-codex-to-professional-tasks) · OpenAI, 6 February 2026 · [publisher](<https://openai.com/index/introducing-gpt-5-3-codex/>) · 61%
- [OpenAI memo: Greg Brockman says he will lead product strategy as part of a reorg, folding ChatGPT, Codex, and developer-facing API into one core product team](https://texxr.com/1169028/openai-reorg-brockman-leads-product-team) · Wired, 16 May 2026 · [publisher](<https://www.wired.com/story/openai-reorg-greg-brockman-product/>) · 61%
- [OpenAI debuts GPT‑5-Codex, a version of GPT‑5 optimized for agentic coding in Codex and says it spends its “thinking” time more dynamically than previous models](https://texxr.com/890260/openai-debuts-gpt-15-codex-for-agentic-coding) · TechCrunch, 16 September 2025 · [publisher](<https://techcrunch.com/2025/09/15/openai-upgrades-codex-with-a-new-version-of-gpt-5/>) · 61%
- [OpenAI announces new features for Codex, including reusable cloud development environments, a refreshed Codex CLI, and a new code review experience](https://texxr.com/1295952/openai-upgrades-codex-cloud-development) · TechCrunch, 30 September 2026 · [publisher](<https://techcrunch.com/2026/09/29/openai-gives-codex-reusable-cloud-environments-that-work-across-devices/>) · 61%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 29 July 2026; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
