Skip to main content

Harnesses

A harness is the underlying CLI that drives a workspace agent: the binary that runs in a terminal-backend pane (Herdr by default; see Terminal backend). The model is what the binary calls. They are picked independently per spawn.
Supported today: claude-code (default), pi, ohmypi, codex, acp, kimi-code, opencode, muse, prime-agent, grok, and antigravity. For the wider field of coding-agent harnesses Overdeck could adopt next, and how each one handles skills, MCP, and AGENTS.md, see the Harness Landscape.

Composer commands across harnesses

The dashboard reserves /pan <verb> [args] for Overdeck operator commands. The dashboard parses and executes this namespace before a message reaches the coding harness, so /pan has the same syntax, validation, canonical arguments, confirmations, and result shape under every harness (claude-code, pi, ohmypi, codex, acp, kimi-code, opencode, muse, prime-agent, grok and antigravity). Unprefixed pan ... text is still delivered as an ordinary prompt. Harness-native slash commands are a separate lane and are not uniform. The composer menu reads the active harness’s verified capability list: for example, Claude Code exposes native commands such as /model, while a harness with no verified inventory shows no native entries. Overdeck commands appear in their own Overdeck group, so choosing a harness never changes the /pan control-plane surface. Type /pan alone and send it to list the Overdeck commands; the ones that run in the composer come first. Installed skills appear in their own Skills group, as /<skill-name>, on a harness that runs /<skill> as a skill itself (the skillSlashCommands capability; today only Claude Code). Unlike /pan, the dashboard never intercepts these; the harness receives and runs them. The group lists the skills enabled for the open conversation (or agent session), after its conversation, issue, project, and global overrides, the same way a launch decides what to hide, fetched from GET /api/skills/overrides only while the menu is open. Skill pack skills and the pan and pan-handoff skills are not listed: the composer itself handles /pan … and /pan-handoff. The composer’s $ menu lists the same skills on any harness that declares skillMention, and inserts the harness’s own form: /<skill-name> for slash (Claude Code) or $<skill-name> for dollar (Codex). The @ menu works under every harness, because it only inserts a file path. Managed Codex sessions use an isolated CODEX_HOME. On initialization and resume, Overdeck copies the Agent Skills standard directories synced by pan sync from ~/.agents/skills into that home’s skills/ directory. Managed skills are refreshed additively, per-agent-only skill directories are preserved, and Codex still keeps its sessions and configuration inside the isolated home.

Steering a running turn

Pressing Enter in the dashboard composer queues your message while the agent is busy: Claude Code feeds it to the model at the next tool boundary, or after the turn ends. To change course now, steer. Press Ctrl+Enter (Cmd+Enter on macOS), or choose Send: interrupt now in the composer’s Send menu, which then applies to Enter as well. From a shell, pan tell --steer <id> "<message>" does the same. A steer never falls back silently to a queued message. A harness without steer answers steer-unsupported and delivers nothing. A Claude Code agent launched before steer support has a PTY supervisor that presses Enter instead, and the delivery reports that it went out as a normal submit. Send now. A message sent while Claude Code is busy waits in Claude Code’s own queue, and its bubble reads Sent · waiting for transcript. Click Send now on that bubble, or press Ctrl+Enter (Cmd+Enter on macOS) on an empty composer, to interrupt the turn and send every queued message at once, like the TUI’s Ctrl+Enter on an empty input box. Overdeck presses Claude Code’s send-now chord, Ctrl+X Ctrl+S, and types no text. It works for conversations and workspace agents, Claude Code only. With nothing queued it does nothing. Text typed into the agent’s input box in the Terminal tab is submitted with it.

Supported harnesses

Claude Code (default)

  • Shipped by Anthropic; Overdeck installs no special integration. Drop in claude and run.
  • Local models through Ollama. Ollama 0.14 and newer serves the Anthropic Messages API, so Claude Code drives a GPU model on your own machine the same way it drives a cloud one. Model ids are ollama:<tag>, the run costs nothing, and model traffic stays on the host. No local model has completed a work-agent task yet, so treat it as experimental. See Local models (Ollama).
  • Works with both subscription auth (Claude Code OAuth) and API-key auth.
  • Folder trust. Before each launch Overdeck marks the launch folder and its git repository root trusted in ~/.claude.json, so an agent never waits at Claude Code’s “Is this a project you trust?” dialog. Overdeck does not copy your user-level permissions into workspace .claude/settings.json; they already apply to every session. If an agent is still stuck at a startup menu three minutes after launch, Needs you lists it, and pan answer <agent> <n> answers it on Herdr and tmux (PAN-4242).
  • All role runs (plan, work, review, test, ship) default here.
  • The model picker includes Claude Fable 5.2 (claude-fable-5-2): 1M context, 128K maximum output, always-on adaptive thinking, and low through max effort. API pricing is $8/M input, $40/M output and $0.20/M cache reads, which is cheaper than Fable 5.1 ($10/M and $50/M). It requires Claude Code 2.1.321 or newer; older versions treat it as an unrecognized model. Fable 5.1 stays selectable as the previous Fable. No default uses Fable 5.2.
  • The model picker includes Claude Opus 5.5 (claude-opus-5-5): 1M context, 128K maximum output, always-on adaptive thinking, and low through max effort. API pricing is $4/M input and $20/M output; subscription availability depends on the Anthropic account.
  • The model picker includes Claude Sonnet 5.5 (claude-sonnet-5-5): 1M context, 128K maximum output, adaptive thinking, and low through max effort. API pricing is $2/M input, $10/M output and $0.10/M cache reads (cut from $0.20/M on 2026-10-07). It requires Claude Code 2.1.284 or newer; older versions treat it as an unrecognized model with a 200K window. It is the default for the Sonnet tier (the default conversation model, status review, fork summaries and provider fallback). Claude Opus 5.5 is the built-in workhorses.mid default since PAN-5124. Overdeck omits temperature for models that reject sampling parameters (Sonnet 5 and newer, Opus 4.7 and newer, Haiku 5.5, Fable).
  • The model picker includes Claude Haiku 5.5 (claude-haiku-5-5): 1M context, 128K maximum output, adaptive thinking on by default with medium as the default effort, and low through max effort. Manual extended thinking (budget_tokens) and non-default sampling parameters return 400. API pricing depends on prompt size: up to 100K tokens it is $0.10/M input, $0.50/M output and $0.01/M cache reads; above 100K tokens every rate is 5×. Its tokenizer counts about 30% more tokens than Haiku 4.5 for the same text. It requires Claude Code 2.1.293 or newer. It is the built-in default for the cheap slot and background calls (titles, compaction, memory extraction).
  • Overdeck passes every Claude model to claude --model as its full API ID, never the short opus, sonnet or haiku alias. Claude Code moves those aliases to each new release: 2.1.293 points haiku at Haiku 5.5, and opus resolves to Opus 5.5, so an alias launches a different model than the one configured.
  • The workhorses.expensive slot and the flywheel role default to claude-opus-5-5 (from v0.67.0; previously claude-opus-4-8).
  • To set the workhorse slots, roles, tiers and background models to one provider’s eval-backed lineup in one step, use a model preset.
  • Proxied models use a dedicated Claude Code context policy rather than copying every value from the generic model registry. GPT-6 Astra, Sol and Luna, GPT-6.1 Sol and Terra, GPT-6.2 Astra and Sol, and GPT-5.6 Sol, Terra and Luna default to a 272000-token pin for both CLAUDE_CODE_MAX_CONTEXT_TOKENS and CLAUDE_CODE_AUTO_COMPACT_WINDOW. OpenAI bills prompts with more than 272K input tokens at 2x input / 1.5x output for the full request, so the default keeps sessions under that tier. The gpt-5.6-sol[372k], gpt-5.6-terra[372k], and gpt-5.6-luna[372k] picker variants opt into a 372000-token pin for long-research sessions that accept the surcharge; the [372k] suffix is Overdeck-side only and is stripped before the model id reaches the API. The GPT-6 models (gpt-6-astra, gpt-6-sol, gpt-6-luna, gpt-6.1-sol, gpt-6.1-terra, gpt-6.2-astra, gpt-6.2-sol, gpt-6-rosalind, gpt-6-astra-law) have no [372k] variant: the 372K pin was measured on gpt-5.6-sol and has not been re-measured for GPT-6. The maximum tells Claude Code the route’s capacity; the auto-compact window is the capacity used by Claude Code’s normal proactive compaction calculation, not an instruction to compact at exactly that token count. GPT-5.5 keeps its separately measured conservative 150000 window and Kimi K2.7 Code its 262144 window; each value is exported as both the maximum and the auto-compact window. Kimi K3 exports both values from its model capability: 262144 for k3 and 1048576 for k3[1m], matching Kimi’s Claude Code recipe. Anthropic models get only CLAUDE_CODE_AUTO_COMPACT_WINDOW, set to the model’s context window; Claude Code’s own maximum stays in control. Ollama models get both values from the loaded model’s window.

Scratch directory

Managed Claude Code sessions keep their scratchpad under ~/.overdeck/tmp/claude-<uid>/ because Overdeck sets CLAUDE_CODE_TMPDIR=~/.overdeck/tmp (mode 0700) in every local launch. /tmp is emptied at boot on many Linux distributions, which otherwise loses in-progress scratch files on a reboot. TMPDIR is left unchanged, so build tools still use /tmp. Fly (remote) launches are unchanged. The Deacon removes a session’s directory once nothing in it has changed for 14 days and no live agent owns the session, checking hourly, and pan doctor shows the folder’s size and warns above 10 GiB. Other harnesses (Codex, pi) already keep their session state under ~/.overdeck/agents/.

Claude Code version requirements

Some models need a newer Claude Code CLI than an older install recognizes. Overdeck tracks each model’s minimum on its capability row and checks it before every claude-code launch: Background calls that run through Claude Code (conversation titles, title refinement, the About summary and smart compaction) run the same check, and fail with the same message instead of switching models. A launch whose Claude Code is too old is refused before a terminal session is created. The error names the model, the installed and required versions, the launch binary’s path, and the exact upgrade command, for example:

Automatic updates

Overdeck keeps npm-installed coding-agent CLIs (Claude Code, pi, Codex CLI, OpenCode and Grok Build) up to date by default. It checks 2 minutes after the dashboard starts and then once a day. It checks one CLI at a time, and it updates a CLI only when npm has a newer version. When a launch needs a newer Claude Code, Overdeck first runs the Claude Code update once (for an npm or a native install), checks the version again, and continues the launch if the new version is enough. If the update fails, the launch error ends with a sentence that says what failed. Overdeck then waits 15 minutes before it tries that update again for a launch. The daily check does not update CLIs that were installed another way (native claude, Kimi, Homebrew, a root-owned npm prefix, or Windows). The dashboard log names the command to run for each of them. Running agents and conversations keep the version they started with. New launches use the new version. A failed daily update shows in Needs you with the error and the command to run by hand. Overdeck tries it again at the next daily check. To turn automatic updates off, open Settings, go to Coding Agents, and switch off Keep coding-agent CLIs up to date automatically. Or set it in ~/.overdeck/config.yaml:
The setting applies to the whole machine. A project .pan.yaml cannot set it. With it off, Overdeck behaves as before: the launch is refused and the dashboard shows the Upgrade Claude Code banner. The dashboard shows the same check as a banner in the system notices row while any configured model’s minimum is unmet. A user-writable npm, native (claude update), or reachable-brew install gets an Upgrade Claude Code button that runs the upgrade in a terminal session and re-checks when it finishes; a root-owned npm prefix, an unrecognized install, or Windows shows a copyable command instead, since Overdeck never runs sudo or a root-owned install itself. Either way, running agents and conversations keep their current Claude Code; only new launches use the upgraded one. pan doctor reports the installed Claude Code version, its install method and path, one row per configured model with a documented minimum, and a warning row for every other claude binary on PATH (“shadow” binaries) that could confuse a shell running claude directly.

Muse Code

Install Muse Code and sign in with muse login. For API-key authentication, use muse auth set --api-key-stdin; Muse owns its credentials. Overdeck uses the installed muse binary and does not route these models through CLIProxy. The integration is verified with Muse Code 1.0.2; Muse Ember was checked with Muse Code 1.4.15. Enable Meta (Muse) in Settings → Providers, then choose a model in the model picker. All five use a 1,048,576-token context window: Muse Ember bills a request with more than 200K input tokens (cached tokens included) at $0.30 / $0.012 / $1.50 per million tokens, and Overdeck’s cost tracking applies that rate per request. Muse Wonder, Muse Spark 1.3, Muse Ember and Muse Wonder Full accept max effort and Contributor stops at xhigh; Overdeck still sends at most xhigh (see the effort table). Muse Wonder (muse-wonder-1.0) is Meta’s frontier model, released on 2026-10-12. Muse Ember (muse-ember-1.0), released on 2026-11-09, is Meta’s low-cost Standard model. It has no Contributor tier, and Meta’s docs support only the full ID, not a bare muse-ember alias. Muse Wonder Full (muse-wonder-full-1.0) is available only on the Muse Code Power Usage ($50/mo) and Maximum Usage ($200/mo) plans. It is not served by the Meta Model API, so it has no per-token price; the picker and cost tables mark it as a subscription model. Real acceptance against those plans has not been verified in this repository. The Contributor tier requires contributing prompts and completions for model training. Choose it explicitly when that data use fits your work. Standard and Contributor remain separate model IDs throughout launch and accounting. These catalog prices are estimates; your Meta account’s billing terms apply. You can also enable the provider in ~/.overdeck/config.yaml:
Choose a Muse model explicitly for a conversation or role; enabling the provider does not change your configured default model. Muse runs with high reasoning effort by default and keeps its native tool-approval behavior. Overdeck supplies its context layers and role instructions through a managed developer-context file. Muse sessions are isolated by agent identity, and resume uses the native session UUID. The dashboard displays committed user and assistant messages and reports token costs. Use the Terminal tab for Muse’s detailed tool activity and approval prompts. Native reasoning and internal configuration records are excluded from the chat feed.

Pi Coding Agent / pi

pi (the Pi Coding Agent, @earendil-works/pi-coding-agent, binary pi) is the built-in default harness for Google, xAI, MiniMax, Z.AI, MiMo, OpenRouter, Nous, DashScope, Groq, Cerebras and Mistral. Anthropic models default to claude-code, OpenAI models to codex, Kimi models to kimi-code, OpenCode Go and Zen to opencode, Grok Build to grok, Meta to muse, and Ollama and QuantumLlama to claude-code. A provider’s Default harness in Settings → Providers (models.providers.<provider>.harness) overrides that built-in default, and an explicit --harness or picker choice overrides both. See Model routing. pi is oh-my-pi’s upstream, so Overdeck drives both the same way: RPC mode (pi --mode rpc) over the rpc.in named pipe for work agents, the TUI for conversations, and a vendored extension (packages/pi-extension/) that writes ready.json, heartbeats, the session index and the /pan-done marker. The differences Overdeck follows (verified against pi 0.85.0 and 1.5.2 in .pan/pi-vs-omp.md):
  • Resume uses pi --session <id>; pi’s --resume opens a picker.
  • Project trust: launches pass --no-approve, so a project with .pi/ or .agents/skills resources never blocks a conversation on pi’s trust dialog. AGENTS.md and CLAUDE.md still load.
  • Model ids are always provider-qualified (google/gemini-3.8-flash, openrouter/<vendor>/<model>). pi fuzzy-matches an unknown id to another provider instead of failing, so Overdeck merge-writes the tier models pi’s catalog lacks into ~/.pi/agent/models.json before each launch (for example xai/grok-build-0.1 and custom nous and dashscope providers). It reads the installed pi’s catalog first, so a model pi ships keeps pi’s own definition, and it removes its own entry once pi ships that id. Your own entries in that file are kept.
  • Questions: pi has no ask tool, so a question is plain assistant text and the dashboard answers it with a message.
  • No MCP: pi ships no MCP client, so the Overdeck MCP server is not injected (the same as oh-my-pi); agents use the pan CLI.
Stored conversations with harness: pi read as pi. They all predate the 2026-06 switch to oh-my-pi and ran on pi.

oh-my-pi / ohmypi (alternative)

  • Runs in RPC mode (omp --mode rpc), like pi, so Overdeck can write structured commands to omp’s stdin via a named pipe (mkfifo at ~/.overdeck/agents/<agentId>/rpc.in).
  • No provider defaults to oh-my-pi. Pick it with models.providers.<provider>.harness: ohmypi, or explicitly per launch.
  • Vendored extension at packages/ohmypi-extension/ reports lifecycle events: session_start writes a ready.json, tool_execution_end updates a heartbeat, and a /pan-done slash command writes a completion marker.
  • Multi-provider: drives Anthropic, OpenAI, Google, OpenRouter, Minimax, DashScope through omp’s own provider routing. (QuantumLlama, a fictional benchmark provider with no live endpoint, is also registered for pipeline testing; see benchmarks/specs/quantumllama.md.)

OpenAI Codex CLI (alternative)

  • First-party OpenAI agent loop for the GPT model family (GPT-6.2 Astra/Sol, GPT-6 Astra/Sol/Luna, GPT-6 Rosalind, GPT-6 Astra for Law, GPT-6.1 Sol/Terra, GPT-5.6 Sol/Terra/Luna) with ChatGPT-subscription or API-key auth. Older GPT-5.x selections migrate to the GPT-5.6 tier.
  • gpt-5.6-sol is the default OpenAI model surfaced by this harness. gpt-6.2-astra is the newest and most capable OpenAI model; it and gpt-6-astra are opt-in, so pick them explicitly. gpt-6-sol and gpt-6-luna (September 2026) are the GPT-6 successors to GPT-5.6 Sol and Luna at half or less of their API price (Sol $2/$10, Luna $0.10/$0.50 per 1M input/output tokens); they are opt-in too. Under ChatGPT sign-in, gpt-6-sol and gpt-6-luna need Codex CLI 0.156.1 or newer; OpenAI answers HTTP 400 below that version (openai/codex#47784). gpt-6.1-sol (September 29, 2026) is the GPT-6.1 successor to GPT-6 Sol at the same $2/$10 price with $0.10 cached input; it is opt-in. Under ChatGPT sign-in it needs Codex CLI 0.159.0 or newer. gpt-6.1-terra (October 26, 2026) is the GPT-6.1 workhorse tier below GPT-6.1 Sol, at $1/M input, $0.05/M cached input and $5/M output; it is opt-in. Under ChatGPT sign-in it also needs Codex CLI 0.159.0 or newer. gpt-6.2-astra and gpt-6.2-sol (November 2026) are the GPT-6.2 successors to GPT-6 Astra and GPT-6.1 Sol. gpt-6.2-astra costs $8/M input, $0.40/M cached input and $40/M output; gpt-6.2-sol costs $2/M input, $0.10/M cached input and $10/M output. Input over 272K bills more (astra $16/$0.80/$60, sol $4/$0.20/$15), so both are pinned to the 272K window like the rest of GPT-6. Both are opt-in. Under ChatGPT sign-in they need Codex CLI 0.170.0 or newer, the first version verified to list them. gpt-6-rosalind (October 30, 2026, life sciences) costs $15/M input, $1.50/M cached input and $75/M output, and its API access is limited to OpenAI’s trusted-access program. gpt-6-astra-law (the legal configuration of GPT-6 Astra) costs $10/M input, $1/M cached input and $50/M output at a promotional price through at least December 31, 2026. Both are opt-in and run on the Codex harness only. Neither appears in the Codex 0.159.0 ChatGPT sign-in catalog, so Overdeck sets no Codex floor for them. gpt-6-astra and API-key auth have no floor. Overdeck refuses such a launch before it starts (pan start, the dashboard, conversations, and every other spawn path), names the required version, and never substitutes another model. Upgrade with npm install -g @openai/codex; pan install does not manage the Codex CLI. An npm-installed Codex CLI is also updated daily; see Automatic updates. pan doctor shows a Codex model floor row per model. On the claude-code harness through CLIProxy, CLIProxy 7.3.16 (the pin until PAN-5282 moved it to v8.0.71) was verified on 2026-09-29 to serve gpt-6-sol, gpt-6-luna and gpt-6.1-sol under ChatGPT sign-in. The same version served gpt-6.1-terra on the claude-code harness on 2026-11-11 (PAN-4634); on 2026-10-26 it did not. CLIProxy refreshes its model list from a remote catalog every three hours, so which models it serves can change without a version change. CLIProxy v8.0.71 listed and served gpt-6.2-astra and gpt-6.2-sol under ChatGPT sign-in on 2026-11-18 (PAN-5522). It does not list gpt-6-rosalind or gpt-6-astra-law; use those on the Codex harness.
  • When a Codex turn fails because the shared sign-in is dead (a used or revoked refresh token), the dashboard shows the Codex authentication banner within about a minute. Click Re-authenticate or run codex login; running sessions pick up the new sign-in without a restart. Send a message to resume each affected conversation. A conversation whose context is full and cannot compact shows that error and needs a handoff.
  • Work agents use a persistent codex app-server child by default. Overdeck talks newline-delimited JSON-RPC over stdio, so message delivery, approvals, readiness, and interruption are structured protocol events rather than TUI keystrokes.
  • Set codex.transport: tui as a temporary escape hatch to the legacy live, attachable TUI path (codexMode: work-tui) under the PTY supervisor. Both transports are persistent sessions, never one-shot codex exec.
  • The app-server transport requires Codex CLI 0.144.0 or newer. Upgrade with your normal Codex CLI install method, then verify with codex --version.
  • Conversations (not work or review agents) run their app-server on a private native endpoint, a Unix socket at ~/.overdeck/agents/<id>/codex-native/app.sock (directory 0700, socket 0600), and Overdeck connects to it as a WebSocket client instead of stdio. That lets Terminal attach the native Codex CLI to the same thread with codex resume --remote, while the dashboard keeps its structured connection; see Native Codex CLI in Terminal. The native CLI needs Codex CLI 0.153.4 or newer. With an older CLI the conversation keeps working over stdio and Terminal explains the upgrade. A conversation whose host started without the native endpoint shows Restart required for the native CLI until it is stopped and resumed. Protocol evidence: docs/CODEX-APP-SERVER-PROTOCOL.md.
  • Runtime adapter at src/lib/runtimes/codex.ts; per-agent thread-id pinning enables session introspection and cost parsing (src/lib/cost-parsers/codex-parser.ts).
  • Native AGENTS.md and Claude-Code-compatible skills; pan sync prepares the global context and skill sources, then each isolated Codex home receives an additive copy of the synced skill directories during initialization.
  • Role-declared MCP servers, such as Playwright for the test role, are provisioned as [mcp_servers.<name>] entries in the per-agent Codex config so browser UAT can run on Codex.

Codex command approvals

Overdeck gives each managed Codex session an isolated CODEX_HOME, but links its rules/ directory to your native ~/.codex/rules/ directory when that user rule layer exists. Execpolicy approvals you deliberately persist in Codex therefore apply to later Overdeck agents instead of prompting once per managed home. For example, this user rule permits the read-only GitHub query without enabling network access for every sandboxed process:
An allow decision runs every matching command outside the sandbox without a prompt, so keep patterns as narrow as the operation permits. In particular:
  • gh issue create and gh issue comment accept file-backed body arguments, so allowing either whole prefix also lets the command read and publish any file the host user can access.
  • A broad git push prefix includes force pushes, deletion refspecs, arbitrary remotes, and option reordering. Keep it prompt-gated unless you route the push through a command that validates the remote, branch, and non-force semantics.
  • [sandbox_workspace_write] network_access = true enables networking for every process in the workspace sandbox. It is broader than a command rule and is unnecessary when only specific trusted commands need network access.
Inspect a rule before relying on it:
See the Codex rules documentation for rule precedence and the full execpolicy syntax.

Agent Client Protocol / Kimi Code CLI (alternative)

Agent Client Protocol (ACP) is an open, newline-delimited JSON-RPC protocol for driving coding agents as persistent child processes. Overdeck’s native acp harness launches the agent without a shell and keeps structured prompts, tool calls, approvals, cancellation, and session resume off the terminal keystroke path. The acp harness runs Kimi Code CLI only. OpenCode and Grok Build also use Overdeck’s ACP host, under their own opencode and grok harnesses. Install Kimi Code CLI using its getting-started guide, then complete the one-time interactive login before starting an ACP session:
The kimi acp subprocess reuses those saved credentials. If /login has not been completed, Overdeck stops the launch with an authentication-required error rather than silently switching harnesses. pan doctor probes whether the optional kimi prerequisite is available on PATH. Kimi’s built-in default is the native kimi-code harness (below); opt its provider into ACP instead from Settings → Providers → Kimi (Moonshot) → Default harness, which offers ACP and Kimi Code alongside the shared harnesses. The same choice can be written directly in ~/.overdeck/config.yaml:
The provider setting (models.providers.kimi.harness) is stored internally as providerHarnesses.kimi. Version one supports only acp.permissionMode: auto: Overdeck chooses an allow option the ACP agent actually advertised, preferring a session-scoped allow and then a one-shot allow. A configured ACP route fails loudly when its binary or saved authentication is missing; it never falls back to Claude Code. For Claude Code and Codex permission modes, see Permissions and agent guardrails. Each session runs through the authenticated acp-host process, with its token (acp-token), ACP session id (acp-session-id) and append-only transcript (acp-session.jsonl) under ~/.overdeck/agents/<agentId>/, and its socket at ~/.overdeck/sockets/acp-<agentId>.sock. The transcript records agent reasoning (agent_thought_chunk updates) under a separate thought role, and the conversation feed renders it as thinking rows, as it does for Claude Code thinking blocks. The runtime adapter is src/lib/runtimes/acp.ts; Kimi-specific launch and authentication behavior is in src/lib/acp/kimi.ts. When the agent rejects a prompt (for example an OpenCode provider error such as Rate limit exceeded), the host records a prompt_failed transcript entry and the conversation feed shows it as a red Prompt failed row carrying the provider’s message.

Kimi Code CLI, native (alternative)

kimi-code drives Moonshot’s own Kimi Code CLI directly through its native terminal UI, with no Agent Client Protocol host, no JSON-RPC and no shell-out to a subprocess wrapper. Overdeck launches kimi in a terminal-backend pane (Herdr or tmux) under the PTY supervisor (the same delivery path claude-code uses), reads Kimi’s own wire.jsonl transcript for cost and conversation-feed rendering, and lets Kimi’s server-side context cache discipline apply exactly as it would for a human running kimi at a terminal. This is a different harness from acp, even though both ultimately run the same kimi binary: Neither replaces claude-code pointed at Kimi’s Anthropic-compatibility endpoint (ANTHROPIC_BASE_URL + KIMI_API_KEY, still supported as an operator override; see When to pick which): that route runs the Claude Code binary itself against Kimi’s models, forfeiting Kimi’s own server-side context cache accounting that kimi-code and acp both keep. Install Kimi Code CLI using its getting-started guide. The binary installs to ~/.kimi-code/bin/kimi. The installer does not put that directory on the PATH Overdeck inherits. On Linux it appends the export to the interactive section of ~/.bashrc, which a non-interactive login shell skips, so neither the dashboard’s own PATH nor its bash -lc command -v kimi fallback can see the binary. Overdeck therefore searches ~/.kimi-code/bin directly, alongside ~/.local/bin and ~/.claude/local, and a stock install needs no configuration. Set the path explicitly only when the binary lives somewhere else:
Then complete the one-time interactive login before starting a kimi-code session:
kimi-code is Kimi-only: canUseHarness('kimi-code', model, authMode) blocks every non-Kimi model with a reason naming the restriction, the same way the ToS gate blocks ohmypi + Anthropic + subscription (see ToS rules below; this is a model-provider restriction, not a Terms of Service one, but it is enforced identically at every spawn entry point and every picker). Pick a Kimi model, or use the model’s supported harness. kimi-code is the built-in default for Kimi models, so no config change is needed to use it. This is a behavior change: a Kimi model that previously resolved to claude-code (routed through Kimi’s Anthropic-compatibility endpoint) now resolves to the native kimi-code harness by default, which requires the installed kimi binary and its own kimi login, not config.apiKeys.kimi. Migration note for existing model pins: the native CLI’s own catalog only exposes kimi-code/k3, kimi-code/k3-256k, kimi-code/kimi-for-coding, kimi-code/kimi-for-coding-highspeed, kimi-code/k3.1-pro, and kimi-code/k3.1-pro-highspeed. A role pinned to the claude-code-routed k3 or k3[1m] id is remapped automatically to the matching native alias (kimi-code/k3-256k and kimi-code/k3 respectively; the context-window sizes, not the bare-string names, decide the mapping). A role pinned to k3.1-pro or k3.1-pro-highspeed is remapped to the same-named kimi-code/ alias. A role pinned to kimi-k2.7-code is remapped to kimi-code/kimi-for-coding. The retired ids kimi-k2.6, kimi-k2.5, kimi-k2 and K2.6-code-preview migrate to kimi-k2.7-code first. Any other id with no native alias fails loudly at spawn with the list of valid native aliases, rather than silently launching the wrong model. kimi-code/kimi-for-coding is K2.8 Preview (1,048,576-token context, effort low/high/max); kimi-code/kimi-for-coding-highspeed is K2.7 Code Highspeed (262,144 tokens, no adjustable effort). To opt back out to claude-code or acp, override the provider’s harness in ~/.overdeck/config.yaml:

Kimi rows in the model picker name their launch route

Kimi models appear in the conversation model picker as one row per launch route. Each row label is the model name with its context size, followed by the harness it spawns (for example Kimi K3 (1M context) then Kimi Code CLI): Clicking a row sets model and harness together, and the spawn honors the pick as an explicit harness choice (policy-gated and fail-loud). The row launches what it says, regardless of the models.providers.kimi.harness default above. The two id spaces are not interchangeable. kimi-code/* ids exist only in the native CLI’s catalog, so canUseHarness blocks them on every harness except kimi-code and acp; bare ids (k3, k3[1m], kimi-k2.7-code, k3.1-pro, k3.1-pro-highspeed) work on every Kimi route because they translate into the native catalog. Effort levels follow the route: native rows offer the kimi binary’s real low / high / max (what its in-session /effort shows), while Claude Code rows offer the full five-level slider. On the Claude Code route, a sk-kimi- key sends k3.1-pro (or k3.1-pro-highspeed) unchanged to the coding endpoint; any other key sends kimi-k3.1-pro (or kimi-k3.1-pro-highspeed) to the Moonshot platform endpoint. K3.1 has one 1,048,576-token tier; there is no 256K variant. Highspeed needs a Kimi Code Allegretto (Pro) plan or higher and uses about 2x quota. Runtime adapter is src/lib/runtimes/kimi-code.ts; the per-agent kimi-session-id file (captured post-launch, since Kimi generates its own session id and it cannot be preset) enables transcript resolution (resolveKimiWirePath in src/lib/agents/transcript-resolver.ts) and cost parsing (src/lib/cost-parsers/kimi-parser.ts).

OpenCode with Go and Zen

Overdeck supports the OpenCode harness with OpenCode Go and OpenCode Zen. The integration was verified against OpenCode 1.18.31. Install or update the CLI with npm install -g opencode-ai@latest, then check opencode --version. The official release feed is anomalyco/opencode. Run opencode auth login on the host and select OpenCode Zen or OpenCode Go. OpenCode owns the saved credentials. Overdeck does not copy them into a workspace or require a second API key. The OPENCODE_API_KEY environment variable is also recognized by OpenCode. Go requires an active Go subscription; Zen uses its own billing. See Go and Zen. Enable the provider under Settings → Providers, then select a model in the conversation picker. Overdeck discovers the installed CLI’s available models, prices, and effort variants with opencode models --verbose; the discovery cache lasts one minute. Sign in to Go before expecting Go models to appear. The provider IDs also work in configuration:
Choose an exact model ID from opencode models, such as opencode/<model-id> for Zen or opencode-go/<model-id> for Go. These namespaces remain distinct from OpenRouter and the model manufacturer’s direct API. OpenCode model IDs only launch through the OpenCode harness; invalid combinations fail before launch. There is no fallback model when the requested model is unavailable. Overdeck runs a persistent opencode acp process through its ACP host. Dashboard messages, interruption, restart, session resume, and transcript rendering use that transport. The conversation’s Terminal view attaches the native OpenCode CLI (opencode attach http://127.0.0.1:<port> --session <id> --dir <cwd>) to the same server and session, with the ACP host log under Runtime log; see Conversations. Plain transcript forks are unavailable; use a summary fork instead. The existing ACP transport does not report session token usage or billed cost. Catalog prices shown in the picker are model rates, not a session billing report. OpenCode receives Overdeck’s rendered context at session start. Use harness:opencode blocks for OpenCode-specific instructions. Native OpenCode rules and its Agent Skills discovery remain available. Effort defaults to high when the selected model exposes effort controls. An unsupported explicit effort or an unavailable model fails visibly instead of selecting another value.

Permission deadlock protection

OpenCode can lose a permission request from a Task subagent before ACP sends it to Overdeck. Overdeck prevents that request from blocking the parent turn by setting this launch-time policy:
These are the only permissions that OpenCode defaults to ask. The policy does not change question, plan_enter, plan_exit, or other permission keys. The OPENCODE_PERMISSION environment value takes precedence over matching rules in the user’s opencode.jsonc, so an explicit deny for these three keys is also overridden. This narrow override prevents an unobservable subagent ask from deadlocking the complete conversation. Each OpenCode ACP host also reserves a loopback HTTP port and records it in ~/.overdeck/agents/<conversation>/opencode-port. While a prompt is running, the host checks once per minute. After 180 seconds without an ACP runtime event, it lists pending permissions and replies always to each one. A recovered ask is recorded in acp-session.jsonl with "source":"watchdog". If an older host is already stuck, inspect and answer its pending request:
For hosts created before the port file existed, use ss -ltnp to find the loopback port owned by that conversation’s opencode acp process. The same port file and acp-session-id drive the native CLI in Terminal. A conversation without opencode-port shows a restart-required message there; stop and resume it to record the port.

Stalled turn detection

OpenCode retries a provider error such as a 429 Rate limit exceeded internally, so the ACP prompt call does not return and nothing reaches the transcript. While a prompt is running and no ACP runtime event has arrived for 30 seconds, the host polls GET /session/status on the same loopback port every 30 seconds. When a session reports {"type":"retry"}, the host writes one prompt_stalled entry to acp-session.jsonl with OpenCode’s retry message (for example opencode is retrying the turn (attempt 4): Rate limit exceeded.) and prints it in the pane. The conversation feed shows it as a red Prompt stalled row. The turn keeps running: the host does not cancel it, and a later completion still records turn_completed. Every ACP provider, Kimi included, also has an inactivity check. A turn with no runtime event for 10 minutes gets the same prompt_stalled entry. Set OVERDECK_ACP_TURN_STALL_MS in the acp-host process environment (it inherits the terminal backend’s environment) to change the timeout, in milliseconds. 0 turns the inactivity check off, but the OpenCode status check still runs. Each prompt gets at most one prompt_stalled entry.

Grok Build CLI

Overdeck runs xAI’s Grok Build CLI as the grok harness. The integration was verified against grok 1.0.77. Install the CLI with curl -fsSL https://x.ai/cli/install.sh | bash (it also installs into ~/.grok/bin, which Overdeck searches), and update it with grok update. pan doctor reports it as not installed, signed out, or <version>, signed in. Sign-in. Run grok login on the host. Grok Build saves the sign-in in ~/.grok/auth.json, and Overdeck reuses it: the ACP host authenticates with the cached_token method. If you are signed out, the launch fails with Grok sign-in is required. Run grok login, then retry. Grok Build prefers an API key over the sign-in, so Overdeck removes XAI_API_KEY from a Grok agent’s environment; the turn is billed to your Grok Build sign-in, never to an API key. Models. The grok provider has four fixed model IDs: grok/grok-4.7, grok/grok-4.7-build-fast, grok/grok-4.6 and grok/grok-4.5. They run only on the grok harness, and the grok harness runs only these IDs; any other combination fails before launch. The bare grok-4.7 ID still belongs to the xai provider (an xAI API key; it launches on pi by default). The pickers list the four models only when the CLI is installed and signed in. Every Grok launch needs an explicit model; there is no fallback.
Effort. Grok Build offers low, medium, high and xhigh. Overdeck sets the ACP reasoning_effort option right after the model, defaults to high, and clamps max to xhigh. A dashboard effort change on a live Grok conversation applies to subsequent turns. Launch. Overdeck runs one persistent grok agent --always-approve --no-leader stdio process per agent behind its ACP host. --no-leader keeps a dedicated process even when ~/.grok/config.toml turns on leader mode, which would share one process across clients. --always-approve approves tool calls inside Grok, including Grok subagents whose permission requests never reach the ACP client. Restart and resume pass the recorded acp-session-id, and the host reopens it with session/load. Context and tools. Grok receives Overdeck’s rendered context at session start; use harness:grok blocks for Grok-specific instructions. The managed per-agent overdeck MCP server reaches Grok through the ACP session/new and session/load requests. Cost. Grok reports token usage and the turn cost (costUsdTicks, units of 10⁻¹⁰ USD) with each prompt result. The ACP host records it on the transcript’s turn_completed entry, and the grok cost reconcile source imports one cost event per turn (provider custom, model grok/<id>). The vendor figure includes the double rate for prompts of 200K tokens or more; Overdeck’s pricing table is used only when a turn reports no cost. The Cloister tick imports a running Grok work agent’s turns. Grok conversations write no agent state, so their turns are imported when POST /api/costs/reconcile runs (the dashboard’s five-minute sweep covers only Pi and Codex). Known behavior. Grok Build loads the operator’s own ~/.grok MCP servers, plugins, hooks and skills into every session, alongside Overdeck’s. MCP servers that fail to authenticate print noise in the agent pane. If the Overdeck Grok Build bot plugin is enabled in ~/.grok/config.toml, its overdeck server is the outside-client plugin; the harness agent already gets its own per-agent overdeck server. In the live check (bot plugin enabled), the agent’s overdeck__list_conversations call was answered by the per-agent server. Plain transcript forks are unavailable; use a summary fork.

Antigravity CLI

Overdeck runs Google’s Antigravity CLI as the antigravity harness, so Gemini models can run inside Google’s own agent loop. The integration was verified against agy 1.5.14. Install the CLI with curl -fsSL https://antigravity.google/cli/install.sh | bash. The installer puts the binary at ~/.local/bin/agy (which Overdeck searches) and appends a PATH line to ~/.bashrc. Update it with agy update; it also updates itself in the background. /usr/bin/antigravity is the separate Antigravity desktop app, and Overdeck never runs it. pan doctor reports the CLI as not installed, missing a credential, or <version>, auth <method>. Credentials. Overdeck runs agy with one of two credentials, checked in this order:
  1. Gemini API key. Enable the Google provider and enter a literal API key in Settings → Google (models.providers.google: { enabled: true, api_key: … }). A $VAR reference is refused by name, because agent panes do not receive provider environment variables. An exported GEMINI_API_KEY in your shell is not used, for the same reason.
  2. Agent Platform (formerly Vertex AI). Set GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION in the terminal backend’s environment, or set gcp.project and gcp.location in ~/.overdeck/antigravity/antigravity-cli/settings.json, and create Application Default Credentials with gcloud auth application-default login (or point GOOGLE_APPLICATION_CREDENTIALS at a credentials file).
The API key wins when both exist. Without either, the launch fails at once with a message that names both setups. Agent Platform is implemented and unit-tested but not verified live; whether agy reads gcp.* from the isolated settings file is also unverified. Why Google sign-in is not offered. Antigravity’s terms, clause 6 (antigravity.google/terms), say that “Using third party software, tools, or services to access the Service” with Antigravity OAuth “is a breach of this Agreement”, and that it may lead to suspension of Antigravity and Gemini CLI accounts. Users report bans. So Overdeck never selects the oauth-personal, oauth-business or terminal-login methods, never runs agy acp --login, and never reads ~/.gemini/oauth_creds.json. Models. Antigravity adds no model provider: it is a second harness for some existing Google model IDs. It serves gemini-4-argon, gemini-4-neon, gemini-4-carbon, gemini-4-hydrogen (the Google tier models), gemini-3.8-flash, gemini-3.6-flash and gemini-3.1-pro-preview (which runs as agy’s gemini-3.1-pro). Other Google IDs are not served, and the antigravity harness refuses them before launch. Every launch needs an explicit model; there is no fallback. Choosing it. Once agy is installed and a credential is ready, the model pickers add a ”— Antigravity” row beside each Google model it serves; the plain Google rows stay on their usual harness. From the CLI, pass --harness antigravity (for example pan start PAN-123 --harness antigravity --model gemini-4-argon). To make it the default for Google models, set:
With that default, Google IDs that Antigravity does not serve fail the harness policy; pick another harness for them. Effort. agy exposes reasoning effort as the ACP thought_level option, and its values depend on the model (for example gemini-3.1-pro offers only low and high; no model offers max). Overdeck sets the model first, then thought_level to the requested effort, or to the highest offered level below it, or to the lowest offered level. The default is high, and max is shown as xhigh. A dashboard effort change on a live conversation applies to subsequent turns. Isolation. Every launch passes --gemini-dir ~/.overdeck/antigravity (under OVERDECK_HOME). agy then keeps its sessions there and never reads ~/.gemini, so your own agy settings, MCP servers, hooks and skills do not apply to Overdeck agents. Launch and resume. Overdeck runs one persistent agy acp process per agent behind its ACP host; the host resolves the credential and passes it only to the agy process. Restart and resume pass the recorded acp-session-id, and the host reopens it with session/load. agy resets the model after a load, so Overdeck sets the model and effort again on every start. Permissions. agy asks for each tool call over ACP, and the host answers allow for it. No skip-permissions flag is passed. Context and tools. Antigravity receives Overdeck’s rendered context at session start; use harness:antigravity blocks for Antigravity-specific instructions. The managed per-agent overdeck MCP server reaches it through the ACP session/new and session/load requests. Cost. agy reports token usage with each prompt result, but no cost. The ACP host records the usage on the transcript’s turn_completed entry, and the antigravity cost reconcile source imports one cost event per turn (provider google, model = the Overdeck Google ID). The cost is an estimate at Gemini API list prices: free-tier usage and Agent Platform contract pricing are not modeled. The Cloister tick imports a running Antigravity work agent’s turns. Antigravity conversations write no agent state, so their turns are imported when POST /api/costs/reconcile runs. Known behavior. agy does not validate the API key when it authenticates. An invalid key surfaces as an assistant message such as agent executor error … API key not valid, and that turn records no cost. Plain transcript forks are unavailable; use a summary fork.

Prime Agent

Prime Agent is Prime Intellect’s coding and research agent (prime-agent). Overdeck runs it in RPC mode behind its own host process, so dashboard messages, pan tell, stop, resume, transcripts, and cost work the same way as for other harnesses.

Install and version

Install the supported release line and check the version:
Overdeck supports Prime Agent 0.8.0 up to, but not including, 0.9.0 (daemon protocol 7). A launch with a version outside that range fails before any pane opens, and the error names the found version and the supported range. pan doctor reports the installed version, and it warns (it does not fail) when Prime Agent is not installed.

Choosing Prime Agent

Pick Prime Agent as a provider’s harness under Settings → Providers (or set models.providers.<provider>.harness: prime-agent), or pass --harness prime-agent to pan start. Settings → Providers offers it for Anthropic, OpenAI, Google, Kimi, MiniMax, OpenRouter, Z.AI and MiMo. Prime Agent also maps xAI, Groq, Cerebras and Mistral; use those with --harness prime-agent. The full provider map: Anthropic models under Anthropic subscription auth are blocked for Prime Agent by the Claude Code subscription terms (see ToS rules); use Anthropic API-key auth instead. The model ID passes through unchanged. Prime Agent rejects an unknown model at startup, and the launch error shows its message. Any other provider fails with a mapping error; Overdeck never picks a fallback model.

Credentials

A launch is allowed when one of these holds, checked in order:
  1. Prime Agent’s ~/.prime/agent/auth.json has the Prime provider key (run prime-agent, then /login). Overdeck reads only the key names, never the values.
  2. Prime’s env var for that provider (see the table) is set in the dashboard’s environment.
  3. The provider’s API key is set in Overdeck Settings.
For sources 2 and 3, Overdeck passes the key in the agent pane’s launch environment. It never writes a credential into a launcher script, a state file, or a log. When no source has a key, the launch fails and the error names the auth.json key, the env var, and the /login path. OpenAI subscription use needs the openai-codex sign-in in auth.json.

One private daemon per agent

Prime Agent’s RPC mode starts a background supervisor that outlives its client. Overdeck gives every agent and conversation its own supervisor by passing --daemon-socket $OVERDECK_HOME/sockets/pd-<hash>.sock. When the agent stops, Overdeck ends that supervisor’s process group: SIGTERM, then SIGKILL if it is still listed after 5 seconds. Your own Prime Agent daemon on its default socket is never touched. The socket path must fit the 100-byte unix socket limit. With a very long OVERDECK_HOME, the launch fails with an error that names the path and its length; set a shorter OVERDECK_HOME. pan doctor warns about any Overdeck-owned Prime supervisor whose agent or conversation is gone, and shows the kill -TERM -- -<pid> command that removes it.

Disabled Prime automation

Cloister owns lifecycle and messaging, so Overdeck launches Prime Agent with --no-extensions and never passes --goal, --autonomous, --continue, --no-session, or --offline. The host refuses Prime’s schedules, heartbeats, cross-agent messaging, observe, refine, and root-session changes (new_session, switch_session, fork, clone). Extension dialogs that no dashboard UI can answer are cancelled automatically. Every session also starts with a managed policy that keeps RLM children inside the root session and away from pan lifecycle commands.

Security boundary

Prime Agent runs model-generated Python and shell commands as your host user. Its workers and IPython kernels are not a sandbox. A managed run starts in the Overdeck workspace (or its container), but treat the agent as having the same file and network access as your user account.

Messages, stop, and resume

A message goes to the host, which sends prompt when the session is idle and steer while it is working. Stop sends interrupt, closes the pane, and reaps the daemon. Resume reopens the recorded session file and checks that its session ID matches the one recorded at launch. A mismatch or a missing session file fails the resume; Overdeck never replaces it with a fresh session silently.

Transcript, cost, and context

The conversation feed renders Prime’s own session JSONL under <agentDir>/prime-sessions/: messages, thinking, tool calls and results, compaction, and failed or aborted turns. Durable cost comes from the same file; usage from RLM children is folded into the parent message once. Live token counts come from Prime’s get_session_stats. Overdeck renders its context layers into <agentDir>/prime-agent-context.md and passes them as --append-system-prompt values. Use harness:prime-agent blocks for Prime-only instructions. Workspace CLAUDE.md and AGENTS.md discovery stays on. Overdeck writes nothing under ~/.prime/agent.

Limitations

  • Prime Agent’s ACP mode is not used; it cannot resume a session.
  • RLM children are not Overdeck agents; their usage is attributed to the root.
  • User extensions are disabled (--no-extensions).
  • A plain transcript fork is unavailable; use a summary fork.
  • The live cost display shows a session total only, with no per-token-type split.
  • macOS and Linux only; Prime Agent does not support Windows natively.

Uninstall

Stop your Prime Agent agents and conversations, run npm uninstall -g prime-agent, then run pan doctor and confirm it lists no orphaned Prime Agent daemons.

Semgrep in sessions

With security.semgrep.enabled and security.semgrep.mcp turned on (and security.semgrep.edit_hook for the hook), agents can get a semgrep MCP server and a post-edit scan hook mid-session, not just the managed CLI install. All three keys default to off, and Docker workspaces and Windows get neither: See Semgrep: harness support for what each column means and how to turn it on.

Installing pi

pi is not auto-installed. pan install lists it among the optional tools and pan doctor checks it.
pan doctor also checks that the pi extension bundle (packages/pi-extension/dist/index.js, shipped as dist/extensions/pi.js) exists. pan sync adds ~/.claude/skills to ~/.pi/agent/settings.json so pi loads the same skills as Claude Code. pi reads provider keys from the environment (GEMINI_API_KEY, XAI_API_KEY, OPENROUTER_API_KEY, …), and Overdeck exports the configured key under that name at launch; MiMo is exported as both MIMO_API_KEY and XIAOMI_TOKEN_PLAN_SGP_API_KEY, and runs on pi’s xiaomi-token-plan-sgp provider (Overdeck MiMo keys are token-plan keys). Google runs on GEMINI_API_KEY directly, not through CLIProxy.

Installing oh-my-pi

oh-my-pi is not auto-installed. Install it once, then run pan doctor to confirm.
pan doctor also checks that the oh-my-pi extension bundle (packages/ohmypi-extension/dist/index.js, shipped as dist/extensions/ohmypi.js) exists. If it doesn’t, run npm run build:ohmypi-extension && npm run build (or, in a checkout, cd packages/ohmypi-extension && npm run build). pan sync does not configure omp’s skills.

Provider authentication

Overdeck bridges configured API keys into omp’s environment at launch time, so you do not need to configure auth separately in omp for most providers. When you spawn an ohmypi agent with a Kimi, MiniMax, Z.AI, MiMo, OpenRouter, Nous, or DashScope model, Overdeck injects the native provider env var (KIMI_API_KEY, MINIMAX_API_KEY, ZAI_API_KEY, OPENROUTER_API_KEY, DASHSCOPE_API_KEY, etc.) automatically from your dashboard Settings or ~/.overdeck.env. OpenAI subscription (ChatGPT/Codex) models need omp’s own openai-codex login: run pan ohmypi-auth login (or /login inside omp). Anthropic models on oh-my-pi need Anthropic API-key auth; subscription auth is blocked (see ToS rules).

Where you pick the harness

The harness is chosen per spawn at four user-initiated surfaces: There is no per-issue lock: an issue planned with ohmypi can have a Claude Code review agent on the same PR, and vice versa. A conversation’s harness is fixed once it has started; the server refuses a change with 409. A pi conversation can still switch models while it runs.

Role runs (plan / work / review / test / ship)

Pipeline-spawned roles do not prompt at runtime. Each role’s model comes from Settings → Model Routing. Its harness comes from the model’s provider default in Settings → Providers, not from a per-role setting, unless an explicit --harness pick overrides it. Review lanes have their own model settings and use the review model only when a lane is set to parent. See Model routing for how the model and harness are each resolved. The Settings page is also where you wire up tracker API keys, so model and harness routing for autonomous role runs lives alongside the rest of the orchestrator’s defaults. Per-project settings live in projects.yaml.

Use Overdeck workers instead of harness plugins

To hand a task to another agent, run pan worker run (skill /pan-worker) rather than a harness plugin such as the Codex plugin. A bundled rule tells agents the same. See Workers for the commands. Codex-plugin jobs are registered automatically the first time the dashboard sees them, so they are visible, but they stay read-only: Overdeck cannot tell, stop or restart them, and their cost is not attributed. See Workers: Externally spawned agents.

ToS rules

Exactly three combinations are blocked by the Claude Code subscription terms (three ToS blocks), gated by canUseHarness(harness, model, authMode) in src/lib/harness-policy.ts. The same gate also enforces the model-pinning rules below:
Blocked: pi + Anthropic model + Anthropic auth = subscriptionBlocked: ohmypi + Anthropic model + Anthropic auth = subscriptionBlocked: prime-agent + Anthropic model + Anthropic auth = subscription
This is required by the Claude Code subscription terms: only the claude-code binary may invoke Anthropic models when you’re authenticated via the Claude Code OAuth subscription. Within the provider pairs the pinning rules below allow, everything else is allowed: The gate is evaluated at every spawn entry point and at every picker UI so a stale Settings selection cannot bypass it. When the pipeline routes a role run into the blocked cell from the provider default with an Anthropic model, it falls back to claude-code and emits a console.warn rather than failing the whole pipeline. An explicit --harness pick that the gate blocks fails instead. The gate is exhaustive over harnesses. Every runtime needs an explicit rule in canUseHarness, and the decision map served to the pickers is typed over every runtime name, so adding a harness without a policy entry is a type error. A harness the gate does not recognise is denied, never allowed by default. pi has its own rule (PAN-5212): like oh-my-pi it is a third-party client, so the Claude Code subscription terms bar it from Anthropic models on subscription auth. Grok Build has no ToS gate: it is xAI’s own CLI running xAI models on your xAI sign-in, and its documentation describes ACP mode for automation tools. The gate only pins grok/* models to the grok harness and back. In the same way it pins OpenCode Go and Zen models to opencode, Muse models to muse, and Kimi models to the harnesses that can run them, and keeps Ollama models on claude-code. Subscription-only OpenAI models are refused under API-key auth on every harness. Antigravity has no ToS gate for Gemini API-key or Agent Platform auth. The gate pins the antigravity harness to the Google models agy serves. Overdeck never selects Antigravity’s OAuth methods, because clause 6 of Antigravity’s terms forbids third-party software from using Antigravity OAuth. The same gate enforces Kimi id-space correctness: a kimi-code/* native-catalog id is blocked on every harness except kimi-code and acp, so a stale role pin fails loudly instead of launching a session whose first turn the provider endpoint rejects (see Kimi rows in the model picker name their launch route).

What you see in the pickers

The pickers consult the same canUseHarness(harness, model, authMode) policy as the spawn entry points, so the blocked combination is caught before you click Start. The UI surfaces the block in two places:
  • Model list: when the selected harness cannot run a model, that model row is disabled (locked) and its tooltip shows the reason.
  • Harness list: when the current model is blocked for a harness, the harness option is disabled (non-clickable) and renders the decision reason as visible inline text, not only in the tooltip, so the block is readable without hover.
Once a model’s decisions have loaded, a harness missing from them is disabled with a “No harness-policy decision” reason. Before the decisions load, the options stay selectable and the server gate decides at spawn. The inline reason names the restriction as a Claude Code subscription Terms of Service rule, and tells you how to proceed: switch Anthropic to API-key auth, or pick a non-Anthropic model for pi, oh-my-pi or Prime Agent. This behavior applies in the plan kickoff dialog, the Start agent overrides, the fork dialog, and the conversation panel. Blocked clicks are inert: they do not fire onChange / onHarnessChange and do not auto-flip the model.

Auth mode is exclusive

Overdeck treats Anthropic auth as one mode. If ANTHROPIC_API_KEY is set in the dashboard’s environment, Overdeck uses API-key mode even when you are also signed in to the Claude Code subscription. Set one or the other, not both.

Troubleshooting

pi agents use the same ready file, named pipe and heartbeat as oh-my-pi, so the omp steps below apply to pi as well. pi’s extension bundle is dist/extensions/pi.js (packages/pi-extension/dist/index.js in a checkout).

“omp not on PATH” or wrong version

Run pan doctor. The ohmypi check reports OK / missing / too-old with the resolved version. The fix message includes the install/upgrade command.

omp spawns but the agent never reaches “ready”

Check ~/.overdeck/agents/<id>/ready.json; the vendored extension writes this on session_start. If it never appears:
  1. Run pan doctor. The “ohmypi Extension Bundle” check warns when neither dist/extensions/ohmypi.js (installed) nor packages/ohmypi-extension/dist/index.js (checkout) exists.
  2. Watch the agent’s pane: open it in the dashboard, or run the Attach: command pan start <id> prints (Herdr or tmux, whichever backend launched it). omp prints stdout to the pane; structural errors show up there.
  3. Verify the named pipe exists at ~/.overdeck/agents/<id>/rpc.in. If a stale regular file is in its place, createOhmypiFifo replaces it on next spawn.

ohmypi heartbeat is stale but the agent is working

OhmypiRuntime.getHeartbeat() walks three sources in priority order: active heartbeat (<60s old) → JSONL session mtime → tmux session created timestamp. The third source applies only on the tmux backend. If your dashboard shows a stale heartbeat, check ~/.overdeck/heartbeats/<id>.json; omp writes there on every tool_execution_end.

Codex app-server is unavailable or too old

Run codex --version. The app-server transport requires Codex CLI 0.144.0 or newer and the codex app-server subcommand. If the version is too old, upgrade Codex CLI and start a fresh session. To keep work moving during a rollout, set codex.transport: tui to use the legacy TUI transport temporarily. The native Codex CLI in a conversation’s Terminal needs 0.153.4 or newer. Below that, the conversation’s host falls back to stdio and logs [terminal] native Codex terminal unavailable: cli-unsupported in Runtime log. Upgrade, then stop and resume the conversation.

”needs Claude Code X or newer”

A claude-code launch was refused because the configured model’s minimum Claude Code version is newer than the launch binary. See Claude Code version requirements: run the upgrade command the error names, or click Upgrade Claude Code in the dashboard banner, then launch again. With automatic updates on, Overdeck has already tried the update, and the end of the error says what failed. Still stuck? Ask on the Overdeck Discord or file a GitHub Issue.

Tradeoffs

RPC over named pipe vs tmux paste-buffer

ohmypi’s harness uses a per-agent mkfifo (~/.overdeck/agents/<id>/rpc.in) for command delivery. Claude Code receives messages typed into its pane (a Herdr prompt, or tmux load-buffer + paste-buffer on the tmux backend). The fifo path:
  • skips the 300ms paste-render wait Claude Code needs;
  • gives omp its own structured RPC channel separate from the visible pane;
  • keeps the agent inside its terminal-backend pane (Herdr or tmux) for crash isolation and visual attach (omp’s stdout still flows into the pane).
The downside: opening a fifo with no reader fails at once with ENXIO, so writeOhmypiCommandSync throws a typed OhmypiNotReady error instead of blocking, and the send fails with “reader gone before prompt could be delivered”.

Multi-provider via pi/ohmypi vs CLIProxy

Both pi and ohmypi (with native multi-provider routing) and Claude Code (via the CLIProxy auth shim) can drive non-Anthropic models. pi and ohmypi give you provider routing without an extra middleware process; CLIProxy gives you Claude Code’s tooling/UX with non-Anthropic providers. Pick by which UX you want; there is no correctness difference today. CLIProxy auto-installs its pinned release on Linux, macOS, and Windows for amd64 and arm64 systems. On Windows, the sidecar is installed as ~/.overdeck/bin/cliproxy.exe using the OS-bundled curl and tar tools. When CLIProxy holds two or more logins for one provider (for example two ChatGPT accounts), the host dashboard routes new sessions to the account whose weekly quota resets soonest, so quota is not lost at the reset. Settings → Providers → CLIProxy accounts shows each account’s usage windows, reset times and routing rank. See “Account pool and reset-first routing” in docs/CONFIGURATION.md.

When to pick which

  • Default to claude-code for Anthropic-subscription users and for roles whose instructions rely on Claude Code agent definitions.
  • pi is the default for non-Anthropic, non-OpenAI providers; pick it explicitly for any other provider pi’s catalog covers.
  • Switch to ohmypi when you want omp’s compact-context behavior or its additional tools; set models.providers.<provider>.harness: ohmypi in config.yaml to make it the default for a provider again.
  • Mix per role in Settings if you want, e.g., a pi work role feeding a Claude Code review role.
  • Switch to kimi-code for Kimi models when you want native Kimi behavior without the ACP host layer; use acp instead when you want a portable protocol surface (or plan to reuse the same setup with a future non-Kimi ACP agent).

Harness capabilities

Each harness declares what it does in HarnessBehavior.capabilities (packages/contracts/src/harness-capabilities.ts). Code that must decide something per harness reads that declaration. It does not compare the harness name. Every field is required, so a harness cannot leave a decision undeclared. The rule for harness-specific code:
  • A behavior decision reads a capability field.
  • Adapter selection (which parser, resolver or launch builder) uses an exhaustive table keyed by transcriptKind, or a switch on an adapter-kind field such as readinessKind or launchCommandKind. A Record<HarnessTranscriptKind, …> table fails tsc when a kind has no entry.
  • Never compare a harness name. src/lib/harness-policy.ts is the one exception: its ToS rules key on names on purpose.

Overdeck MCP server

A harness that declares overdeckMcp gets the overdeck MCP server at launch (see Agents get these tools). That same harness’s launch context ends with the “Overdeck tools” block; every other harness gets “Overdeck commands” with the pan equivalents instead (see What the agent is told). Any harness gets the “Overdeck commands” block instead of the server when it runs in a Docker workspace (OVERDECK_DOCKER_WORKSPACE=1 or PAN_DOCKER=1), because the container has no pan and cannot read the token file, and every harness does when mcp.agents is false in config.yaml. The rule is src/lib/mcp/overdeck-mcp-gate.ts. The CP-1 live check: Claude Code 2.1.293 was checked against what the launcher emits:
  • Two --mcp-config= flags load together, so the Channels bridge and overdeck both start.
  • An overdeck tool call completes with no permission prompt under --permission-mode default with --allowedTools=mcp__overdeck.
  • Bash still runs with --allowedTools=mcp__overdeck; the flag does not narrow the other tools.
  • The space form --allowedTools <x> reads a following prompt argument as another tool name, so Overdeck always emits the equals form (--allowedTools=mcp__overdeck, --mcp-config=<path>).
The CP-2 live check: Codex CLI 0.159.0 was checked separately, because Codex has no CLI allow-list flag and Overdeck’s MCP tools carry no readOnlyHint annotations:
  • Under approval_policy = "never", a model-initiated call to an un-annotated tool fails with MCP tool call requires approval, but approval policy is never (observed through codex exec).
  • Setting default_tools_approval_mode = "approve" in the server’s [mcp_servers.<name>] table fixes it; Codex also accepts auto, prompt and writes there.
  • An invalid value in that key is not silently dropped: Codex refuses to load the whole config and the agent never starts.
  • An unrelated unknown key elsewhere in the same table is ignored.
  • Both Codex launch modes (work agents and conversations) wrote [mcp_servers.overdeck] with that key, and a model-initiated overdeck tool call completed with no approval prompt. The -c mcp_servers.overdeck.* command-line fallback was not needed and is not built.
ACP harnesses (PAN-4934). The launcher passes --mcp-config <file> to the ACP host. The host reads the same overdeck-mcp.json and sends its server as an ACP stdio entry in session/new and session/load. Only stdio entries are sent: an http or sse entry would carry the token inside the ACP payload. The CP-3 live check (2026-11-04) ran each agent with a real overdeck server and asked it to list the server’s tools:
  • OpenCode 1.18.31 (opencode, model opencode/big-pickle): passed. The opencode acp process started pan mcp serve as its child. The agent listed all 14 tools, as overdeck_list_conversations and so on, and called overdeck_list_machines with no permission prompt. A Task subagent also called the tool, and its turn ended in 11 s with no hang. (The calls returned HTTP 401 because the probe token belonged to a throwaway OVERDECK_HOME; the check covers the path, not the data.) opencode-go uses the same binary and gets the same result. OPENCODE_PERMISSION is unchanged.
  • Kimi Code CLI 2.0.2 (acp): not verified live. kimi acp accepted the entry in session/new and started pan mcp serve as its child, but the prompt failed with 403 Your current subscription does not have access to Kimi Code right now. The planning probe had already shown that kimi 2.0.2 starts a stdio server from session/new and session/load and calls tools/list on it, so acp keeps overdeckMcp.

The harness-branch ratchet

npm run lint:harness-branches (scripts/lint-harness-branches.sh, part of npm run lint) counts, per src/ file, the comparisons of a harness name or transcript kind against a string literal, such as harness === 'codex' or 'acp' !== conv.harness. Comment lines, tests, harness-policy.ts, the runtime adapters in src/lib/runtimes/ and src/lib/runtimes/storage/ are not counted. The baseline scripts/harness-branches-baseline.txt holds one <count> <path> row per file. The check fails when a file gains a branch or a new file has one. When you remove branches, lower the baseline with bash scripts/lint-harness-branches.sh --update. Raising a row is a hand edit in a commit whose message carries an issue reference; scripts/lint-ratchet-audit.sh enforces that.

Adding a harness

  1. Add the name to Harness and KNOWN_HARNESSES in packages/contracts/src/types.ts.
  2. Write <NAME>_CAPABILITIES in packages/contracts/src/harness-capabilities.ts and <NAME>_BEHAVIOR in packages/contracts/src/harness-behavior.ts, then add the behavior to BEHAVIORS.
  3. Add an entry to every Record<HarnessTranscriptKind, …> and Record<RuntimeName, …> table that tsc flags.
  4. Write the runtime adapter src/lib/runtimes/<name>.ts and register it in getGlobalRegistry() (src/lib/runtimes/index.ts).
  5. Add its executable to HARNESS_BINARY_BY_RUNTIME (src/lib/harness-binary.ts).
  6. Add its transcript storage module under src/lib/runtimes/storage/ and a discovery source in src/lib/conversations/harness-discovery.ts.
  7. Add its launch rules to canUseHarness in src/lib/harness-policy.ts. Unlisted harnesses are denied.
  8. Run npm run lint:harness-branches.
Steps 1 to 3 are the capability declaration. Steps 4 to 7 are the adapter work that the declaration does not replace.

Implementation

  • src/lib/runtimes/ohmypi.ts: OhmypiRuntime, the pi-family AgentRuntime adapter, constructed for omp and for pi (src/lib/runtimes/pi.ts)
  • src/lib/runtimes/pi-family.ts: the pi/omp launch profiles (binary, resume flag, --no-approve, extension bundle, models.json dir)
  • src/lib/launcher-pi-command.ts: the pi-family launcher command and models.json provisioning dispatch
  • src/lib/pi-models.ts: pi models.json provisioning for tier models pi’s catalog lacks
  • packages/pi-extension/: vendored lifecycle extension pi loads via --extension
  • src/lib/runtimes/ohmypi-fifo.ts: createOhmypiFifo, writeOhmypiCommandSync, OhmypiNotReady
  • src/lib/runtimes/pi-fifo.ts: the pi fifo writer and PiNotReady
  • src/lib/ohmypi-models.ts: omp models.json provisioning
  • src/lib/cost-parsers/ohmypi-parser.ts: omp JSONL active-branch walker
  • src/lib/harness-policy.ts: canUseHarness ToS/model-provider gate
  • packages/contracts/src/harness-capabilities.ts: HarnessCapabilities, the per-harness behavior declarations (see Harness capabilities)
  • packages/ohmypi-extension/: vendored lifecycle extension omp loads via --extension
  • src/lib/runtimes/kimi-code.ts: KimiCodeRuntimeSync (native Kimi Code adapter)
  • src/lib/cost-parsers/kimi-parser.ts: Kimi wire.jsonl usage/cost parser
  • src/lib/prime-agent/: Prime Agent host (host.ts), RPC client and framing, managed policy, provider map, daemon reaper, and version pin; see docs/PRIME-AGENT-HARNESS.md
  • src/lib/runtimes/prime-agent.ts: PrimeAgentRuntimeSync (Cloister adapter)
  • src/lib/runtimes/claude-code.ts: the Claude Code adapter
  • src/lib/runtimes/codex.ts and src/lib/codex/: the Codex adapter and app-server host
  • src/lib/runtimes/acp.ts and src/lib/acp/: the ACP adapter and host for Kimi over ACP, OpenCode and Grok Build
  • src/lib/runtimes/muse.ts: the Muse Code adapter

Storage paths

Each harness has one module that knows where it keeps transcripts and sessions: src/lib/runtimes/storage/<harness>.ts. Everything else asks that module for a path instead of building one. These modules import only node:* and src/lib/paths.ts, so any layer can use them without an import cycle. The transcript resolver (src/lib/agents/transcript-resolver.ts) still prefers the absolute path recorded in sessions.json; it uses these modules only for entries recorded before PAN-3959. npm run lint:harness-storage (part of npm run lint) fails when a storage path literal appears in src/ outside src/lib/runtimes/storage/. A line that needs one for another reason, such as a permission rule, goes in the allowlist at the top of scripts/lint-harness-storage.sh as file|anchor # reason. The anchor is a fixed piece of the allowed line’s text, so edits elsewhere in the file don’t break the row.

See also

Context and reasoning effort

Model pickers show the configured session context beside each model. This budget differs from the provider’s maximum API context and from the remaining space shown in a running session. Runtime overhead and response reservations reduce usable space. Astra and GPT 5.6 Sol, Terra, and Luna default to 272K. The explicit GPT 5.6 372K variants opt into a larger budget. Managed Codex sessions pass this budget and default to High reasoning effort. A dashboard effort change on Codex app-server or Kimi ACP applies after the runtime accepts it, starting with subsequent turns. Terminal-only routes use their launch setting and native terminal controls. Fable 5.2 supports 1M context and requires Claude Code 2.1.321 or newer; Fable 5.1 requires 2.1.255 or newer. Model availability and extended-context access still depend on your provider and subscription. Kimi K3 offers separate 256K and 1M choices; K2.7 Code uses 256K and does not offer adjustable reasoning effort; K2.8 Preview (kimi-code/kimi-for-coding) uses 1M and offers low/high/max. Subscription usage allowances are not API token prices. A larger window can consume more of your allowance, but API long-input multipliers should not be read as subscription-credit multipliers.

How each harness receives effort

Overdeck resolves and clamps effort before launch (see Reasoning effort), and a launch path that reaches a harness without a resolved effort fails with a requires …Effort error instead of silently falling back to that harness’s own default. The Pi and Muse CLIs parse max (omp 17.4.1, pi 0.85.0, muse 1.4.2), but Overdeck sends at most xhigh because their harness rows stop there. Relaxing that is a separate decision, not a bug. GPT through Claude Code (CLIProxy): Claude Code sends the level as output_config.effort with adaptive thinking; CLIProxy maps it (verified on v7.3.16) to the Codex request’s reasoning.effort and clamps it to the model, so --effort is honored end to end. Overdeck always passes --effort on a Claude Code launch, so CLIProxy’s own fallbacks (xhigh for adaptive thinking without a level, medium with no thinking block) never apply. One caveat: gpt-5.5 is a deprecated alias of gpt-5.6-sol in the model catalog, so its effective effort levels and clamping come from the gpt-5.6-sol row, not from any levels set on gpt-5.5 itself.

OpenRouter favorites

Saved OpenRouter favorites remain selectable even when OpenRouter’s model catalog omits them. Overdeck displays the model ID and marks pricing and context as unknown until the catalog includes the model again. Catalog omission alone does not determine whether OpenRouter can serve a model. You can remove these saved models from Settings → Providers → OpenRouter like any other favorite.