๐Ÿ“š All pages

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

๐Ÿ“„Engines

An engine is the coding agent that does the work: it reads your files, runs commands and answers. One engine runs the whole of Harness: every session (archived ones too), agent, Jarvis, scheduled job and Telegram message, plus the small calls Harness makes for you (session titles, summaries, commit messages). Nothing changes until you switch: a new installation runs on Claude Code (or the engine chosen at installation), and looking at the other engines in Settings never moves anything.

The principle

Harness sits on top of an existing engine. It does not force an engine to behave like Claude Code. Each engine keeps its own features and settings (Codex keeps its memory, OpenCode its scheduler). What differs is declared:

  • Claude Code is the reference and the default (status Ready): everything Harness offers works with it.
  • Codex (OpenAI), OpenCode (open source), Kimi Code (Moonshot AI), DeepSeek Harness (DeepSeek), Qwen Code (Alibaba), GitHub Copilot CLI, Mistral Vibe, Grok Build (xAI), Antigravity (Google) and Maxxing Code (open source, by Harness's maintainers) are Beta: they work, but some things differ, and Settings -> Engine says which ones in a box, What changes with Codex (or another engine), generated from the table of capabilities below, so it cannot drift from what Harness really does.
  • What an engine cannot do is greyed with the reason, or refused with the reason, never run on another engine behind your back and never ignored in silence.

The engine and the provider are two different things. The engine is the program that works on your server (Claude Code, Codex, OpenCode). The provider is who you pay for the AI model it uses: your Claude subscription, your ChatGPT subscription, or an API key (OpenRouter, Anthropic, OpenAI). Some engines can use several providers: Claude Code runs on your Claude subscription, and also on OpenRouter models with an OpenRouter key.

Which engine should I choose?

  • Claude Code: the default, and the only one with every feature and every protection (its own sandbox, an agent's own rules, your rules in every mode). Pick it unless you have a reason not to.
  • Codex: you already pay for ChatGPT, or want OpenAI models. Beta.
  • OpenCode: you want any model of any provider (free OpenRouter models included) with an API key. Beta.
  • Kimi Code, DeepSeek Harness, Qwen Code, Mistral Vibe, Grok Build or Antigravity: you want the agent Moonshot AI, DeepSeek, Alibaba, Mistral AI, xAI or Google built for their own models; GitHub Copilot CLI: you want GitHub's agent. Beta, with a key for now (OpenRouter, or the vendor's own API key: Mistral, xAI, Alibaba, Moonshot AI, DeepSeek; a Gemini API key for Antigravity; the token of a GitHub Copilot plan for Copilot). A monthly plan that works with a key or a token is chosen the same way (Kimi Code plan, Alibaba Coding Plan, GitHub Copilot plan); the plans that need a sign-in in a browser (SuperGrok, Google AI) are not supported yet; the table below does not list them, Compare in Settings -> Engine does, and each has its page.
  • Maxxing Code: you want an open source agent that reads Harness's folders as they are and applies your deny rules itself, with any API key (OpenRouter's free models included, and many more providers). The closest to Claude Code: plan mode, the Ask me mode, approvals, questions, side questions, Add to task, pictures and sub-agents. Beta.
  • Want rules (forbidden files, an agent's forbidden tools) on Codex or OpenCode? Use the Sandbox mode (see Rules and the Sandbox).
  • Unsure: stay on Claude Code. You can look at the other engines and switch back at any time.

What changes with a Beta engine

The panel of Codex and OpenCode starts with the box What changes with . Each line is shown only when it applies to that engine; these are all the lines:

  • Outside Sandbox mode, the engine does not apply your deny rules or "Protect the secrets": a session can read every file the server can read, and an agent with forbidden tools or rules of its own is refused unless its Sandbox is on. In Sandbox mode, Harness's own sandbox protects your files.
  • No "Ask me" mode, no approvals and no plan mode.
  • No "Add to task" while it works, and no side question.
  • The agents of a topic are not offered to it.
  • Pictures are given to it as files: it does not see them.
  • It cannot ask you a question in the middle of a turn.
  • The cost is an estimate at list prices. A budget is refused when the model has no known price, or on a subscription.
  • The usage of your plan is not shown.
  • Everything else works the same (memory, skills, MCP servers, scheduled jobs, agents, Telegram). The engine keeps its own features and settings: Harness does not switch them off.

Words used here. Sandbox: a permission mode (for a topic, a job or an agent) in which commands run inside walls: only some folders writable, secrets hidden, only some sites reachable. MCP servers: tools added to the AI (Settings -> MCP), such as the Harness Browser. Steer: interrupt the running step and redirect it with a new message. Compaction: summarising a long conversation so it fits the model's memory (Settings -> Memory). Add to task: a message the running turn reads at its next step instead of waiting for its end.

What each engine does

The same table as Settings -> Engine, from the capabilities Harness declares for each engine today.

Claude Code OpenCode (beta) Codex (beta)
Account, models and cost
Sign-in subscription, API key API key subscription, API key
Other providers OpenRouter none (you choose any provider's model directly) OpenRouter
Models its own list any provider its own list
Effort levels low, medium, high, xhigh, max none low, medium, high, xhigh
Cost in dollars in dollars estimated in dollars (list prices)
Subscription usage limits yes no no
In a conversation
Continues the conversation yes yes yes
Steer (interrupt and redirect) yes yes yes
Add to task during a turn yes no no
Side question yes no no
Asks you questions yes no no
Shows its reasoning yes yes yes
Images in messages yes no (given as files) no (given as files)
Voice mode yes yes yes
Titles and summaries yes yes yes
Permissions and safety
Permission modes full access, accept file edits, strict (refuse), plan, sandbox, ask me full access, sandbox full access, sandbox
Plan mode yes no no
Asks before risky actions yes no no
Sandbox its own Harness's sandbox Harness's sandbox
Deny rules and secret protection built in (every mode) only in Sandbox mode only in Sandbox mode
Your workspace
Memory (CLAUDE.md, memory.md) built in given by Harness given by Harness
Skills yes yes yes
MCP servers (browser, devices...) yes yes yes
Agents yes yes yes
Calls the topic's agents yes no no

When an engine cannot do something Harness asks for, it says so: the action is greyed or refused with the reason, or, for pictures, the Harness Browser and devices, MCP servers and your topic's agents, the session shows a note and the turn still runs without them.

Each engine has its own page: Claude Code, Codex, OpenCode, Kimi Code, DeepSeek Harness, Qwen Code, GitHub Copilot CLI, Mistral Vibe, Grok Build, Antigravity, Maxxing Code. Several subscription accounts of one engine: Accounts.

Rules and the Sandbox

Harness's rules are: the deny rules (the files and commands never allowed, such as "Protect the secrets"), an agent's forbidden tools and own rules, and the Sandbox mode. Who applies them depends on the engine:

Claude Code Codex and OpenCode
Deny rules and "Protect the secrets" applied in every mode only in Sandbox mode; outside it a plain session runs with no rule, and a note says so once per session
An agent with forbidden tools or rules of its own applied in every mode refused outside its Sandbox, with the reason
An agent's own rules (checked before each tool call) applied refused, in any mode
In Sandbox mode Claude Code's own sandbox Harness's sandbox around the whole engine: folders it may write, secrets and home folder hidden, only the allowed sites (plus its model provider); forbidden writing, web or MCP servers become walls
A finer forbidden tool (one command) applied refused with the reason

So on Codex and OpenCode, turn on Sandbox (for a topic, a job or an agent) when you want rules to hold. Inside the sandbox nothing is retried outside: a command that needs more fails and says so. The engine also cannot reach the server's own services, cannot see the other programs running on the server, and cannot change what would run later outside it (system settings, scheduled jobs, start-up files, Harness itself), even where it may write. It only gets the key you chose for it in Settings -> Providers, never your Claude sign-in nor the keys of other providers. The sandbox needs bubblewrap and socat on the server (maxxing agents sandbox-setup); outside it, nothing more is needed.

Shared by every engine:

  • Skills: the other engines get the list of your skills (Claude Code's folder and the .claude/skills of the topic and the folders above it) and read a skill when a task matches.
  • MCP servers of Settings -> MCP are shared. A server you signed in to in Claude Code gets that sign-in. If it has expired when another engine needs it, the server is skipped, the session is told, and Settings -> MCP shows To reconnect for ...: Connect signs in again, and every engine uses the new sign-in.
  • Cost: in dollars as the provider reports it; for Codex, estimated from its tokens at the public list prices. An agent's daily budget needs a cost it can know: on a ChatGPT subscription (paid by the month) or with a model that has no list price, a budget is refused with the reason.
  • The voice mode (Settings -> Voice) talks through the active engine when you use a local voice.
  • Each provider has its own terms, prices and limits; free models are slower and less reliable. A model that is not good at using tools makes a poor coding agent: prefer the models made for agents.

Settings -> Engine

  • The Active engine card says which engine runs Harness and its default model.
  • The tabs (Claude Code, OpenCode, Codex) show each engine's panel. Looking at a tab changes nothing.
  • Each panel has the same blocks:
  • Engine for all of Harness: the button Switch all of Harness to โ€ฆ moves the whole of Harness to this engine (see Switching engine below). It is available once the engine is ready; otherwise the row says what is missing (not installed, not signed in, no key selected for its model's provider).
  • Program: Install downloads the version Harness was tested with (OpenCode, Codex; Claude Code updates itself). Each engine keeps its data apart from yours, under Harness's own folder.
  • Paid through: the providers this engine can use, and whether each one is connected (see Providers below).
  • Sign-in: Claude Code's subscription token or API key; Codex's Sign in with ChatGPT (open the link shown, sign in, type the code: nothing to install on your computer).
  • Models: the default model, a small model for titles and summaries, and your favourite models, picked in the list of every model the engine can run. The chat's model menu shows the engine's own models then your favourites, so you never scroll through hundreds of models.
  • On a Beta engine's tab, the box What changes with ... comes first. The last tab, Compare, holds the table above: what each engine does with Harness today.

If the engine stops

The card If the engine stops (off by default: empty list) lists other engines, in order, that carry on a scheduled job or an agent run when its engine stops on its usage limit or an API error (overloaded, unreachable). Add an engine (and a model if you want one, such as Claude Code on Sonnet, or OpenCode with a local model), reorder, remove. The engine that takes over gets what was said so far and finishes the task, in the same session; a note says which engine took over and why, and the notifications feed records it. At most 4 engines; an engine already tried is never tried twice in the same run. When every engine stopped, the job's usual retries apply.

Your own conversations never move to another engine by themselves (the message stays where you sent it). A job can have its own list (If the engine stops, carry on with in its editor) and an agent too (fallback in its agent.json, e.g. ["codex", "opencode:ollama/qwen3"]); they replace this one.

Settings -> Engine is in the AI & tools group of Settings, with Providers, Memory, Skills, MCP, Keys, Browser, Devices and Usage. The settings that are the same for every engine live there too: the permission mode and the protected secrets in Settings -> Security, the context of conversations (compaction) in Settings -> Memory.

Settings -> Providers

A provider is who you pay for the AI models:

  • Subscriptions: Claude (Claude Code) and ChatGPT (Codex). Each one says Connected or Not connected; Sign in opens its sign-in right there (Claude: the token of claude setup-token; ChatGPT: a link and a code), the same one as Add another account. An engine that is not installed yet shows Set up โ€ฆ instead, which opens its panel in Settings -> Engine. Signing in from Settings -> Engine does the same thing.
  • API keys: OpenRouter (Claude Code, Codex, OpenCode), Anthropic API (OpenCode), OpenAI API (Codex, OpenCode). Put the key in Settings -> Keys, then choose it here in the provider's list; or, when no key of that provider is stored yet, Paste a key on its row: it is stored in Settings -> Keys under its usual name and selected. A key already named the usual way (OPENROUTER_API_KEY...) is suggested with a Use button, never taken by itself. The row shows whether it is connected and, for OpenRouter, the credits left (also in Settings -> Usage, and in the sidebar when the active engine uses OpenRouter: a click there opens Settings -> Usage).

Claude Code and Codex can also run OpenRouter models: add one to the engine's favourites (or make it its default) and select your OpenRouter key.

Switching engine

Switch all of Harness to โ€ฆ first shows what the new engine would refuse, and why: the sessions in plan mode, the agents it does not run (or whose sandbox, approvals, forbidden tools or own rules it cannot give), the permission modes in use that it cannot do, and side questions. For a Beta engine it also shows the What changes box. If Harness cannot check, the window says Impact unknown. Nothing is refused silently: what is listed stops with a message until you change it or come back to an engine that can. Once you confirm:

  • every session, agent, job and Telegram message continues on the new engine at its next message; nothing running is cut;
  • the new engine catches up: it is given what was said and done in the conversation since it last took part (Harness keeps the history; a very long one is shortened in the middle). The session shows a line saying so;
  • the history stays displayed, and switching back goes on with the previous engine's own thread, which also catches up on what it missed.

There is no hidden fallback: what the active engine cannot do is greyed, and refused with the reason, never run on another engine behind your back. In the chat, these stay in their place, greyed, with the reason Not with โ€ฆ (in their description, or their tooltip on a computer and a line under them on a phone): plan mode (the session's options, a new session, /plan), Question and Add to task on the messages waiting during a turn, and a favourite model whose provider has no key (no key). Change the setting (permission mode, plan mode, the agent's settings) or switch to an engine that can.

An engine of your own

An administrator can add another coding agent: drop an engine file in the engines folder of the workspace (engines/<name>/engine.py, starting from a template in the product's developer docs: docs/dev/engine-template/ for a CLI, docs/dev/engine-template-api/ for a loop of your own). It then appears in Settings -> Engine like the others, marked Beta, with the same rules. A dropped engine is code that runs with the server's rights: only add one you wrote or have read in full. Check it with maxxing engines test <name>, which runs the same checks as the shipped engines in a temporary workspace and touches nothing of yours. If the file cannot be loaded, the other engines keep working and maxxing doctor names the file and the reason.

At installation

The installer asks which engine runs your sessions (Claude Code recommended, Codex or OpenCode; ENGINE= without a terminal). Claude Code is installed in every case. The web onboarding then asks you to connect that engine: its sign-in, or the key of its provider.

From a terminal

maxxing engines list                                 the matrix, the active engine, what is missing
maxxing engines install codex                        (or opencode)
maxxing engines use codex                            switch the whole of Harness (refused if not ready)
maxxing engines model codex <model>                  an engine's default model (--small: its small model)
maxxing engines favorite opencode openrouter/z-ai/glm-4.6 [--remove]
maxxing engines provider openrouter OPENROUTER_API_KEY   the vault key a provider uses
๐Ÿ’ก 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