spawn/.claude/rules/agent-default-models.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

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-codexgpt-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>