mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 04:09:40 +00:00
Adds a "local" cloud provider that installs and runs agents directly on the user's machine without any cloud provisioning. This is useful for local development and testing. - local/lib/common.sh: Cloud lib with local execution functions - local/claude.sh: Claude Code agent script - local/openclaw.sh: OpenClaw agent script - local/nanoclaw.sh: NanoClaw agent script - manifest.json: Added local cloud + matrix entries - test/: Updated record.sh and mock.sh for local cloud support Fixes #378 Agent: issue-fixer Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| claude.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| README.md | ||
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.
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/lab/spawn/local/openclaw.sh)
NanoClaw
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)
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 |