Skip to content

box

Run and describe Clanker Box agent sandboxes.

Clanker Box packages agent runtimes as HTTP services that can be deployed to Cloud Run or served locally. It supports an empty shell sandbox, native Clanker CLI runtime, Hermes, OpenClaw, Codex, and Claude Code adapters.

Usage

bash
clanker box [command]

Commands

CommandDescription
catalogPrint supported Clanker Box agents and Cloud Run regions as JSON
manifestPrint a Cloud Run runtime manifest for a box
installInstall one agent runtime or all supported runtimes
serveServe a Clanker Box agent runtime over HTTP

Catalog

bash
clanker box catalog

The catalog includes supported agents, default serve commands, required secrets, and available Cloud Run regions.

Current agent IDs include:

AgentRuntimeNotes
emptybase-shellBasic shell environment with terminal access
clanker-clinative-cliNative Clanker CLI runtime for cloud operations and MCP workflows
hermespython-bridgeHermes adapter; requires an OpenAI or Anthropic key
openclawgateway-adapterOpenClaw gateway adapter; requires OPENCLAW_GATEWAY_TOKEN
codexcli-adapterCodex CLI adapter; requires CODEX_AUTH or OPENAI_API_KEY
claude-codecli-adapterClaude Code adapter; requires an Anthropic key or Claude Code login

Manifest

bash
clanker box manifest --agent clanker-cli --region us-central1 --project my-project
clanker box manifest --agent codex --image us-central1-docker.pkg.dev/my-project/agents/clankerbox:latest
FlagDefaultDescription
--nameclanker-boxBox display name
--agentclanker-cliAgent to run: empty, hermes, openclaw, codex, claude-code, or clanker-cli
--regionus-central1Cloud Run region
--imageemptyContainer image URI
--projectemptyGCP project ID
--service-accountemptyRuntime service account email
--artifact-repoemptyArtifact Registry repository
--state-bucketemptyCloud Storage state bucket
--control-plane-urlemptyClanker Cloud control-plane URL
--require-authtrueRequire X-API-Key or Bearer token for message endpoints
--websocket-timeout-minutes60Cloud Run WebSocket request timeout target

Install Runtime Adapters

bash
clanker box install codex
clanker box install claude-code
clanker box install all

The install command prints JSON with the result for each adapter. Runtime installs are on demand, so a basic empty or clanker-cli box can run without preinstalling every agent.

Serve

bash
PORT=8080 clanker box serve --agent clanker-cli
PORT=8080 clanker box serve --agent empty --name scratch

serve reads runtime configuration from the environment and listens on :$PORT, defaulting to 8080.

See Also

  • mcp - Expose Clanker tools to MCP clients
  • SRE - Long-running observer agent
  • Deploy - Cloud deployment planning and apply