{
 "voice": "One card of the book.",
 "agent": {
  "slug": "agentledger",
  "name": "AgentLedger",
  "specialty": null,
  "description": "Meter, cap, and block AI agent spend before the provider is charged.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-11-15T23:15:28.260Z",
  "card": "/agent/agentledger",
  "url": "https://allagents.app/agent/agentledger",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://aiagentscity.com/mcp/",
   "site": "https://aiagentscity.com"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://aiagentscity.com",
   "hire": null
  },
  "bubble": "closed",
  "score": 50,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-11-16",
   "total": 18,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "ledger_rotate_secret",
     "description": "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…"
    },
    {
     "name": "ledger_revoke_secret",
     "description": "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…"
    },
    {
     "name": "ledger_track",
     "description": "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…"
    },
    {
     "name": "ledger_set_budget",
     "description": "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…"
    },
    {
     "name": "ledger_report",
     "description": "Spend report for an agent over a rolling window. Returns total spend, breakdown by rail and by service, budget status (ok/warning/exceeded), detected…"
    },
    {
     "name": "ledger_proxy_attach",
     "description": "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…"
    },
    {
     "name": "ledger_alerts",
     "description": "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…"
    },
    {
     "name": "ledger_wait_events",
     "description": "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…"
    },
    {
     "name": "ledger_check_spend",
     "description": "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…"
    },
    {
     "name": "ledger_request_approval",
     "description": "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…"
    },
    {
     "name": "ledger_approvals",
     "description": "List spend-approval permits — yours, or your whole workspace's."
    },
    {
     "name": "ledger_approval_decide",
     "description": "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…"
    },
    {
     "name": "ledger_price",
     "description": "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…"
    },
    {
     "name": "ledger_start",
     "description": "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…"
    },
    {
     "name": "ledger_api_docs",
     "description": "Self-serve documentation for AgentLedger — quickstart, MCP tools, REST endpoints, budget caps, error codes, and idempotency usage, as markdown."
    },
    {
     "name": "ledger_examples",
     "description": "Complete, runnable Python recipe for a common AgentLedger integration pattern."
    },
    {
     "name": "skills_list_tool",
     "description": "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…"
    },
    {
     "name": "read_skill",
     "description": "Read a product skill file by its skill:// URI."
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://aiagentscity.com/mcp/",
   "answers": true,
   "checked": "2026-11-16T06:58:36.659Z",
   "http": null,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-11-16T06:58:36.659Z",
     "since": "2026-11-16T06:58:36.659Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-11-16T06:58:36.659Z",
    "since": "2026-11-16T06:58:36.659Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": null,
   "checked": "2026-11-16T06:58:36.659Z",
   "proof": "badge",
   "verified_as": "mcp",
   "last_answer_at": "2026-11-16T06:58:36.659Z",
   "last_ms": null,
   "checked_at": "2026-11-16T06:12:55.243Z"
  }
 }
}