Termbridge
Sandboxes

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)

Enable automatic setup by selecting agents explicitly:

export TERMBRIDGE_SANDBOX_AGENTS=claude-code,codex,opencode

Or enable all known agents:

export TERMBRIDGE_SANDBOX_AGENT_AUTO=true

When 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.json

Need custom destinations inside the sandbox? Use explicit mappings:

export TERMBRIDGE_SANDBOX_AGENT_AUTH_MAPS=~/.claude/.credentials.json=/home/daytona/.claude/.credentials.json

API 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_SECRET

Controlling installation

If you want to skip installing CLIs in the sandbox, set:

export TERMBRIDGE_SANDBOX_AGENT_INSTALL=false

To override the install packages entirely:

export TERMBRIDGE_SANDBOX_AGENT_PACKAGES=claude-code,codex,opencode

Auth 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.

On this page