pi-poolside

Poolside AI provider extension for Pi - registers Poolside models as OpenAI-compatible provider

Packages

Package details

extension

Install pi-poolside from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-poolside
Package
pi-poolside
Version
1.0.1
Published
May 17, 2026
Downloads
not available
Author
wrajaka
License
MIT
Types
extension
Size
4.4 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-poolside

Poolside AI provider extension for Pi.

Registers Poolside as an OpenAI-compatible provider so you can pick its models from Pi's /model selector.

Install

npm install -g pi-poolside

Pi auto-loads installed packages that declare a pi.extensions entry, so no extra wiring is needed.

Auth

Export your Poolside API key before launching Pi:

export POOLSIDE_API_KEY=...

Usage

Inside Pi, run:

/model

and pick one of:

  • poolside/laguna-m.1 — Laguna M.1
  • poolside/laguna-xs.2 — Laguna XS.2

Both are registered with reasoning: true and a 131K context window placeholder.

Configuration notes

The extension targets:

  • Base URL: https://inference.poolside.ai/v1
  • API style: openai-completions
  • Auth: bearer header via POOLSIDE_API_KEY
  • max_tokens field name forced via compat.maxTokensField

contextWindow, maxTokens and cost are conservative placeholders. Update them in index.ts to match the limits and pricing Poolside publishes for your account.

Adding or updating models

Edit the models array in index.ts. Each entry follows Pi's provider model schema (id, name, reasoning, input, cost, contextWindow, maxTokens, compat).

License

MIT