The local trace file burned through its whole 100 MB rotation window in 10-36 minutes, which made incident audits impossible: by the time a slow-PR-badge report came in, the relevant spans were already rotated away. Two sources dominated: the terminal subprocess poller (~40% of bytes: pgrep + up to three ps spawns per session per second, each a full process-table enumeration) and sql.execute spans (~28%). Write less: - One shared ps/powershell process-table snapshot per poll tick serves every running terminal; per-session inspection is now pure lookup. This also removes 50-75 process spawns/sec on busy hosts. - The poll tick runs untraced; an explicit terminal.subprocessActivityChanged span fires only on a real state flip. - Tail policy in the local file tracer: failures, interruptions, spans with events, and slow spans always persist; fast successes are rate-limited per span name (50 per 30s). OTLP delegate still sees every span. T3CODE_TRACE_KEEP_ALL_SPANS=true restores full fidelity. - Dropped constant db.name/service.name attributes from every sql.execute span. Keep more: - Rotated trace backups are gzipped (measured 10.6x on real span data) and T3CODE_TRACE_MAX_FILES now defaults to 30, so the same disk budget covers hours. - TraceDiagnostics reads backups one file at a time (instead of slurping every rotation into memory) and transparently gunzips .gz backups; plain legacy backups still age along the chain. Co-Authored-By: Claude Fable 5 <[email protected]>
T3 Code
T3 Code is an "agent harness control surface". It enables control of the agents on your machine with a best-in-class mobile app (iOS, Android), web app and Electron-based desktop app.
Works with your subscriptions on Claude Code, Codex, Cursor, Grok Build, and OpenCode. If they're set up on your computer, T3 Code can control them.
"Wait, what are you selling me?"
Nothing. We built T3 Code because we wanted the best possible development experience with agents. We were inspired by existing solutions like the Codex desktop app, Conductor, Claude Desktop and Cursor Glass, but none met our bar.
We wanted something performant, remote-ready, and truly open. If we ever go the wrong direction, we want you to have everything you need to fork and build the editor that you want.
Installation
Warning
T3 Code currently supports Codex, Claude, Cursor, Grok Build and OpenCode. Install and authenticate at least one provider before use:
- Codex: install Codex CLI and run
codex login- Claude: install Claude Code and run
claude auth login- Cursor: install Cursor CLI and run
agent login- Grok Build: install Grok Build CLI and run
grok login- OpenCode: install OpenCode and run
opencode auth login
Try it out (install-free)
The easiest way to test T3 Code is to run the server in your terminal (requires Node.js 22.16+, 23.11+, or 24.10+):
npx t3@latest
This will launch T3 Code's backend on your machine as well as the local web app to control your agents.
Tip: Use npx t3@latest --help for the full CLI reference.
Desktop app
Install the latest version of the desktop app from GitHub Releases, or from your favorite package registry:
Windows (winget)
winget install T3Tools.T3Code
macOS (Homebrew)
brew install --cask t3-code
Arch Linux (AUR)
yay -S t3code-bin
Some notes
We are very very early in this project. Expect bugs.
We are (mostly) not accepting contributions yet. Small fixes may be considered. Big features will not be.
Documentation
Full docs live in docs/. There's no docs site yet.
- Install and first run
- Permission modes
- Keyboard shortcuts
- Remote access from a phone or another machine
- Keeping app and server in sync
- Source control integrations
- Multiple accounts: Codex · Claude
- Linux: run T3 Code as a background service
Building from source? Start at docs/internals/overview.md.
If you REALLY want to contribute still.... read this first
Install vp
T3 Code uses Vite+ so you'll need to install the global vp command-line tool.
macOS / Linux
curl -fsSL https://vite.plus | bash
Windows
irm https://vite.plus/ps1 | iex
Checkout their getting started guide for more information: https://viteplus.dev/guide/
Install dependencies
vp i
Read CONTRIBUTING.md before opening an issue or PR.
Need support? Join the Discord.