Harnesses
Stage does not run agents itself. It hands each task to a harness through a connection and follows the result. The harness owns the session and everything in it: models, workspaces and worktrees, the conversation and its own UI. Stage owns tasks, trees, journals, acceptance and handoff.
Stage supports four harnesses. A task picks one through its connection; a tree can mix them.
Setup
| Claude Code | Codex | OpenCode | T3 Code | |
|---|---|---|---|---|
| Where it runs | On your computer: the desktop app, stage serve --local-harnesses or a worker with local harnesses. Not in Docker | On your computer: the desktop app or per-user service, stage serve --local-harnesses or a worker with local harnesses. Not in Docker | A service Stage connects to, from any setup, Docker included | A service Stage connects to, from any setup, Docker included |
| How Stage talks to it | The claude command, as background sessions (claude --bg) | The Codex app-server daemon, which Stage starts when it is down | OpenCode's V2 HTTP API | T3's MCP endpoint, with T3's OAuth and upload endpoints |
| Connect | Connect: checks claude and Claude's login | Connect: checks the Codex CLI and codex login | Connect on this machine, an opencode pair link, or an address | Pair with T3 on this machine, or a t3 pair code |
| Workspaces | Folders Claude knows. Add: Trust in Claude Code | Projects Codex trusts. Add: Trust folder | OpenCode's projects. Add: Existing folder | T3's projects. Add: Existing folder, Clone repository or New project |
| Worktrees | Launch option: Claude makes and names one from origin's default branch | None: tasks run in the project root | Launch option: OpenCode makes one from its default base | Launch option, with a base ref and a branch |
| Prompt images | Written under Stage's data dir for Claude to open | Sent with the prompt | Not yet | Uploaded to the T3 thread |
Sessions
| Claude Code | Codex | OpenCode | T3 Code | |
|---|---|---|---|---|
| Answer in Stage | Questions and approvals for sessions Stage starts with its hooks | Command, file-change and permission approvals on tracked active threads (Codex 0.172+) | Permissions and supported forms | Questions |
| Answer in the harness | Prompts open across a Stage restart | Questions and MCP prompts | Forms with conditional or external fields | Permission requests |
| Message from Stage | Send between turns. Steer and Queue during a turn with Stage's launch hooks | Send and Steer. Queue waits until Codex's queue API leaves experimental | Send, Steer, Queue and manage pending messages with a compatible V2 service | Send, Steer, Queue and manage pending messages when paired T3 advertises the tools |
| Open the session | Copy resume command: claude attach <id> | Copy resume command: cd <dir> && codex resume <id> | Open in OpenCode: the configured web client | Open in T3: the Browser URL, or the T3 app on desktop |
| Auto-complete when | You remove the finished session (claude rm) | You archive the thread in Codex | You archive the session in OpenCode | You settle the thread in T3 |
Auto-complete is on by default and set per connection (Auto-complete).
One per machine
A machine has at most one active connection per harness: one Claude Code, one Codex, one OpenCode and one T3. With workers, each machine has its own. Addresses, tokens and settings for each: Connections reference.
Next steps
- Connections: what a connection is and how it fails independently.
- Sessions and references: the Session tab, attempts and tracking.
- Machines: harnesses on more than one computer.