---
# Publishes this page at t3.codes/docs.
slug: index
---

# T3 Code User Guide

Welcome to T3 Code. This guide explains how T3 Code works, what you need before starting, what to expect, and where to find documentation for every feature.

## How T3 Code works

T3 Code is an open-source control plane for coding agents. It gives the coding agents already installed on your computer (or server) one fast, unified interface across **desktop**, **web** (`app.t3.codes` or local), and **mobile** (iOS and Android).

![Desktop, web, and phone clients connect to the T3 Code server on your host, which drives the coding agents installed there; agents talk directly to your provider](/docs/blume-assets/content/_/69bd32595c352db1.svg)

### Core concepts

- **Host (Environment) vs. Clients**: A T3 Code **server** runs on the machine that holds your code and provider CLIs (your laptop, desktop, workstation, or VPS). Your desktop app, browser, and phone are **clients** connected to one or more environments.
- **T3 Code is not a harness on its own**: It drives the agent harnesses you already have—Claude Code, Codex, Cursor, Grok Build, Google Antigravity, OpenCode, Kiro, Pi, Muse Code, fx, or any [ACP](/docs/providers-acp) agent. You can switch providers or models mid-thread and even let one agent delegate tasks to another.
- **Projects**: A project points to a folder on an environment (a single Git repo, a [multi-repo folder](/docs/multi-repo-projects), or a plain folder). You can also start scratch threads [without a project](/docs/thread-sidebar#start-without-a-project).
- **Threads & Worktrees**: Each task gets its own **thread**. Run a thread in the project's main checkout, or choose **New worktree** to give it an isolated Git branch and working directory so multiple agents can work in parallel without stepping on each other.
- **Permission modes**: Control per thread whether an agent asks before acting (**Supervised**), auto-approves file edits (**Auto-accept edits**), uses provider auto-review (**Auto**), or runs without prompts (**Full access**).

## Prerequisites and expectations

- **Bring your own subscription or API keys**: T3 Code does not resell tokens. You need at least **one installed, authenticated provider** on the host machine before starting a thread (Codex via ChatGPT and Google Antigravity can install and sign in directly from T3 Code).
- **Code stays on your machine**: Your code and prompts go directly from your host machine to your chosen provider—never through T3 Code servers.
- **Your host must stay awake**: Your phone and `app.t3.codes` are remote controls. If the host machine sleeps or shuts down, agents pause until it wakes. Use the [background service](/docs/background-service) for always-on hosts.
- **Git is optional but unlocks the best features**: Branching, isolated worktrees, turn diffs, and one-click PRs require a Git repository (and a signed-in host CLI or token for PRs/issues).
- **No local-model focus**: T3 Code is designed for frontier coding agents (though OpenAI-compatible local endpoints like Ollama can be used for lightweight [text generation](/docs/text-generation) like thread titles).
- **Device vs. server settings**: Appearance, keybinding preferences, and saved PR views live per device; provider configs, thread rules, worktree cleanup, and scheduled tasks live on each server environment (with per-project overrides).

## Quickstart

1. **Install T3 Code** on the machine where your agents will run ([Install T3 Code](/docs/install)).
2. **Set up at least one agent** via the [Welcome page](/docs/welcome-page) or **Settings → Providers** (for example, `claude auth login` or `codex login`).
3. **Open or clone a project** and start a thread ([Working with threads](/docs/thread-sidebar)).
4. **Optional — connect your phone or another computer**: Run `t3 up` on the host or enable **T3 Connect** in **Settings → Sharing & access** ([Remote access](/docs/remote-access)).

---

## Documentation index

### Getting started

- [Install T3 Code](/docs/install) — Desktop app, `t3` CLI, mobile app, WSL, and provider setup.
- [Welcome page](/docs/welcome-page) — First-run setup and importing existing Claude, Codex, and Pi sessions.
- [FAQ](/docs/faq) — Common questions on pricing, subscriptions, privacy, limits, and troubleshooting.
- [Threads from older T3 Code versions](/docs/thread-migration) — V1 → V2 database migration and recovery backups.

### Everyday workflow

- [Working with threads](/docs/thread-sidebar) — Starting threads, scratch threads, pinning, settling, snoozing, archiving, and side chats.
- [Messages and context](/docs/composer) — Composer formatting, attachments, queueing/steering, `@` threads/models, `#` PRs, `/goal`, stash, and rewind.
- [Permission modes](/docs/permission-modes) — Supervised, Auto-accept edits, Auto, Full access, push-hook prompts, and provider differences.
- [Diffs and workspace files](/docs/diffs) — Turn diffs, branch comparisons, commits view, file editor, and inline review comments.
- [Source control](/docs/source-control) — GitHub, GitLab, Forgejo/Gitea, Bitbucket, Azure DevOps, GitCafe, Cursor Origin, Linear and Jira issues, PR review guides, stacks, and PR watching.
- [Activity log](/docs/activity-log) — Inspecting tool calls, hiding work logs / Zen mode, and screen reader announcements.
- [Subagents and delegation](/docs/subagents) — Parallel T3-delegated and provider-native subagents.
- [Context in portable handoffs](/docs/portable-handoffs) — How conversation context transfers across provider switches and forks.
- [Files in question answers](/docs/question-attachments) — Attaching files and images when answering agent questions.
- [Terminal](/docs/terminal) — Integrated host terminals, scrollback limits, custom shells, and fish config.

### Workspace tools & media

- [Built-in browser](/docs/browser) — Preview tabs, profiles, viewports, element picker, annotations, recordings, and agent browser access.
- [Import browser sessions](/docs/browser-import) — Copying cookies from Chrome, Safari, Firefox, Zen, or Helium into the desktop preview browser.
- [Use T3 Code as your default browser](/docs/default-browser) — Opening links and HTML files in T3 Code on macOS.
- [Devices](/docs/devices) — Live iOS Simulators, Android Emulators, physical Android devices, SSH device hosts, and Simlock pools.
- [Visual replies and MCP apps](/docs/html-renders) — Inline HTML charts/diagrams/mockups and interactive MCP Apps.
- [SnapShots](/docs/snap-shot) — Desktop window capture with accessibility text attached to drafts.
- [Voice input](/docs/voice-input) — On-device, environment, and cloud speech-to-text dictation and transcript cleanup.
- [Prompt links](/docs/prompt-links) — Shareable prefilled draft links and thread links.

### Projects, automation & customization

- [Settings and project overrides](/docs/project-settings) — Scope inheritance, pinning/archiving projects, worktree cleanup, scheduled tasks, and webhooks.
- [Project configuration (`t3.json`) and actions](/docs/t3-json) — Checked-in repo config, setup/dev/settle scripts, and schema reference.
- [Projects with several repositories](/docs/multi-repo-projects) — Multi-repo folders, external folders, submodules, and custom worktree layouts.
- [Workflows](/docs/workflows) — Durable multi-stage TypeScript workflows (Labs) with schedules, webhooks, and approvals.
- [Text generation models](/docs/text-generation) — Fast/cheap API models for titles, commits, PR descriptions, and voice cleanup.
- [MCP servers and skills](/docs/tools) — Adding MCP servers to agent sessions and hiding skills, in `settings.json`.
- [Appearance and themes](/docs/appearance) — Built-in themes, custom palettes/CSS, background images, LaTeX math, and environment themes.
- [Keybindings](/docs/keybindings) — Shortcuts, `keybindings.json` syntax, `when` conditions, and hardware keyboards.
- [Keyboard focus](/docs/keyboard-focus) — Full keyboard workspace navigation (`F6`, sidebar, and settings).

### Providers

- [Codex](/docs/providers-codex) — ChatGPT sign-in, CLI/shadow-home multi-account, image generation, async questions, Daybreak.
- [Claude](/docs/providers-claude) — Multi-account `CLAUDE_CONFIG_DIR`, idle compaction, skills, MCP OAuth, Claude in Chrome, OpenRouter.
- [Cursor](/docs/cursor) — Local Cursor SDK sign-in, MCP/plugins, and Windows sandbox notes.
- [Grok Build](/docs/providers-grok) — Grok CLI setup, `XAI_API_KEY`, `GROK_HOME`, and permissions.
- [Antigravity](/docs/providers-antigravity) — Managed runtime, Google/Vertex sign-in methods, skills, and quotas.
- [OpenCode](/docs/providers-opencode) — OpenCode 1.x/2.x, local vs. external servers, compaction, and approvals.
- [Kiro](/docs/providers-kiro) — Kiro CLI V3, custom agents, and permissions.
- [Pi](/docs/providers-pi) — Pi setup, extensions, thinking/speed tiers, and folder trust.
- [Muse Code](/docs/providers-muse) — Muse CLI, `META_API_KEY`, and limitations.
- [fx](/docs/providers-fx) — fx backends, effort, skills, and permissions.
- [ACP providers](/docs/providers-acp) — ACP Registry agents and local ACP commands.

### Remote, mobile & integrations

- [Remote access](/docs/remote-access) — T3 Connect, LAN/Tailscale pairing, desktop SSH, multi-route failover, load balancing, and linked environments.
- [T3 Connect troubleshooting](/docs/t3-connect-troubleshooting) — Diagnosing tunnel, port 7844, DNS, clock, and account errors.
- [Mobile notifications](/docs/mobile-notifications) — Push alerts, iOS Live Activities/widgets, and Android Live Updates.
- [Guest links](/docs/guest-links) — Sharing a live thread with a teammate in their browser (no account needed).
- [Outside agents](/docs/outside-agents) — Connecting Claude Code, Codex, ChatGPT, or bots to T3 Code over MCP, plus `t3 thread` host scripting.
- [Secrets](/docs/secrets) — 1Password CLI references and private in-thread agent secret cards.
- [1Password service account](/docs/secrets-1password-service-account) — Headless 1Password setup with a service account token.
- [1Password Connect](/docs/secrets-1password-connect) — Headless 1Password setup with a Connect server.

### Operations, monitoring & admin

- [Running T3 Code in the background](/docs/background-service) — Background user service, `service.env`, Linux OOM protection, and `t3 doctor`.
- [Updating T3 Code](/docs/updating) — Updating desktop, servers, providers, Stable/Nightly tracks, and restart continuation.
- [Usage and limits](/docs/usage) — Token/cost tracking, custom model pricing, pooled subscription quotas, CLIProxyAPI hubs, and HTTP quota sources.
- [Maintenance, power, and diagnostics](/docs/diagnostics) — Background activity profiles, keep awake, Diagnostics UI, and `t3 trace`.
- [CLI reference (`t3`)](/docs/cli) — Complete overview of `t3` subcommands.
- [Product usage data and diagnostics](/docs/telemetry) — Telemetry opt-outs, agent feedback, mobile diagnostics, and OTLP export.
- [Triage an issue](/docs/triage) — Letting an agent investigate a T3 Code bug and draft an issue.
- [Managed policy](/docs/managed-policy) — Machine-wide enterprise configuration via JSON, macOS profiles, and Windows GPO/registry.
- [Open source licenses](/docs/open-source-licenses) — Viewing third-party license notices in the app.
