pi-provider-poolside
Lean Poolside AI model provider for Pi with live model discovery
Package details
Install pi-provider-poolside from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-provider-poolside- Package
pi-provider-poolside- Version
0.1.2- Published
- Aug 1, 2026
- Downloads
- 285/mo · 40/wk
- Author
- grikomsn
- License
- MIT
- Types
- extension
- Size
- 23.8 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
],
"image": "https://raw.githubusercontent.com/grikomsn/pi-provider-poolside/main/assets/cover.jpg"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-provider-poolside
A lean Pi provider for the Poolside Platform OpenAI-compatible API.
Features
- Discovers every model available to your account from Poolside's authenticated
GET /v1/modelsendpoint - Ships current Poolside Platform model metadata as an offline fallback
- Uses live context, output, modality, reasoning, and pricing metadata when Poolside returns it
- Supports Pi's thinking selector using Poolside's
reasoning: { effort }request format - Uses Pi's built-in OpenAI Chat Completions transport—no custom protocol or runtime dependency
Install
pi install npm:pi-provider-poolside
To try a local checkout:
pi -e ./src/index.ts
Authenticate
Create a key at platform.poolside.ai and export it before starting Pi:
export POOLSIDE_API_KEY="your-key"
pi
You can instead store an API-key credential for the poolside provider in Pi's auth.json or override the provider in models.json.
Select a model with /model. Refresh the remote catalog with Pi's normal model refresh/update flow (pi update --models). If discovery is temporarily unavailable, the extension retains the last successful catalog, or the documented Laguna S 2.1, Laguna M.1, and Laguna XS 2.1 fallbacks on first use. As with every authenticated Pi provider, models become selectable after a key is configured.
Thinking effort
Use Pi's thinking-level control as usual. Poolside receives OpenRouter-style reasoning configuration:
{ "reasoning": { "effort": "high" } }
Laguna M.1, Laguna XS 2.1, and dynamically discovered reasoning models expose off, minimal, low, medium, high, and xhigh. Laguna S 2.1 accurately exposes only off and max; Pi maps max to Poolside's highest wire-level value, xhigh.
Model metadata
The fallback catalog follows Poolside's supported-models documentation and model release notes:
| Model | Context | Max output | Input | Reasoning |
|---|---|---|---|---|
poolside/laguna-s-2.1 |
1,048,576 | 131,072 | text | off / max |
poolside/laguna-m.1 |
262,144 | 32,768 | text | configurable effort |
poolside/laguna-xs-2.1 |
262,144 | 32,768 | text | configurable effort |
An authenticated /models response replaces this list, so newly released or account-specific models appear without an extension release. Poolside's richer response fields supply metadata for those models; if a deployment returns only the basic OpenAI model shape, the extension keeps the fallback metadata until richer metadata is available. When /models reports a live serving limit, that value takes precedence over the fallback—for example, a deployment may advertise a smaller Laguna S 2.1 context window than the 1,048,576-token catalog value.
Development
npm install
npm run check
Project
License
MIT
