mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 04:09:40 +00:00
Eliminate ~70% boilerplate across 149 agent scripts by introducing a standard cloud_* adapter interface and spawn_agent orchestration runner. Each cloud's lib/common.sh now exports 7 adapter functions (cloud_authenticate, cloud_provision, cloud_wait_ready, cloud_run, cloud_upload, cloud_interactive, cloud_label) that wrap cloud-specific operations behind a uniform interface. Agent scripts define hooks (agent_install, agent_env_vars, agent_launch_cmd, etc.) and call `spawn_agent "Agent Name"` — the runner handles the full deployment flow: auth → provision → wait → install → API key → env → config → launch. - shared/common.sh: add spawn_agent(), _fn_exists(), _spawn_inject_env_vars() - 10 cloud lib/common.sh files: add cloud_* adapter functions - 149 agent scripts: rewrite to hook pattern (~40-80 lines → ~20-35 lines) - test/run.sh: update 2 sprite test patterns for new adapter paths - Net reduction: ~4,300 lines (2,257 added, 6,563 removed) Co-authored-by: lab <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude/rules | ||
| lib | ||
| aider.sh | ||
| amazonq.sh | ||
| claude.sh | ||
| cline.sh | ||
| codex.sh | ||
| continue.sh | ||
| gemini.sh | ||
| goose.sh | ||
| gptme.sh | ||
| interpreter.sh | ||
| kilocode.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| opencode.sh | ||
| plandex.sh | ||
| README.md | ||
Sprite
Sprites.dev managed VMs with CLI. Sprite
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/openclaw.sh)
NanoClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/nanoclaw.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/goose.sh)
Codex CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/codex.sh)
Open Interpreter
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/interpreter.sh)
Gemini CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/gemini.sh)
Amazon Q CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/amazonq.sh)
Cline
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/cline.sh)
gptme
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/gptme.sh)
OpenCode
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/opencode.sh)
Plandex
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/plandex.sh)
Kilo Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/kilocode.sh)
Continue
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/continue.sh)
Non-Interactive Mode
SPRITE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/sprite/claude.sh)