cpa-status
/cpa for Hermes Agent: account
health for every CLIProxyAPI
(CPA) pool in your config, and live per-account usage on request.
Companion to the
cliproxyapi-provider
model-provider plugin; it reads the same cliproxyapi: section.
hermes plugins install duu261/hermes-cliproxyapi-provider#cpa-status
hermes plugins enable cpa-status
Requires Hermes 0.21.7 or newer and mgmt_key_env on each instance you want
to see (an instance without it on the same CPA base_url as one with it is
shown under that one as same CPA). Restart running gateways after enabling.
Upgrade it together with the provider plugin: both share one lock per CPA.
/cpa every instance: accounts per provider
/cpa <pool> one instance, plus the last hour of requests
/cpa <pool> <provider> one line per account
/cpa quota <pool> [provider] live usage from each vendor
/cpa: one read-onlyGET /v8/management/credentialsper instance, only
when you type it. No timers, no retries; repeats within 20 seconds use
memory. Last-seen 5h and weekly quota for Claude and Codex accounts, as CPA
recorded it on real traffic./cpa quota: like CPA's web UI quota page, for Claude, Codex, xAI,
Antigravity, Devin and Kimi accounts through CPA'sapi-callroute with the
web UI's fixed requests (the account's token filled in by CPA), and for
other providers through their CPA quota plugin (e.g. Kiro). Nothing paid,
no downloads, no resets; the full request list is in the
README. At most 20 accounts and 3
requests per account per run, first request alone, then 4 at a time;
repeats within 60 seconds use memory.- Emails are masked;
email,accountandpathare never read. CPA's
account index, the Codex account id, the Antigravity project id and the CPA
plugin id are used only to build the quota requests, never shown or stored. - Idle chats only: sent during an agent turn it goes to Hermes' busy handling.
- The management key is full admin on CPA, and Hermes does not strip it from
agent shells. CPA bans an IP after five failed management keys in a row; a
rejected key is never sent again (salted HMAC in
$HERMES_HOME/cache/cliproxyapi/locks/rejected.json). Read
Never get locked out of CPA.
Full documentation: the repository README.
README from the reviewed commit 08fdae8; it updates when the author re-pins.

duu261