spawn/sh/gcp/README.md
A c1d8acb73e
feat: add Pi coding agent (shittycodingagent.ai) to spawn (#3128)
Pi is a minimal terminal coding agent by Mario Zechner (~29.8k GitHub
stars) that natively supports OpenRouter via OPENROUTER_API_KEY.
Installed via npm as @mariozechner/pi-coding-agent, CLI command is `pi`.

- Add Pi agent config across all 6 clouds (local, hetzner, aws, do, gcp, sprite)
- Add manifest.json entry with matrix entries
- Add agent-setup.ts config (node cloudInitTier, npm install)
- Add spawn-skill.ts injection path (~/.pi/agent/skills/spawn/SKILL.md)
- Add bash wrappers for all clouds
- Update README matrix (also adds missing Cursor CLI row: 10 agents, 60 combos)

Co-authored-by: spawn-bot <spawn-bot@openrouter.ai>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 17:34:34 -07:00

2 KiB

GCP Compute Engine

Google Cloud Compute Engine instances via gcloud CLI. GCP Compute Engine

Uses current username for SSH. Requires gcloud CLI installed and configured.

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/openclaw.sh)

Codex CLI

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/codex.sh)

OpenCode

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/opencode.sh)

Kilo Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/kilocode.sh)

Hermes

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/hermes.sh)

Junie

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/junie.sh)

Cursor CLI

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/cursor.sh)

Pi

bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/pi.sh)

Non-Interactive Mode

GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)

Custom Disk Size

By default, instances are created with a 40 GB boot disk. Override with GCP_DISK_SIZE (in GB):

Variable Default Description
GCP_DISK_SIZE 40 Boot disk size in GB
GCP_DISK_SIZE=80 \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)

Custom VPC / Subnet

If your GCP project's default VPC uses custom subnet mode (common in enterprise or org-managed projects), set these env vars to override the default network/subnet:

Variable Default Description
GCP_NETWORK default VPC network name
GCP_SUBNET default Subnet name

Example:

GCP_NETWORK=my-vpc GCP_SUBNET=my-subnet \
GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)