@coreinfra/pi-plugin
Pi package that adds [CoreInfra AI Hub](https://hub.coreinfra.ai/) as a model provider.
Package details
Install @coreinfra/pi-plugin from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@coreinfra/pi-plugin- Package
@coreinfra/pi-plugin- Version
0.2.0- Published
- Jun 11, 2026
- Downloads
- 284/mo · 216/wk
- Author
- pgregory
- License
- MPL-2.0
- Types
- extension
- Size
- 22.1 KB
- Dependencies
- 0 dependencies · 2 peers
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
CoreInfra Pi Plugin
Pi package that adds CoreInfra AI Hub as a model provider.
Usage
pi install npm:@coreinfra/pi-plugin@latest
Authenticate with either an environment variable:
export COREINFRA_API_KEY=...
pi
or from inside pi choose Use an API key and select CoreInfra AI Hub provider:
/login
CoreInfra models are available under the coreinfra/ provider, for example:
pi --model coreinfra/gpt-5.4-nano
pi --model coreinfra/claude-sonnet-4-20250514
pi --model coreinfra/deepseek-v4-pro
Configuration
| Variable | Default | Description |
|---|---|---|
COREINFRA_API_KEY |
CoreInfra API token | |
COREINFRA_HUB_BASE_URL |
https://hub.coreinfra.ai |
CoreInfra Hub base URL |
Model availability and prices are loaded from CoreInfra Hub on startup. Model behavior metadata is copied from pi's built-in OpenAI, Anthropic, and DeepSeek model definitions.