@d3ara1n/pi-provider-agnes1.4.0
Agnes AI provider for pi — pay-as-you-go and Agent Plan with chat and System One decision models
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@d3ara1n/pi-provider-agnes
Agnes AI provider for pi — chat and System One decision models with separate pay-as-you-go and Agent Plan registrations.
Providers
| Provider ID | Name | Billing | API Key Env |
|---|---|---|---|
agnes |
Agnes AI | Token billing | $AGNES_API_KEY |
agnes-plan |
Agnes AI (Agent Plan) | Credit-based subscription | $AGNES_PLAN_API_KEY |
agnes
Token-based billing provider. Pi cost estimates are not configured.
agnes-plan
Use an API key associated with Agnes Agent Plan, the credit-based subscription. Pi does not estimate credit usage. The legacy Token Plan is no longer a supported configuration for this extension; replace its key if migrating an existing setup. The provider ID and environment variable stay the same.
Models
Each provider refreshes its own catalog via GET /v1/models when the
cached snapshot is stale (4 hours). pi update --models forces a refresh,
and offline startups restore the last-seen catalog. The endpoint does not
publish token limits, so chat models default to a 256K context window and
64K maximum output. Image- and video-generation models are excluded.
Without a cached or live catalog, both providers use the same shipped chat
model IDs. Those IDs do not restrict the models returned by either channel.
| Shipped chat model | API |
|---|---|
agnes-3.0-flash |
Responses |
agnes-3.0-pro, agnes-2.5-pro, agnes-2.5-pro-beta, agnes-2.5-pro-theta |
Chat Completions |
New chat model IDs default to Chat Completions until their Responses
compatibility is verified. Models advertised as systemone, such as
agnes-sys1-1.0, are registered for pi's classifier API and do not appear
in the chat model picker.
If your configuration still references agnes-2.0-flash or
agnes-2.5-flash, select agnes-3.0-flash. For agnes-2.5-pro-alpha,
select agnes-2.5-pro. The extension does not expose or silently reroute
requests for these retired IDs.
Installation
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 (Agent Plan)
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 Responses, Chat Completions, and System One transports.
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.