Run a local agent
The Sparkles CLI runs Claude Code, Codex, or OpenCode on your computer using the agent access you already have. Sessions can stay local, mirror to the Sparkles dashboard, or hand off to a cloud sandbox.Build a Sandbox API integration
Every Sparkles user can create and control managed coding sandboxes through the API. The production base URL ishttps://sparkles.dev. Every API request uses HTTPS and a bearer key created from the API access page.
spk_live_ in production. Sparkles shows a key only once, stores only its SHA-256 digest, and rejects it immediately after either the key or its access grant is revoked.
Follow the sandbox quickstart to create, stream, prompt, and terminate a sandbox. Then review the sandbox resource lifecycle, stream event contract, and error and retry behavior.
The OpenAPI reference contains the machine-readable request and response contracts.