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

@d3ara1n/pi-provider-agnes

v1.3.1

Published

Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text and image input models

Readme

@d3ara1n/pi-provider-agnes

npm version npm downloads license

Agnes AI provider for pi — registers two providers sharing the same text + image models but differing in billing model.

Providers

| Provider ID | Name | Billing | API Key Env | |---|---|---|---| | agnes | Agnes AI | Token billing | $AGNES_API_KEY | | agnes-plan | Agnes AI (Token Plan) | Subscription plan | $AGNES_PLAN_API_KEY |

agnes

Token-based billing provider. Agnes has not published official token pricing, so pi shows no cost estimates for these models.

agnes-plan

Subscription plan provider. Cost set to zero — the subscription fee is a fixed monthly charge, not per-token.

Models

Both providers export the same chat model list, refreshed from the live API (GET /v1/models) when the cached snapshot is stale — at most once every 4 hours, matching pi's built-in catalog cadence. pi update --models forces an immediate refresh; the last-seen catalog is restored on offline startups. The endpoint returns ids only, so context windows, modalities and thinking behavior fall back to the shipped specs per model id; models new to the catalog get family defaults (text+image input, Qwen-style thinking toggle). Image-generation (agnes-image-*) and video-generation (agnes-video-*) models are excluded automatically.

Shipped chat specs (verified against the live catalog 2026-10-10):

| Model | Reasoning | Input | Context | Max Output | |---|---|---|---|---| | agnes-2.5-flash | Yes | text, image | 512K | 65.5K | | agnes-2.0-flash | Yes | text, image | 256K | 64K | | agnes-2.5-pro / -beta / -alpha | Yes | text, image | 256K* | 64K* | | agnes-3.0-flash / -flash-max | Yes | text, image | 256K* | 64K* |

* endpoint publishes no metadata — family defaults, pending a live check. agnes-1.5-flash is no longer listed by the live catalog and was removed (2026-10); it re-registers automatically if it returns.

pi install npm:@d3ara1n/pi-provider-agnes

Or add to ~/.pi/agent/settings.json:

{
  "extensions": [
    "/absolute/path/to/pi-extensions/packages/pi-provider-agnes"
  ]
}

Set your API key(s) via environment variable:

export AGNES_API_KEY="sk-..."       # for agnes provider
export AGNES_PLAN_API_KEY="sk-..."  # for agnes-plan provider

Or configure via /login or auth.json.

Dependencies

None — this is a standalone provider with no pi-extension dependencies. It uses pi's built-in openai-completions streaming.

Usage Quota Reporting

Not yet implemented — Agnes AI does not currently expose a public quota or balance API. When one becomes available, quota reporting will be added via @d3ara1n/pi-usage-block-core.