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:
L 2026-02-07 12:06:37 -08:00 committed by GitHub
parent c3e83ea00a
commit 85938a7b0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 1158 additions and 1 deletions

View file

@ -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`)