# Engine: Claude Code

Anthropic's coding agent, the **default engine** and the reference: everything Harness offers works on it (status **Ready**; the other engines are beta). See
[Engines](engines.md) for what is common to every engine.

## Sign-in and providers

- **Claude subscription** (Pro, Max, Team): Settings -> Engine -> Claude Code -> sign in, or a token from `claude setup-token`.
- **Anthropic API key**: the same panel.
- **OpenRouter**: Claude Code can also run OpenRouter models (`openrouter/vendor/model`) with your OpenRouter key,
  chosen in Settings -> Providers. Such a model has its own thread of the conversation, which catches up like any
  engine switch.

## Models

The default model (Sonnet, Opus, Haiku...), a small model for titles and summaries, and your favourites (OpenRouter
models included), shown in the chat's model menu. Effort levels: low to max.

**Sub-agents model**: the model of the sub-agents Claude starts to split up the work (the Agent tool). Sonnet by
default; "Same as the session" brings the old behaviour back. An agent can have its own (its settings -> Essentials).

## What works

Everything: plan mode, the Ask me mode and approvals, Add to task during a turn, side questions, steer, the Changes view,
agents and the topic's agents called from a session, questions to you in the middle of a turn, Harness Browser, Devices,
pictures attached to a message, the Claude subscription limits in the sidebar.

## How Harness uses it

- **Sandbox**: Claude Code's own sandbox, fed by Harness with the walls of the topic or the agent (folders it may
  write, secrets hidden, allowed sites). In a topic's Sandbox mode, a command that cannot run inside is asked to you
  before it runs outside.
- **Rules**: Claude Code applies Harness's deny rules, "Protect the secrets", an agent's forbidden tools (from the broad
  to the fine: one command) and its own rules itself, **in every mode**; the other engines do it in Sandbox mode only
  (see [Engines](engines.md)).
- **Memory, skills, MCP servers**: read natively (CLAUDE.md and memory.md, skills folders, Settings -> MCP).
- **Cost**: in dollars, as Claude Code reports it.

## Limits

None on Harness's side. The Claude subscription's own limits apply (shown in the sidebar); with an OpenRouter model, the
model's own abilities (some use tools poorly).

## From a terminal

```
maxxing engines use claude-code
maxxing engines model claude-code sonnet            (--small: its small model)
maxxing engines favorite claude-code openrouter/z-ai/glm-4.6
```
