@syedassadullahshah/pi-kilo-provider

Kilo AI Gateway provider extension for Pi.

Packages

Package details

extension

Install @syedassadullahshah/pi-kilo-provider from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@syedassadullahshah/pi-kilo-provider
Package
@syedassadullahshah/pi-kilo-provider
Version
1.0.0
Published
May 7, 2026
Downloads
29/mo · 5/wk
Author
syedassadullahshah
License
MIT
Types
extension
Size
5.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 Kilo Provider

This Pi extension registers the Kilo AI Gateway as a custom provider.

It uses Kilo's OpenAI-compatible API:

  • Models: GET https://api.kilo.ai/api/gateway/models
  • Chat completions: POST https://api.kilo.ai/api/gateway/chat/completions

Setup

Set your Kilo API key:

export KILO_API_KEY="your-kilo-api-key"

Run Pi with this extension:

pi -e ./index.ts --list-models
pi -e ./index.ts

Or install it as an auto-discovered extension:

mkdir -p ~/.pi/agent/extensions/kilo-provider
cp package.json index.ts README.md ~/.pi/agent/extensions/kilo-provider/

Then start Pi and select a model from the kilo provider, such as:

  • kilo-auto/frontier
  • kilo-auto/balanced
  • kilo-auto/free
  • anthropic/claude-sonnet-4.6
  • openai/gpt-5.4

Notes

Reasoning is enabled for Kilo models that advertise reasoning or reasoning_effort in supported_parameters. Pi will show its Thinking level option for those models and sends Kilo/OpenRouter-style reasoning: { effort } payloads. Fallback auto models also expose the Thinking option.