AI Coding Tools
Termbridge works great for monitoring AI coding assistants. Start an agent in your terminal, then watch it work from your phone while you're away from your desk.
Why use Termbridge with AI tools?
- Monitor remotely: Watch Claude Code or Codex work from your couch
- Stay informed: See when agents need input or hit errors
- Quick intervention: Send commands or cancel processes from your phone
- No VPN needed: Secure access from anywhere
Supported tools
Any CLI-based AI coding tool works:
- Claude Code (
claude-code) - Codex (
codex) - OpenCode (
opencode) - Aider (
aider) - Cursor (terminal mode)
- Any other terminal-based agent
Local workflow
Watch Claude Code from your phone
# Start Termbridge with a named session
termbridge --session claude
# In the terminal (via UI or locally), start Claude
claudeScan the QR code and watch Claude work from anywhere.
Start the agent first
If you prefer to start the agent before Termbridge:
# Create a tmux session and start the agent
tmux new-session -d -s claude "claude"
# Then attach Termbridge to it
termbridge --session claudeCodex workflow
tmux new-session -d -s codex
tmux send-keys -t codex "codex" Enter
termbridge --session codexSandbox workflow
For isolated environments, run agents in a Daytona sandbox. Termbridge can install agent CLIs and sync your auth automatically.
Quick setup
export TERMBRIDGE_BACKEND=sandbox-daytona
export TERMBRIDGE_SANDBOX_AGENTS=claude-code,codex
termbridgeThis will:
- Create a Daytona sandbox
- Install the agent CLIs
- Sync your local auth files so agents are ready to use
See the Coding Agents guide for full details.
Tips
Named sessions
Use meaningful session names so you know what's running:
termbridge --session claude-refactor
termbridge --session codex-testsMultiple agents
Run different agents in different terminals:
TERMBRIDGE_SESSIONS=2 termbridgeStart Claude in one, Codex in another, and switch between them.
Long-running tasks
AI agents can run for a long time. Termbridge handles this well:
- Your session persists even if you close the browser
- Reconnect anytime by refreshing the page
- tmux keeps the agent running even if Termbridge restarts
Intervention
Need to stop or redirect an agent?
- Use the
Ctrl+Cbutton to interrupt - Type new instructions in the input field
- The agent receives your input just like a local terminal
Sandbox vs local
| Feature | Local (tmux) | Sandbox (Daytona) |
|---|---|---|
| Setup | Just tmux | Daytona account + API key |
| Environment | Your machine | Isolated container |
| Persistence | Survives restarts | Survives laptop sleep |
| Auth | Already configured | Auto-synced by Termbridge |
| Best for | Quick monitoring | Isolated experiments |
For most users, local mode is simpler. Use sandbox mode when you want:
- A clean, disposable environment
- To keep your laptop free while agents work
- To run experiments without affecting your local setup