The fast pi adapter adds Inference.net's OpenAI-compatible provider to Pi
Agent. It updates settings.json, models.json, and auth.json under
~/.pi/agent while preserving a snapshot of all three files.
Connect Pi
Install and sign in
npm install -g @inference/fast fast loginEnable Pi routing
fast pi onThe default selection is
glm-5.2. To start with another callable model:fast pi on --model <catalog-id>
Files and model
models.json receives the provider endpoint and selected model.
settings.json makes that provider and model active. auth.json stores the
machine-scoped project key with an @inference/fast ownership marker.
The API surface is OpenAI-compatible Chat Completions at
https://api.inference.net/v1.
Restore your configuration
fast pi off
fast pi statusThe adapter restores the original snapshots of all three files. Restart Pi afterward.
Troubleshooting
| Symptom | Check |
|---|---|
| Inference.net is not listed | Restart Pi after on and inspect models.json. |
| Wrong model starts | Re-run fast pi on --model <catalog-id>. |
Status says off | Confirm settings.json selects inference-net. |
| Requests do not appear | Run fast status and confirm the selected project. |