Pi Agent (pi)
Connect Pi Agent to GetVibe through a custom OpenAI-compatible provider: base URL, key from GETVIBE_API_KEY and model gpt-6.1-sol.
Ready-made config
Built from our catalog on request: the API address, every published model with its context and output limit, and the recommended settings. It contains no key. Pi substitutes the key from GETVIBE_API_KEY ($GETVIBE_API_KEY in models.json). settings.json picks the default model — if you already have one, copy just its four fields.
# macOS / Linux
mkdir -p ~/.pi/agent
curl -fsSL https://getvibeapi.com/api/integrations/pi.models.json -o ~/.pi/agent/models.json
curl -fsSL https://getvibeapi.com/api/integrations/pi.settings.json -o ~/.pi/agent/settings.json# Windows PowerShell
New-Item -ItemType Directory -Force "$HOME\.pi\agent" | Out-Null
Invoke-WebRequest https://getvibeapi.com/api/integrations/pi.models.json -OutFile "$HOME\.pi\agent\models.json"
Invoke-WebRequest https://getvibeapi.com/api/integrations/pi.settings.json -OutFile "$HOME\.pi\agent\settings.json"- Main model —
gpt-6.1-sol: strong agentic coder with a large context at a moderate price; the bare id keeps cross-channel failover on. - Small tasks —
deepseek-v4.1-flash: cheapest capable model with a 1M context, for titles, summaries, commit messages and compaction. - Streaming on, a 600-second request timeout, reasoning effort medium: a long reasoning answer takes minutes, and without streaming it runs into the wait limit.
- Bare model IDs everywhere, no :suffix — that keeps automatic failover to a healthy channel on.
The catalog changes: when new models appear, download the file again. To keep only some models, add
?models= with comma-separated IDs to the URL.Pi reads user-defined OpenAI-compatible providers from ~/.pi/agent/models.json. For GetVibe use Chat Completions, the address https://getvibeapi.com/v1 and the model gpt-6.1-sol.
1. Add the provider
{
"providers": {
"getvibe": {
"baseUrl": "https://getvibeapi.com/v1",
"api": "openai-completions",
"models": [
{ "id": "gpt-6.1-sol", "name": "GPT-6.1 Sol" },
{ "id": "claude-opus-5.5", "name": "Claude Opus 5.5" },
{ "id": "deepseek-v4.1-flash", "name": "DeepSeek V4.1 Flash" },
{ "id": "kimi-k3.1-pro", "name": "Kimi K3.1 Pro" }
]
}
}
}2. Pass the key and send a test
# GETVIBE_API_KEY must be set in your environment
pi --provider getvibe --model gpt-6.1-sol --api-key "$GETVIBE_API_KEY" "Reply with a single word: ready"Do not embed the key in
models.json: Pi accepts it via the --api-key argument. Reopen the model picker after changing the file.