Via the console
- On the Secrets page, create a secret for your model provider (e.g. Anthropic) and paste your API key — you only do this once, and the key never enters the sandbox.
- Go to console.superserve.ai and click Create sandbox.
- Pick the
superserve/node-22template. - Under Advanced Options → Secrets, bind that secret to your provider’s key env var (e.g.
ANTHROPIC_API_KEY). - Create the sandbox, open its Terminal, and install Kilocode.
Via the SDK
ANTHROPIC_API_KEY as usual, but its value is a stand-in token — the real key is attached only on requests to the provider, never exposed to the agent.
Open the sandbox in the console, launch the terminal, and run kilocode.