Skip to content

Concepts · harnesses

Harness Setup ​

One row per harness devkit routes to: what it's for, how to install, sign in, enable and check it, and what it can't do. Payload adapters (shared skills/hooks projected into Codex, OpenCode, Pi) are documented in Runtime Adapters; this page is about reaching the harness at all. OpenCode receives the shared payload but is not a delegate runtime.

codex ​

Rolepayload adapter (~/.codex) and delegate/review runtime, incl. native codex review
Installdevkit sync (brew cask on macOS, npm @openai/codex on Linux; unpinned, installed when missing)
Sign-incodex login — ChatGPT OAuth or an OpenAI API key
Enabledevkit config codex auto|on|off (default auto: on while installed)
Hook trustdevkit config codex-hook-trust devkit|all|off — devkit sync pre-trusts hooks in ~/.codex/config.toml so Codex never asks; devkit (default) covers devkit's own hooks, all also foreign global hooks and every trusted project's .codex/hooks.json
TUI defaultsdevkit sync adds compact defaults to ~/.codex/config.toml only where the key is missing: disabled reasoning summaries and low text verbosity, quiet [tui] (no animations, tooltips, version notice or recap; dense picker, fullscreen like Claude), and default_mode_request_user_input so Codex asks choice questions outside Plan mode like Claude's AskUserQuestion; previous devkit-owned concise summaries migrate to none; your own values stay, disabling Codex removes only seeded keys that still hold their seeded value
Checkdevkit runtime-route --inventory; devkit doctor
Limitsthe only native-review runtime; model choices follow your configured tier

claude ​

Rolethe primary runtime; reverse-direction delegate target via claude -p
Installinstall Claude Code from Anthropic directly; devkit does not manage it
Sign-inClaude Pro/Max OAuth or an Anthropic Console API key
Enabledevkit config runtime claude auto|on|off; always available as primary
Checkdevkit runtime-route <tier> reports RUNTIME=claude when resolved
Limitssupports external review from other runtimes; automatic review fallback prefers Pi, then Codex; Claude escalation uses Opus

pi ​

Existing Claude Code or supported Codex CLI subscription logins are reused automatically; devkit pi login skips ready logins and starts a native login only when needed. Pi's own openai-codex OAuth remains a fallback; see setup.

Direct auth (Claude Pro/Max OAuth via pi-claude-oauth-adapter, accepted account risk — https://code.claude.com/docs/en/legal-and-compliance; the adapter normalizes the system prompt and billing header for OAuth requests, see its README.md, or an Anthropic Console API key) still works but does not satisfy health checks

Rolefirst delegate choice for explore/implement/review/architecture; setup
Installdevkit sync (pinned @earendil-works/pi-coding-agent, plus bubblewrap on Linux, pi-claude-bridge (primary Claude subscription route) and pi-claude-oauth-adapter (legacy direct-auth support); macOS sandboxes implement with the built-in Seatbelt instead)
Sign-inClaude Code or supported Codex CLI subscriptions are reused; setup
Enabledevkit config pi auto|on|off (default auto: on while installed)
Checkpi auth check; devkit doctor --target pi; devkit runtime-route --inventory <tier> --models --json
Limitsreview_role: true; author-model rejection preserves independence; extension discovery stays off outside explicit personal paths
FallbacksPrimary Pi subscription → Codex Sol in every tier; review can also use Terra; then DeepSeek Flash for explore/review/implement. This is routing policy, not a quality ranking. devkit runtime-route <tier> reports the live tuple. Explicit DEVKIT_DELEGATE_PROVIDER/_MODEL/_EFFORT overrides disable fallback. DeepSeek needs its own API login.
Interactive usedevkit sync installs @juicesharp/rpiv-ask-user-question, which maps shared skills' AskUserQuestion to ask_user_question in interactive Pi and RPC hosts; without it, ask once as numbered plain text and wait. Print-mode delegates do not load it

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew