Install
Install with PiG
pig install npm:pi-moonshotInstall with Pi
pi install npm:pi-moonshotReview before installing
Packages 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/index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.0.6 (README.md). PiG does not review it.
pi-moonshot
Pi extension adding Moonshot AI provider support, including the Kimi K2.6 and K2.5 model families.
Installation
pi install npm:pi-moonshot
Or try without installing:
pi -e npm:pi-moonshot
Setup
Set your Moonshot API key:
export MOONSHOT_API_KEY="your-api-key"
Or add to your ~/.pi/agent/settings.json:
{
"apiKeys": {
"MOONSHOT_API_KEY": "your-api-key"
}
}
Models
| Model | Description | Context | Reasoning |
|---|---|---|---|
kimi-k2.6 | Latest flagship model with vision | 256K | Yes |
kimi-k2.5 | Flagship model with vision | 262K | Yes |
kimi-latest | Latest stable version | 131K | No |
kimi-k2-turbo-preview | Fast inference model | 262K | No |
kimi-k2-thinking | Reasoning model | 262K | Yes |
moonshot-v1-8k | Legacy 8K context | 8K | No |
moonshot-v1-32k | Legacy 32K context | 32K | No |
moonshot-v1-128k | Legacy 128K context | 128K | No |
Usage
After installation, select a Moonshot model:
pi /model moonshot/kimi-k2.5
Or start pi directly with a Moonshot model:
pi --provider moonshot --model kimi-k2.5
License
MIT