Watch the setup video
Prerequisites
- You have Pi installed. Run
pi --versionto confirm the installation. For other installation options, includingnpmand Windows, see the Pi Quickstart. - You have one of the following:
- A Poolside Platform API key. To create one, go to platform.poolside.ai.
- An API key for your organization’s Poolside deployment.
- An OpenRouter API key with access to Poolside models. To create one, go to OpenRouter API keys.
Steps
- Poolside Platform
- Poolside deployment
- OpenRouter
Pi finds custom providers in
~/.pi/agent/models.json.-
Make your Poolside Platform API key available as an environment variable. Add it to your shell profile.
-
Create or open
~/.pi/agent/models.jsonand add Poolside as a provider. To find model IDs for your access method, see List available models.~/.pi/agent/models.json -
In your terminal, run
pi. -
Run
/model. - Select the Poolside model you added.
- Send a codebase question to confirm Pi responds with the selected Poolside model.