pi-volcengine-provider
Pi provider extension for Volcengine Ark Coding API models.
Package details
Install pi-volcengine-provider from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-volcengine-provider- Package
pi-volcengine-provider- Version
0.1.1- Published
- Jun 13, 2026
- Downloads
- not available
- Author
- zihanw
- License
- MIT
- Types
- extension
- Size
- 8.8 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-volcengine-provider
Pi package that registers a Volcengine Ark Coding API provider.
Install
After this package is published to npm:
pi install npm:pi-volcengine-provider
You can also install directly from GitHub:
pi install git:github.com/MacroSony/pi-volcengine-provider
For local development:
pi -e /path/to/pi-volcengine-provider
Authentication
The provider id is volcengine-plan. Pi will use ~/.pi/agent/auth.json first, then the VOLCENGINE_API_KEY environment variable as a fallback.
{
"volcengine-plan": { "type": "api_key", "key": "your-volcengine-key" }
}
Or:
export VOLCENGINE_API_KEY=your-volcengine-key
Models
This extension registers:
ark-code-latestdoubao-seed-codeglm-5.1deepseek-v4-flashdeepseek-v4-prodoubao-seed-2.0-codedoubao-seed-2.0-prodoubao-seed-2.0-liteminimax-latestkimi-k2.6
Run pi --list-models after installing to confirm the provider is loaded.
Thinking levels
This extension maps Pi's native thinking selector to provider-specific Chat Completions controls:
- Pi
off->thinking: { "type": "disabled" } - Most Volcengine reasoning models: Pi
low,medium,high->thinking: { "type": "enabled" }plus matchingreasoning_effort - Pi
minimalis hidden because Volcengine'sreasoning_effort: "minimal"means no thinking; selecting it clamps tolow - Pi
xhigh->reasoning_effort: "max"only for models verified to accept it (ark-code-latest,deepseek-v4-flash,deepseek-v4-pro) glm-5.1uses the GLM/Z.AI thinking shape: Pilow,medium, andhighsendthinking: { "type": "enabled" }withoutreasoning_effort; Pioffsends disabled.