pi-agent-profiles
v1.0.2
Published
Named model + thinking-effort profiles for pi, with favorites cycling
Readme
pi-model-profiles
Named model + thinking-effort profiles for pi, with favorites you can cycle.
Features
- Profiles: named combinations of provider, model, and thinking level, any of which can be marked as favorites.
/profile: pick a profile from a list (favorites marked with ★) or apply one directly with/profile <name>— the session switches model and effort instantly.- Favorites cycling: a shortcut (
alt+pby default) cycles through profiles marked as favorites.
Install
pi install git:github.com/<owner>/pi-model-profilesOr point at a local checkout in ~/.pi/agent/settings.json:
{
"extensions": ["/path/to/pi-model-profiles/extensions/model-profiles.ts"]
}Configure
Copy model-profiles.example.json to ~/.pi/agent/model-profiles.json (global) or <project>/.pi/model-profiles.json (project-local) and edit. Project profiles override global ones with the same name. Changes apply on session start or /reload.
{
"deep": {
"provider": "anthropic",
"model": "claude-opus-4-1",
"thinkingLevel": "high",
"favorite": true
},
"fast": {
"provider": "openai",
"model": "gpt-5-mini",
"thinkingLevel": "low"
}
}| Field | Required | Notes |
|-------|----------|-------|
| provider | yes | e.g. anthropic, openai |
| model | yes | Model ID, e.g. claude-sonnet-4-5 |
| thinkingLevel | no | off/minimal/low/medium/high/xhigh/max; omitted = leave unchanged |
| favorite | no | true includes it in shortcut cycling |
Shortcut
The cycle shortcut defaults to alt+p. Change it with a reserved $settings key in the same file (key format: modifier+key, e.g. ctrl+shift+u), then run /reload:
{
"$settings": { "cycleShortcut": "ctrl+shift+u" },
"deep": { ... }
}Thinking level is clamped to what the model supports (non-reasoning models use off).
