`navigator.clipboard` only exists in a secure context, so it is undefined over plain http — which is how T3 is reached on a LAN or Tailscale host. Every copy button on such an origin threw before copying, so nothing landed on the clipboard and no success state ever rendered. That included the button handing over a pairing command the user cannot reasonably retype. Fall back to the legacy execCommand path when the async API is missing, and also when a secure-context write is rejected, since a permissions-policy or user-activation refusal can still succeed the old way. Focus restore is duck-typed rather than `instanceof HTMLElement`: that global is absent in non-DOM environments, where a bare reference throws instead of being falsy, and losing focus is never worth failing a copy over. The restart step spelled its command inline as prose while the two steps above it had copy buttons, so the one command that activates the pairing was the one you had to retype. Give it the same treatment, and say plainly that running in the foreground is expected without an installed service, since it looks like a hang. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
T3 Code
T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, Cursor, and OpenCode, more coming soon).
Installation
Warning
T3 Code currently supports Codex, Claude, Cursor, 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
cursor-agent login- OpenCode: install OpenCode and run
opencode auth login
Run without installing
npx t3@latest
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 not accepting contributions yet.
There's no public docs site yet, checkout the miscellaneous markdown files in docs.
Documentation
- Getting started
- Remote access
- Keeping T3 Code in sync
- Architecture overview
- Provider guides
- Operations
- Reference
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.