Skip to main content
Claude Code is Anthropic’s terminal coding agent. Run it in a Superserve sandbox so its shell commands and file edits stay isolated from your machine.

Via the console

  1. On the Secrets page, create a secret with the Anthropic provider and paste your API key — you only do this once, and the key never enters the sandbox.
  2. Go to console.superserve.ai and click Create sandbox.
  3. Pick the superserve/claude-code template (Claude Code preinstalled).
  4. Under Advanced Options → Secrets, bind that secret to ANTHROPIC_API_KEY.
  5. Create the sandbox, open its Terminal, and run claude.

Via the SDK

Claude Code reads ANTHROPIC_API_KEY as usual, but its value is a stand-in token — the real key is attached only on requests to Anthropic, never exposed to the agent. Open the sandbox in the console, launch the terminal, and run claude.

Persist sessions