Harnesses

Agent Looper ships worker runtimes for the coding agents you already pay for. Operators start the loop on your machine; runtimes are the --runtime values the harness drives. Facts come from published repo docs and CLI help.

Agent Looper Grok Bot

You say what to build and how to know it's done. It keeps a coding agent working on your computer until that check passes.

Add to Grok Bot

Grok Bot is the Grok operator that runs Agent Looper on the user's computer. It is not a --runtime enum value. The optional judge still defaults to the worker's runtime from loop.json — not Grok grok-4.7 unless the worker is Cursor.

How to use

  1. Freeze GOAL.md and verify.sh (or pnpm exec agent-loop-prompt --out .cursor/loops/my-task).
  2. From the Grok Bot session, start the harness: pnpm exec agent-loop run .cursor/loops/my-task --review-gate
  3. Worker and judge come from loop.json and what's installed. There is no --runtime grok.

The harness still owns the deterministic check and a fresh worker each iteration. Grok Bot starts that loop; it does not implement the goal itself.

Runtimes

Each card is one shipped --runtime value. Install once: pnpm add -D @dancingteeth/agent-looper, then add the SDK or CLI named on the card.

Cursor

--runtime cursor

IDE subscription via @cursor/sdk.

Worker composer-2.5 Judge Grok 4.7 grok-4.6 / grok-4.5 ok

pnpm exec agent-loop run .cursor/loops/my-task --runtime cursor --review-gate

Export CURSOR_API_KEY or run under Doppler. Run pnpm exec agent-loop-init once. Composer 2.5 is the only Cursor worker; optional judge on this runtime defaults to grok-4.7 (grok-4.6 / grok-4.5 still allowed). Set costPreset: "cursor" in loop.json to stay on Cursor for both worker and judge. Repo defaults that pin OpenCode escalateModel are not applied on --runtime cursor.

DSH

--runtime dsh

DeepSeek Harness CLI — worker is dsh --profile headless; dsh-agent-looper plugin for dsh web.

Worker deepseek-flash (4.1 Flash) → v4-pro Previous deepseek-v4-flash Judge: same runtime by default (V4 Pro), override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime dsh --review-gate

Default worker is deepseek-official/deepseek-flash (DeepSeek-V41-Flash, image-capable). Previous deepseek-official/deepseek-v4-flash stays allowed. Ensure dsh is on PATH. Export DEEPSEEK_API_KEY in the launching shell — DSH 0.2.1 headless ignores the key stored in ~/.dsh/.credentials.yaml, so agent-check dsh and agent-loop run abort before spawning the worker without it. The file itself may be DSH layout v1 (version: 1 + refs:, what dsh web writes) or the old flat map; the harness does not rewrite that file. DSH companion plugin guard blocks accidental foreground grinds. See docs/dsh-plugin.md and plugins/dsh-agent-looper/.

Cline

--runtime cline-pass · cline

@cline/sdk — cline-pass for subscription quota, cline for credits.

Pass deepseek-v4.1-flash → qwen3.7-plus Credits deepseek-chat → qwen3-coder-plus Judge: worker model by default, override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime cline-pass --review-gate

Install @cline/sdk. Use --runtime cline for credits.

OpenCode

--runtime opencode

opencode CLI 1.x or 2.x — Go quota or BYOK via OpenRouter, Vercel, Ollama, or another OpenAI-compatible router.

Go deepseek-v4.1-flash → qwen3.7-plus Go opencode-go/kimi-k3 BYOK openrouter/… :free Plugin @dancingteeth/opencode-agent-looper Judge: same runtime by default (opencode-go/deepseek-v4-pro), override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime opencode --review-gate

1.x: @opencode-ai/sdk plus opencode on PATH. 2.x: also pnpm add -D @opencode/client — without it the loop fails fast with an install hint instead of timing out. agent-check opencode handshakes the server so a client/CLI mismatch fails the check, not the first loop. 2.x provider keys go in OpenCode’s credential store (add once).

@dancingteeth/opencode-agent-looper (0.1.6; OpenCode 1.x and 2.x): teaches Agent Looper skills; agent_loop_start / agent_loop_status start loops in the background so a shell timeout can’t kill them, and agent_loop_start can launch through the repo’s agent:loop script or a launchPrefix when keys live in a secrets wrapper. 2.x: opencode plugin add @dancingteeth/opencode-agent-looper; 1.x: "plugin": ["@dancingteeth/opencode-agent-looper"] in opencode.json. Works alongside the CLI — does not replace it.

Pi

--runtime pi

@earendil-works/pi-coding-agent — OpenRouter by default or another OpenAI-compatible router you configure.

Worker openrouter/deepseek-chat → qwen3-coder-plus Judge: worker model by default, override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime pi --review-gate

Install @earendil-works/pi-coding-agent.

Codex

--runtime codex

@openai/codex-sdk and codex CLI — ChatGPT / OpenAI BYO.

Worker gpt-5.6-luna → gpt-5.6-terra Optional gpt-6-astra Judge: same runtime by default (gpt-5.6-sol), override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime codex --review-gate

Install @openai/codex-sdk; ensure codex CLI is on PATH. gpt-6-astra is listed but not the default judge.

Muse

--runtime muse

@muse-code/sdk and muse CLI — Meta Muse Code. Not on costPreset minmax.

Worker muse-spark-1.3-contributor Judge: same runtime by default (PAYG Spark), override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime muse --review-gate

Install @muse-code/sdk; ensure muse is on PATH. Climb reasoningEffort — there is no stronger Spark slug. See docs/muse-runtime.md.

Claude

--runtime claude

PATH claude CLI — Claude Code subscription. --safe-mode so the harness prompt is the only instruction source (strips project hooks and auto-memory). Not on costPreset minmax.

Worker sonnet → opus Judge: same runtime by default (opus), override any, optional

pnpm exec agent-loop run .cursor/loops/my-task --runtime claude --review-gate

Ensure claude 2.1.169+ is on PATH and claude login has been run. opus / sonnet / fable aliases track Claude Code latest-per-family. See docs/claude-runtime.md.