Agent Credit Ledger

Preagent rail access, tracked cleanly.

Agent Credit Ledger records credit grants, attaches credits to checkout records, and logs rail-run consumption. Use it when an agent or agent principal prepays for rail access or when a workspace needs a credit-backed run.

Operating model

How credits move.

Credits create a cleaner path for prepaid agent access and repeat rail use.

01

Grant credits.

Create a credit account for an agent, organization, platform, or internal sandbox. Attach an order, invoice, or payment reference.

02

Attach to checkout.

A checkout can use an agent_credit_id instead of a new payment link. The credit account becomes the order reference.

03

Consume on run.

When runtime dispatch happens, the rail can consume one or more credits and record the run against the ledger.

04

Review balance.

The ledger shows balance, grants, consumption events, checkout IDs, runtime IDs, and proof references.

Agent operator form

Grant or consume credits.

Paste the agent credential, then use the quick actions. The API returns the full receipt object.

Waiting for operator token.