๐Ÿ“š All pages

๐Ÿ’ฌ Using Harness Maxxing ยท 3 min read

๐Ÿ“„Engine: Codex

OpenAI's coding agent, beta. Harness runs Codex as it is and does not rewrite its settings; what differs from Claude Code is listed in the box What changes with Codex (Settings -> Engine -> Codex). See Engines for what is common to every engine.

Sign-in and providers

  • ChatGPT subscription (Plus, Pro, Business): Settings -> Engine -> Codex -> Sign in with ChatGPT: open the link shown, sign in, type the code. Nothing to install on your computer. The first time, turn on Device code authorization in ChatGPT -> Settings -> Security (on a Team, Enterprise or Edu workspace an admin must also allow it), otherwise ChatGPT refuses the code and Harness says so. The code expires after 15 minutes; Cancel stops a sign-in you do not finish.
  • OpenAI API key: put it in Settings -> Keys, then choose it in Settings -> Providers -> OpenAI API.
  • OpenRouter: Codex can run OpenRouter models (openrouter/vendor/model) with your OpenRouter key.

Install in its panel downloads the version Harness was tested with (about 260 MB); its data stays in Harness's own folder.

Models

Its own list (refreshed from Codex), plus your favourites. Effort levels: low to xhigh.

What works

Conversation, tools, files and the Changes view, memory, skills, MCP servers, Harness Browser, Devices, steer, agents, the Sandbox mode of a topic, sandboxed agents, the small calls (titles, summaries).

How Harness adapts it

  • Memory: the folder's CLAUDE.md, its imports and the levels above are given to Codex as its instructions. Codex keeps its own memory feature too: Harness does not switch it off.
  • Rules: Codex has no rules Harness relies on, so they hold inside the Sandbox only (see Engines). Outside it, a session runs with full access, the deny rules and "Protect the secrets" do not apply, and a note says so once per session. In the Sandbox, Harness's sandbox goes around the whole of Codex, with the walls Claude Code would get: the folders it may write, secrets and home folder hidden, the allowed sites plus OpenAI and OpenRouter. Its maxxing commands run outside the sandbox, as with Claude Code: an agent you talk with changes its own schedule, a session adds a task or a notification. The Sandbox needs bubblewrap and socat on the server (maxxing agents sandbox-setup); outside the Sandbox Codex needs neither.
  • An agent's forbidden tools: inside the Sandbox, writing, the web and MCP servers are enforced by the walls. Finer rules (a forbidden command, Read forbidden) cannot be enforced on Codex: such an agent is refused with the reason, before its turn starts, and so is an agent that has forbidden tools, deny rules or its own rules while its Sandbox is off.
  • Skills: the list of your skills is in its instructions; it reads a skill when a task matches.
  • MCP servers: those of Settings -> MCP and Harness's own. In the Sandbox the local ones run outside Codex's walls, as Claude Code runs them, their secrets never in Codex's environment; otherwise their secrets go to Codex through its environment, never on a command line. A sign-in done in Claude Code is reused; if it has expired, see Engines.
  • Cost: Codex counts tokens; Harness estimates the cost at the public list prices. A budget (an agent's daily limit) is refused when the cost cannot be known: on a ChatGPT subscription (paid by the month) or with a model that has no list price.
  • Its own features (apps, plugins, web search, memory) are left as they are, with Codex's own settings.

Limits

Refused with the reason, never run on another engine: plan mode, the Ask me mode and an agent's approvals, Add to task, side questions, an agent's fine tool rules and its own rules. Pictures attached to a message are given as file paths. The topic's agents are not offered to it, it cannot ask you questions in the middle of a turn, and no subscription limits show in the sidebar.

From a terminal

maxxing engines install codex
maxxing engines use codex                            (refused while it is not signed in)
maxxing engines model codex <model>                  (--small: its small model)
maxxing engines provider openai OPENAI_API_KEY       the vault key of the OpenAI API
๐Ÿ’ก Stuck? Open a session in the topic system โ€บ help and ask in your own words: Claude reads these docs on your server and answers.โœ๏ธ Improve this page

Harness Maxxing ยท free and fair sourceEdit these docs