Install
Install with PiG
pig install npm:@sentiogate/pi-providerInstall with Pi
pi install npm:@sentiogate/pi-providerPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions/sentiogate.js"
]
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
@sentiogate/pi-provider
Use SentioGate as a model provider in Pi.
SentioGate is an OpenAI-compatible LLM router with zero markup on your own keys. It runs on a global edge, picks a model for each request with auto, and automatically falls back to another model if one fails.
Install
pi install npm:@sentiogate/pi-provider
Or try it for one run without saving it: pi -e npm:@sentiogate/pi-provider.
Configure
- Create an API key at https://sentiogate.app and add your own provider keys there (or use the free community pool).
- Export it:
export SENTIOGATE_API_KEY=your-key
- Pick a model:
pi --model sentiogate/auto
pi -p "say hi" --model sentiogate/auto
Inside Pi, use /model and choose a sentiogate/... entry.
Models
| Model | Use |
|---|---|
sentiogate/auto | Recommended. SentioGate picks the model per request. |
sentiogate/openrouter/deepseek/deepseek-chat-v3-0324 | Pinned low-cost model, good for background work. |
sentiogate/openrouter/google/gemini-2.5-flash | Pinned fast model with image input. |
Pinned models only work if your key's allowed-models list includes them. Any other model id your key allows can be added via ~/.pi/agent/models.json.
Options
| Env var | Default | Purpose |
|---|---|---|
SENTIOGATE_API_KEY | (required) | Your SentioGate key |
SENTIOGATE_BASE_URL | https://api.sentiogate.dev/v1 | Override the API endpoint |
License
Apache-2.0