npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-kilocode

v0.1.1

Published

Kilo Code provider extension for pi

Readme

pi-kilocode

npm

Kilo Code provider extension for pi.

Use Kilo Code's gateway directly from pi through Kilo's OpenAI-compatible API and device-auth login flow. pi-kilocode is a thin provider wrapper around pi's built-in openai-completions stack:

  • Uses Kilo Gateway's OpenAI-compatible endpoint
  • Fetches the Kilo model catalog from https://api.kilo.ai/api/gateway/models
  • Caches the raw model response on disk
  • Registers free text-capable models only
  • Supports anonymous usage for free models and browser-based Kilo login

Installation

pi install npm:pi-kilocode

Authentication

Anonymous usage

No login is required for Kilo's free models.

Browser login

  1. Open pi and enter /login.
  2. Select Kilo Code from the provider list.
  3. A browser window will open to Kilo's verification page.
  4. Enter the device code shown by pi and complete login.
  5. If your account has organizations, pi will let you choose one.

When an organization is selected, pi-kilocode sends it as X-KiloCode-OrganizationId on Kilo model requests.

Anonymous access and limits

According to Kilo's public gateway documentation and behavior:

  • Anonymous access is available for free models
  • Anonymous usage is limited to free models only
  • Anonymous usage is rate-limited to about 200 requests/hour per IP

Current limitations

  • Only free models are currently registered in pi
  • Paid models are not currently exposed in the /model list
  • Image-output-only models are intentionally hidden

Requirements

  • pi >= 0.49.0
  • A Kilo Code account if you want to use /login
  • Network access to https://api.kilo.ai

License

MIT