Getting Started

Multi-Surface UI & Core Features

How apps/server powers Desktop, Web, and Mobile together, plus a walkthrough of the workspace.

Once you open T3 Code, the layout makes sense quickly because it skips heavy IDE chrome and organizes everything around one principle:

One backend server (apps/server) executes your agents and git operations, while Desktop, Web, and Mobile act as synchronized windows into that server.


One Backend, Three Client Surfaces

In pingdotgg/t3code, the codebase separates cleanly into four app layers:

1. The Server Core: apps/server

A Node.js / Bun process running locally or on a remote dev box (default port 3773). It handles all execution:

  • Spawns and drives your authenticated coding CLIs (Claude Code, Codex, Cursor, OpenCode, Grok Build, etc.);
  • Stores threads, settings, and remote pairing grants inside local SQLite (~/.t3/userdata/state.sqlite);
  • Manages per-thread Git worktrees and branch isolation;
  • Streams real-time logs, file diffs, and tool approval prompts over WebSockets + Effect RPC.

2. Desktop App: apps/desktop (Electron)

An Electron shell for macOS, Windows, and Linux that wraps the web UI and bundles the server runner. Ideal for daily workstation use when you want an out-of-the-box native app.

3. Web App: apps/web (React + Vite)

What opens when you run t3 in your terminal. Works identically in a browser tab—handy when connecting over SSH or Tailscale to a remote Linux dev machine.

4. Mobile Companion: apps/mobile (Expo / React Native)

Native iOS and Android apps for checking progress, inspecting diffs, replying to threads, and approving stalled tool calls when you walk away from your desk.


Workspace Layout & Controls

The main screen splits into three functional zones, nearly all accessible via keyboard (mod = Cmd on macOS, Ctrl on Windows/Linux):

Left: Projects & Threads (mod+B)

  • Groups threads by repository;
  • Jump between the first nine threads immediately with mod+1 through mod+9;
  • Shows run state, pending approvals, and synced Pull Request badges right on each thread row;
  • Press mod+K anytime to open the Command Palette for cross-environment search and actions.

Center: Thread Stream & Composer

The composer includes quick-pickers built specifically for parallel agent runs:

  • Workspace & Branch: mod+shift+x switches between current checkout and New worktree; mod+shift+g opens the Git branch menu;
  • Model, Effort & Permissions:
    • mod+shift+m: Switch model or agent;
    • mod+shift+e: Adjust reasoning effort level;
    • mod+shift+a: Switch execution permission modes;
    • mod+shift+h: Switch target host environment;
  • Queueing & Steering: While an agent turn is active, follow-ups can either queue for the next turn or fire immediately as a Steer (mod+Shift+Enter) to course-correct mid-run. Press mod+Alt+Enter to send the current prompt and immediately jump into a fresh new-thread composer.

Right: Diff Viewer & Git / PR Actions

  • Click Open diff to inspect uncommitted changes, the latest turn, a specific historical turn, or a full comparison against your base branch;
  • Click Commit to let T3 Code draft a commit message and commit to the thread's branch;
  • Once committed, the button transitions cleanly into Push and Open Pull Request flows on GitHub/GitLab.

Keyboard Shortcuts Cheatsheet (~/.t3/userdata/keybindings.json)

ShortcutAction
mod+KOpen Command Palette / cross-environment search
mod+BToggle threads sidebar
mod+1 – mod+9Jump to threads 1–9 (or pick models in model menu)
mod+P / mod+shift+FFile picker / project search
mod+Alt+NStart a thread without a project
mod+shift+xOpen workspace & worktree menu
mod+shift+gOpen Git branch menu
mod+shift+mSwitch AI model / agent
mod+shift+eAdjust agent effort level
mod+shift+aAdjust permission mode
mod+Alt+EnterSend prompt and spin up a fresh new-thread composer
mod+Shift+EnterSend queued message as a Steer during an active turn

Customize any shortcut in Settings → Keybindings or directly inside ~/.t3/userdata/keybindings.json.