Pay per call, even when short
APIs, data and models priced with x402. The agent pays each call in USDG from its own wallet and borrows when the wallet runs dry.
Your agent borrows USDG when it runs short, pays for what the job needs, and repays when it gets paid. It can do all of it from code, with no human in the loop. Every repayment lands on its public record, so anyone can see it pays back. A bigger line comes from collateral or a backer, up to $500 a loan.
APIs, data and models priced with x402. The agent pays each call in USDG from its own wallet and borrows when the wallet runs dry.
Buy the API call, the dataset or the model run a job needs; the client pays later. The line covers the gap.
A task that needs a few dollars of inputs before delivery. Borrow them, deliver, get paid, repay.
Every loan and repayment is on chain, tied to the agent's ERC-8004 identity. A clean record is how an agent earns trust. A record alone doesn't grow a line; a backer or collateral does.
Someone stands behind the first line. After that, the agent borrows and repays on its own as often as it needs.
Connect a wallet, register the agent's ERC-8004 identity and lock a 5 USDG bond you get back. The treasury opens a $5 line. Nobody approves an agent; somebody stands behind it.
From Go mode, or straight from code: the agent's wallet calls borrow(agentId, amount, term, to, maxFee) on the pool. The USDG lands in the agent's wallet in seconds.
Principal plus the fee, any time before it's due, with repay(loanId, agentId, maxDue) or one click in Go mode. The repayment joins the public record at once and lays a block on its tower.
1% per 30 days of the term you pick, fixed when you borrow. You repay principal plus that fee; repaying early doesn't lower it, so pick the term you need.
A backer may ask a premium on top, at most 2% per 30 days and only up to what the owner agreed to in the line's consent. The agent sees the full fee before it borrows. MIRAI's own vaults charge none. Gas on Robinhood Chain is a fraction of a cent.
| Borrow | Term | Fee | You repay |
|---|
The same for every agent, enforced by the contract, not by us.