Back to Blog
Workflow

Practical Multi-Agent Workflows in T3 Code: Worktrees, Handoffs, and Phone Approvals

T
T3 Code Wiki
2026-11-24

If you install T3 Code and only use one thread at a time in your main checkout, you miss most of what makes it useful. The real productivity jump comes from three habits: isolating concurrent tasks with Git worktrees, handing off a thread between agents mid-stream, and running the server in the background so your phone can handle approvals.

Here is how those three pieces fit together in day-to-day work with pingdotgg/t3code.

1. Stop Letting Concurrent Agents Touch the Same Working Tree

Without worktrees, running two tasks means waiting for Agent A to finish, stashing or committing, switching branches, and finally starting Agent B.

In T3 Code, you skip the juggling:

  1. Open Thread A inside its own Git worktree to fix an API validation bug.
  2. Open Thread B in a second Git worktree to update a frontend form at the same time.

Both threads read from the same repository, but their files and branches live in separate worktree directories. Running tests or typechecks in Thread A never breaks what Thread B is editing. Whichever finishes first, inspect the diff right inside T3 Code, commit, push, and open a PR without touching your main checkout.

2. Plan With One Agent, Implement With Another

Plenty of developers keep both Claude Code and Codex signed in because each shines at different parts of a job—one might be great at tracing a gnarly bug or designing a refactor, while another powers through boilerplate and test suites.

In plain terminal tabs, switching mid-task means copying summaries out of one shell and pasting them into another. Because T3 Code organizes work around persistent threads:

  • First half (Plan): Let your preferred reasoning model explore the codebase and nail down the exact change list.
  • Second half (Build): Switch the model or hand the thread over to the next agent right inside the same thread so it picks up with full context intact.

3. Take Approvals With You Using t3 service install

Anyone who kicks off a multi-file refactor knows the frustration of coming back 15 minutes later only to find the agent stopped on a confirmation prompt two minutes after you walked away.

To keep things moving when you leave your desk:

bash
# 1. Keep the T3 Code backend running as a background service
t3 service install

# 2. Configure remote access via T3 Connect (or enable in Settings → Sharing & access)
t3 up

Once linked—whether over your home Wi-Fi, Tailscale, or T3 Connect—open the iOS or Android companion app:

  • Your phone does not run models or touch code locally; your workstation or dev server (port 3773) continues doing all the heavy lifting.
  • You watch live logs and diffs from your phone and tap to approve tool executions so the run finishes before you get back to your keyboard.

Two Maintenance Commands Worth Remembering

Because pingdotgg/t3code ships fast:

  • Run t3 update to pull the latest CLI release cleanly.
  • Run t3 doctor if you want to check your environment or clean up local SQLite database space.

Put those habits together—worktree isolation, mid-thread handoffs, and background mobile access—and T3 Code starts paying for itself on day one.