Skip to content
stage

T3 Code

Stage runs tasks as threads on an existing T3 Code server, through T3's MCP endpoint, OAuth and upload endpoints. T3 keeps what it owns: its projects, threads, worktrees and models, and the Claude Code sessions and Codex threads it runs. Stage keeps the task, its journal, its final reply and what comes next.

Requirements

  • A T3 Code server that the Stage server (or a worker) can reach. Under Docker compose, T3 on the host is http://host.docker.internal:3773 (T3 must listen beyond loopback).
  • T3 is a service Stage connects to, so every setup can use it: the desktop app, a self-hosted server, including the Docker image, or a worker.

Connect

T3 counts as connected only once paired; until then Stage never contacts it. Open Settings > Connections, choose Add connection > T3, and pair:

  • Pair with T3: one click when T3 runs on the same machine as the Stage server and its t3 CLI is found. From a terminal: stage harness t3 run auto-pair.
  • Pairing code: run t3 pair on the T3 host and paste the code, or stage harness t3 run pair code=CODE.

Pairing starts a full sync. A pairing gives Stage a 30-day session; an optional admin token lets Stage renew its own. The T3 URL, the Browser URL and the admin token: Connections reference.

Workspaces

Workspaces are T3's projects, listed while they are live and unarchived. Add one through T3 with one of its sources (stage workspaces add; paths are absolute on the T3 host):

  • Existing folder: register a folder, optionally creating it.
  • Clone repository: clone a remote into a new or empty folder, then register it.
  • New project: T3 makes a Git repository in its projects folder.

Folder browsing is unavailable: type the path. A workspace row's Harness actions rename, archive, restore or remove the T3 project, never the Stage project title. Removing asks first, keeps its files on disk, and is open to people only. Projects

Start a task

Select the T3 connection and the exact workspace for your task. Choose a model and its options. The worktree launch option runs the task in a new T3 worktree, with a base ref (required) and a branch; off, it runs in the project root. Prompt images are uploaded to the T3 thread.

When the thread finishes, task detail shows its final reply (up to 4000 characters). Complete the task in Stage to start what depends on it.

Answer and message

Answer in Stage

The Session tab lists T3's questions under Requests, with their options or your own answer. T3 permission requests are answered in T3, so a T3 task can read needs input with nothing to answer in Stage: use Open in T3.

Message T3 in Stage

When paired T3 advertises the tools, Send starts a turn on an idle thread, and during a turn Steer adds input to it and Queue delivers the message as the next turn. A thread waiting on a request takes no message: answer it first. Queued messages lists T3's pending messages and lets you cancel, steer, edit or move one up or down; the last change wins.

Answer in T3

Open in T3 opens the thread at the Browser URL. The desktop app opens the T3 app, else T3 in the browser. A phone must reach that address too: set the Browser URL in the connection's settings (Connections reference).

Auto-complete

Settling a thread in T3 completes its successful task while Complete tasks when settled in T3 is on (the default). The session action Settle in T3 settles it from Stage; Archive in T3 does not settle a thread, so it never completes one. Auto-complete

Disconnect

stage harness t3 disconnect, or Disconnect in Settings, forgets the token, the T3 URL, the Browser URL and the admin token and stops syncing. Tasks and saved destinations stay on record, and pairing the same T3 again resumes that connection. Switching to another T3: Disconnect and switch.

Troubleshooting

stage harness t3 status    # URL, reachability, pairing, token expiry, sync, auto-pair availability

Trouble (T3 unreachable, unpaired, session expired or rejected) shows as an alert at the top of the Dashboard with the fix, and in the connection status row. A missing or offline T3 never stops the Stage server from starting. Status and troubleshooting

Next steps