Coding agents
Termbridge can prepare coding agents inside Daytona sandboxes by installing their CLIs and syncing your existing auth. This keeps the sandbox ready to use without re-logging in.
Supported agents
- Claude Code (
claude) - Codex (
codex) - OpenCode (
opencode)
Automatic setup (recommended)
Enable automatic setup by selecting agents explicitly:
export TERMBRIDGE_SANDBOX_AGENTS=claude-code,codex,opencodeOr enable all known agents:
export TERMBRIDGE_SANDBOX_AGENT_AUTO=trueWhen automatic setup is enabled, Termbridge will:
- Install agent CLIs inside the sandbox (via
npm install -g). - Sync local auth files into the sandbox.
- Forward supported API keys into the tmux session.
Local auth files are discovered from these defaults:
~/.claude/.credentials.json~/.codex/auth.json~/.config/opencode/opencode.json
Manual auth sync
If you prefer manual control, you can specify auth paths directly:
export TERMBRIDGE_SANDBOX_AGENT_AUTH_PATHS=~/.claude/.credentials.json,~/.codex/auth.json,~/.config/opencode/opencode.jsonNeed custom destinations inside the sandbox? Use explicit mappings:
export TERMBRIDGE_SANDBOX_AGENT_AUTH_MAPS=~/.claude/.credentials.json=/home/daytona/.claude/.credentials.jsonAPI keys and extra env vars
Termbridge forwards common agent API keys automatically. Add additional env var names via:
export TERMBRIDGE_SANDBOX_AGENT_ENV=CUSTOM_TOKEN,ANOTHER_SECRETControlling installation
If you want to skip installing CLIs in the sandbox, set:
export TERMBRIDGE_SANDBOX_AGENT_INSTALL=falseTo override the install packages entirely:
export TERMBRIDGE_SANDBOX_AGENT_PACKAGES=claude-code,codex,opencodeAuth sync copies local credentials into the sandbox. Only use this with sandboxes you trust, and prefer ephemeral sandboxes with TERMBRIDGE_SANDBOX_DELETE_ON_EXIT=true.