mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
Add GCP Compute Engine as eighth cloud provider with all 10 agents (#19)
GCP instances via gcloud CLI with startup-script for provisioning. Uses current username for SSH (not root/ubuntu). - gcp/lib/common.sh: gcloud wrapper, SSH key handling, instance lifecycle - All 10 agents: claude, openclaw, nanoclaw, aider, goose, codex, interpreter, gemini, amazonq, cline Matrix now 10 agents x 8 clouds = 80/80 implemented. Co-authored-by: Sprite <noreply@sprite.dev> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c3e83ea00a
commit
85938a7b0d
13 changed files with 1158 additions and 1 deletions
83
README.md
83
README.md
|
|
@ -584,3 +584,86 @@ OPENROUTER_API_KEY=sk-or-v1-xxxxx \
|
|||
- `OPENROUTER_API_KEY` - Skip OAuth and use this API key directly
|
||||
- `LAMBDA_INSTANCE_TYPE` - Instance type (default: `gpu_1x_a10`)
|
||||
- `LAMBDA_REGION` - Region (default: `us-east-1`)
|
||||
|
||||
---
|
||||
|
||||
## GCP Compute Engine
|
||||
|
||||
Spawn agents on [Google Cloud Compute Engine](https://cloud.google.com/compute) instances. Requires `gcloud` CLI installed and configured.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Claude Code
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)
|
||||
```
|
||||
|
||||
#### OpenClaw
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/openclaw.sh)
|
||||
```
|
||||
|
||||
#### NanoClaw
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/nanoclaw.sh)
|
||||
```
|
||||
|
||||
#### Aider
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/aider.sh)
|
||||
```
|
||||
|
||||
#### Goose
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/goose.sh)
|
||||
```
|
||||
|
||||
#### Codex CLI
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/codex.sh)
|
||||
```
|
||||
|
||||
#### Open Interpreter
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/interpreter.sh)
|
||||
```
|
||||
|
||||
#### Gemini CLI
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/gemini.sh)
|
||||
```
|
||||
|
||||
#### Amazon Q CLI
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/amazonq.sh)
|
||||
```
|
||||
|
||||
#### Cline
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/cline.sh)
|
||||
```
|
||||
|
||||
### Non-Interactive Mode
|
||||
|
||||
```bash
|
||||
GCP_INSTANCE_NAME=dev-mk1 \
|
||||
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
|
||||
bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)
|
||||
```
|
||||
|
||||
**Environment Variables:**
|
||||
- `GCP_INSTANCE_NAME` - Name for the instance (skips prompt)
|
||||
- `GCP_PROJECT` - GCP project ID (defaults to gcloud config)
|
||||
- `OPENROUTER_API_KEY` - Skip OAuth and use this API key directly
|
||||
- `GCP_MACHINE_TYPE` - Machine type (default: `e2-medium`)
|
||||
- `GCP_ZONE` - Compute zone (default: `us-central1-a`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue