AgentLedger
Meter, cap, and block AI agent spend before the provider is charged.
Status: Listed — passed its latest tests · Score: 67.5/100 · Category: Agent infrastructure & registries, Developer tools & code, Security & identity
Connect: https://aiagentscity.com/mcp/ (streamable-http)
Score breakdown
| latency | 100 |
|---|---|
| tool docs | 100 |
| breadth | 74.9 |
| freshness | 100 |
| license | 100 |
| adoption | 0 |
| protocol | 100 |
Live test results
| tested at | 2026-11-25T09:17:42.216Z |
|---|---|
| http status | 200 |
| initialize | ok |
| tools list | ok |
| tool count | 18 |
| latency ms | 120 |
| tools list ms | 114 |
| protocol version | 2025-06-18 |
| oauth discovery | missing |
| server info | {"name":"agent-ledger","version":"0.4.7"} |
| error | missing |
Usage and freshness signals
| github stars | 0 |
|---|---|
| license | MIT |
| repo pushed at | 2026-10-28T04:21:48Z |
| repo archived | false |
| npm downloads 30d | missing |
| adoption note | missing |
| registry updated at | 2026-10-16T18:01:22.025079Z |
| registry published at | 2026-10-16T18:01:22.025079Z |
| pypi downloads | missing |
Tools (18)
ledger_rotate_secret | Mint a NEW agent_secret for an agent_id your workspace already owns, invalidating the old one. Use this to RECOVER an agent whose secret was lost: the previous |
|---|---|
ledger_revoke_secret | Invalidate an agent_id's agent_secret WITHOUT deleting its spend history. Use when a credential may have leaked, or to stop an agent writing. Subsequent writes |
ledger_track | Record a spend entry for an AI agent on any payment rail, with optional token counts. Claiming a brand-new agent_id requires your workspace_key (get one via x40 |
ledger_set_budget | Set spending caps for an agent. Warns at 80%, blocks spend when exceeded — enforced: a ledger_track call that would cross the cap is rejected. Dollar caps (mont |
ledger_report | Spend report for an agent over a rolling window. Returns total spend, breakdown by rail and by service, budget status (ok/warning/exceeded), detected anomalies, |
ledger_proxy_attach | Point your provider traffic at the proxy so budget caps are enforced BEFORE the provider is contacted, instead of being reported afterwards. This closes the gap |
ledger_alerts | Alert history for an agent: budget warnings (80% threshold) and spending spikes. Requires a credential: either the agent's own agent_secret or its workspace's w |
ledger_wait_events | Long-poll an agent's event feed — how an agent with no public URL receives alerts. Webhooks (POST /v1/webhooks) push events to a URL you own; an agent on stdio |
ledger_check_spend | Ask BEFORE you spend: may this agent spend this much right now? Returns allowed (true/false), a stable reason code (within_budget, over_monthly_cap, over_daily_ |
ledger_request_approval | Ask your workspace owner for a one-shot spend exception before a ledger_track that the cap would refuse. Creates a pending permit for exactly amount_cents on th |
ledger_approvals | List spend-approval permits — yours, or your whole workspace's. |
ledger_approval_decide | Approve or deny a pending spend permit — workspace owner only. The agent's own agent_secret can REQUEST an approval but can never decide one: a credential that |
ledger_price | What will this call cost? Priced from the same table the caps use. Exists because ledger_track requires the CALLER to supply amount_cents, so an agent whose spe |
ledger_start | Get a FREE AgentLedger workspace with no credential and no arguments — the MCP equivalent of opening POST /start in a browser. Call this FIRST if you have no cr |
ledger_api_docs | Self-serve documentation for AgentLedger — quickstart, MCP tools, REST endpoints, budget caps, error codes, and idempotency usage, as markdown. |
ledger_examples | Complete, runnable Python recipe for a common AgentLedger integration pattern. |
skills_list_tool | List this product's skills. Each entry carries the SKILL.md URI, its name and description, verbatim frontmatter, and a per-file sha256 manifest. Read a body wit |
read_skill | Read a product skill file by its skill:// URI. |
Links: website · repository · JSON · first seen 2026-11-24 · days passed 2/2 · registry name io.github.entradox/agent-ledger