spawn/local
A 55d5c123f7
fix: Improve UX for local cloud quick-start and env var messaging (#385)
- Fix cmdCloudInfo quick-start showing "none" as a command for local cloud
- Always show OPENROUTER_API_KEY in cloud quick-start (needed for all agents)
- Update local scripts to explicitly say "Appending environment variables to ~/.zshrc"
- Update local README with spawn CLI usage and "What It Does" section
- Add 3 tests for quick-start auth display (none auth, env var auth)

Agent: ux-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 01:02:45 -08:00
..
lib feat: Add local cloud provider for running agents on local machine (#381) 2026-02-11 00:50:05 -08:00
claude.sh fix: Improve UX for local cloud quick-start and env var messaging (#385) 2026-02-11 01:02:45 -08:00
nanoclaw.sh fix: Improve UX for local cloud quick-start and env var messaging (#385) 2026-02-11 01:02:45 -08:00
openclaw.sh fix: Improve UX for local cloud quick-start and env var messaging (#385) 2026-02-11 01:02:45 -08:00
README.md fix: Improve UX for local cloud quick-start and env var messaging (#385) 2026-02-11 01:02:45 -08:00

Local Machine

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.

Quick Start

If you have the spawn CLI installed:

spawn claude local
spawn openclaw local
spawn nanoclaw local

Or run directly without the CLI:

bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/claude.sh)
bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/openclaw.sh)
bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/nanoclaw.sh)

Non-Interactive Mode

OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/claude.sh)

What It Does

Local scripts will:

  • Install the agent if not already present
  • Obtain an OpenRouter API key (via OAuth or environment variable)
  • Append environment variables to ~/.zshrc for the agent to use
  • Launch the agent

No cloud servers are created or destroyed.

Environment Variables

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