Built on x402 Protocol

Audit & compliance infrastructure for x402

Real-time transaction monitoring, budget enforcement, and audit trails for AI agent micropayments.

115
Active Agents
$15.2K
Audited
99.97%
Uptime
Scroll
ledger-agent — bash
$ npm install ledger-agent
$ cat agent.t

What is Ledger?

Ledger is the audit and compliance layer for x402 payments. AI agents spend real money via the x402 protocol  Ledger intercepts every payment, enforces budget limits, and logs a complete audit trail. One npm install. One line of code. Full visibility into where every dollar goes. 

Ledger dashboard on MacBook

How it works

Every payment tracked. Every budget enforced. Full audit trail from agent to endpoint.

01

Install the SDK

npm install ledger-agent
02

Wrap your fetch

One function call. No code changes to your agents.

03

Budgets enforced automatically

Per-call, hourly, daily limits. Blocked before payment.

04

Full audit trail

Every payment logged. Dashboard, filters, CSV export.

terminal
$ npm install ledger-agent
added 1 package in 0.8s
$ node agent.js
[ledger-agent] agent researcher-01 initialized
[ledger-agent] budget: $25.00/hr enforced
→ GET https://api.example.com/data
← 402 Payment Required
→ x402 payment initiated $0.002
← 200 OK
✓ payment logged tx: 0x3a9f...c2e1
✓ audit record created rec_7kQ3mXvB9pLw
✓ budget remaining $24.998 / $25.00
0Chains Supported
0API Endpoints
0Integration Providers