# Engine: Maxxing Code

The open source coding agent made by Harness Maxxing's maintainers (MIT licence), **beta**. Harness runs Maxxing Code
as it is; what differs from Claude Code is listed in the box **What changes with Maxxing Code** (Settings -> Engine ->
Maxxing Code). See [Engines](engines.md) for what is common to every engine.

## Sign-in and providers

An API key, of any provider Settings -> Providers lists for it: **OpenRouter** (its free models included), Anthropic,
OpenAI, Google Gemini, Mistral, xAI, Alibaba, Moonshot AI, DeepSeek, Groq, Cerebras, Together AI, Fireworks AI, Deep
Infra, NVIDIA, Z.AI, MiniMax, and the plans that work with a key (Kimi Code plan, Alibaba Coding Plan, Z.AI Coding
Plan, MiniMax Token Plan). Put the key in Settings -> Keys, then choose it in Settings -> Providers. No subscription
sign-in.

**Install** in its panel runs Maxxing Code's own install script: one program of about 100 MB in `~/.local/bin`, no
Node.js needed. It updates itself: run `maxxing-code update` on the server (Harness does not pin its version; Install
is offered again only when the installed version is older than the one Harness was tested with).

## Models

`provider/model` (`openrouter/nvidia/nemotron-3.5-lightning:free` by default): the models of every provider you
chose a key for are listed, and any other model of those providers can be picked as a favourite. Effort levels: low,
medium, high and max (no "extra high": a session set to it runs at high).

## What works

Conversation, tools, files and the Changes view, memory, skills, MCP servers, steer, **Add to task**, **side
questions** (asked on a copy of the conversation, which stays as it was), agents, the
topic's agents called as **sub-agents**, the Sandbox mode of a topic, sandboxed agents, the small calls, thinking with
the models that think, **pictures** attached to a message (the model sees them), **effort levels**, the real cost of
each turn, and every permission mode:

- **Ask me** and an agent's approvals: before an action Maxxing Code would ask about, the Allow / Deny card shows in
  the session (and on Telegram), as with Claude Code. Your topic's "Always allow" rules pass without asking.
- **Default** and **Accept edits**: what the mode would ask about is refused (nobody is there to answer), as with
  Claude Code.
- **Plan mode**: Maxxing Code explores without changing anything, and its plan comes back as the answer; you validate
  it as usual, then it does the work.
- **Questions**: when it asks you a question in the middle of a turn (in Ask me mode, or for an agent with
  approvals), it shows as an approval card with the question and its choices: press **Deny** and write the choice
  (its label or its number) as the reason. Allow, or another reason, lets it choose by itself. In the other modes it
  chooses by itself and says which choice it took.

## How Harness adapts it

- **Memory and skills**: Maxxing Code reads the folder's CLAUDE.md, the files it imports, every level above and the
  `.claude/skills` folders by itself, like Claude Code. Harness only adds what it would not read (the instructions of
  the turn). Each session has its own Maxxing Code folder, inside Harness's state: your own `~/.maxxing-code` is not
  used.
- **Rules**: Maxxing Code applies Harness's deny rules itself, in every mode ("Protect the secrets", the folder
  settings, an agent's forbidden tools): Harness writes them into its settings before each message. In Sandbox mode,
  Harness's sandbox goes around it as well. Like Claude Code outside its sandbox, its shell is not checked against the
  rules on files, and a rule on one command does not stop another command doing the same.
- **The folder's own tools** (`.maxxing/tools/`): loaded, as the session's folder is trusted; not loaded when a rule
  forbids shell commands (such a tool runs a command).
- **MCP servers**: those of Settings -> MCP and Harness's own are given to it at the start of each message.
- **Cost**: the real cost of each model call, as Maxxing Code computes it, so budgets work.

## Limits

- Refused with the reason, never run on another engine: an agent's own rules (checked before each tool call).
- **Side questions** need Maxxing Code 0.6.0 or later (Install is offered again to an older one): with an older
  version, the side question says to run `maxxing-code update` on the server.
- A picture outside the session's folder, or over 5 MB, is given as a file path: Maxxing Code opens it with its own
  tool when it needs it.

## From a terminal

```
maxxing engines install maxxing-code
maxxing engines provider openrouter OPENROUTER_API_KEY
maxxing engines use maxxing-code
maxxing engines model maxxing-code openrouter/nvidia/nemotron-3.5-lightning:free
```
