mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
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>
1.7 KiB
1.7 KiB
Agent Default Models
Source of truth for the default LLM each agent uses via OpenRouter. When updating an agent's default model, update BOTH the code and this file. This prevents regressions from stale model IDs.
Last verified: 2026-03-13
| Agent | Default Model | How It's Set |
|---|---|---|
| Claude Code | (routed by Anthropic) | ANTHROPIC_BASE_URL=https://openrouter.ai/api — model selection handled by Claude's own routing |
| Codex CLI | openai/gpt-5.3-codex |
Hardcoded in setupCodexConfig() → ~/.codex/config.toml |
| OpenClaw | openrouter/auto |
modelDefault field in agent config; written to OpenClaw config via setupOpenclawConfig() |
| OpenCode | (provider default) | OPENROUTER_API_KEY env var — model selection handled by OpenCode natively |
| Kilo Code | (provider default) | KILO_PROVIDER_TYPE=openrouter — model selection handled by Kilo Code natively |
| Hermes | (provider default) | OPENAI_BASE_URL=https://openrouter.ai/api/v1 + OPENAI_API_KEY — model selection handled by Hermes |
| Junie | (provider default) | JUNIE_OPENROUTER_API_KEY — model selection handled by Junie natively |
| Cursor CLI | (provider default) | --endpoint https://openrouter.ai/api/v1 + CURSOR_API_KEY — model selection via --model flag or /model in-session |
| Pi | (provider default) | OPENROUTER_API_KEY — model selection via /model in-session |
When to update
- When OpenRouter adds a newer version of a model (e.g.,
gpt-5.1-codex→gpt-5.3-codex) - When an agent changes its default provider integration
- Verify the model ID exists on OpenRouter before committing:
curl -s https://openrouter.ai/api/v1/models | jq '.data[].id' | grep <model>