Run agents directly on your local machine without any cloud provisioning.
No server creation or destruction. Installs agents and injects OpenRouter credentials locally. Useful for local development and testing.
If you have the spawn CLI installed:
spawn claude local
spawn openclaw local
spawn codex local
spawn opencode local
spawn kilocode local
spawn hermes local
spawn junie local
spawn cursor localOr run directly without the CLI:
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/claude.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/openclaw.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/codex.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/opencode.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/kilocode.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/hermes.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/junie.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/cursor.sh)OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/claude.sh)Local scripts will:
- Install the agent if not already present
- Obtain an OpenRouter API key (via OAuth or environment variable)
- Append environment variables to
~/.zshrcfor the agent to use - Launch the agent
No cloud servers are created or destroyed.
| Variable | Description |
|---|---|
OPENROUTER_API_KEY |
OpenRouter API key (prompted via OAuth if not set) |
SPAWN_PROMPT |
If set, runs the agent non-interactively with this prompt |