The official Requesty extension for the Pi Coding Agent
pi install git:github.com/requestyai/pi-requesty@c28e2f8NOTE: Version c28e2f8 points to out latest v0.2.7 version, and keeps you safe from supply chain attack.
Check out the code from the official code repository https://github.com/requestyai/pi-requesty, and then:
pi install ./pi-requestyTo run once without installing:
pi -e ./pi-requestyThe extension only reads the requesty provider from ~/.pi/agent/models.json.
Example:
{
"providers": {
"requesty": {
"name": "Requesty",
"baseUrl": "https://router.requesty.ai/v1",
"apiKey": "rqsty-sk-...",
"api": "openai-completions",
"models": []
}
}
}On startup, the extension fetches <baseUrl>/models using apiKey as the bearer token and registers discovered models with pi.
Inside pi:
/requesty-models-sync
The command fetches Requesty models using ~/.pi/agent/models.json and writes the discovered model IDs back to the same file.
Run /reload after syncing.