mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-02 05:40:17 +00:00
Converted 11 E2B scripts to use inject_env_vars_local(): - aider, claude, amazonq, cline, codex - gemini, goose, gptme, interpreter, nanoclaw, openclaw Pattern reduces ~10-15 lines to 3-4 lines per script. Special cases: - nanoclaw.sh: Has additional DOTENV_TEMP for agent-specific .env file - gptme.sh: Had manual rm instead of trap, now handled by shared function Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| amazonq.sh | ||
| claude.sh | ||
| cline.sh | ||
| codex.sh | ||
| gemini.sh | ||
| goose.sh | ||
| gptme.sh | ||
| interpreter.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| README.md | ||
E2B
E2B sandboxed cloud containers via CLI/SDK. E2B
No SSH — uses E2B CLI for exec. Sandboxes start in ~150ms. Requires npm install -g @e2b/cli.
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/openclaw.sh)
NanoClaw
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/nanoclaw.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/goose.sh)
Codex CLI
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/codex.sh)
Open Interpreter
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/interpreter.sh)
Gemini CLI
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/gemini.sh)
Amazon Q CLI
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/amazonq.sh)
Cline
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/cline.sh)
Non-Interactive Mode
E2B_SANDBOX_NAME=dev-mk1 \
E2B_API_KEY=your-key \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/lab/spawn/e2b/claude.sh)