Collateral goes in first
Operators deposit USDC and vouchers stake BOND into the vault.
Collateral-backed credit for AI agents.
Plegio opens a pay-later limit for each agent, never more than its collateral. If an agent defaults, the collateral repays the service in full. Services can accept agents without worrying about getting stiffed.
The agent and transactions shown are examples. Amounts follow the real calculation rules.
Three scenes explain all of Plegio.
Operators deposit USDC and vouchers stake BOND into the vault.
Within the limit the collateral creates, agents use services now and pay later.
Repay on time and you are done. Miss the deadline and the vault repays the service in full.
The service that gets paid, the team that runs the agent, and the vouchers who back it with collateral all move together.
Before you respond to a request, you open an obligation. Anything over the agent's limit is rejected on the spot, so every open obligation is backed by collateral.
No more waiting on a payment for every call. Your agent uses services on post-pay terms, up to the bond you post plus the BOND that vouchers stake behind it.
Every time an agent settles, 70% of the bond fee accrues to its vouchers pro rata. Claim it whenever you like.
These calculators run the same integer math as the on-chain program. Values from the first one carry into the loss calculator below.
An agent's limit is its operator bond plus the counted value of the BOND staked behind it. Only part of the BOND value counts, so the limit holds up when the price moves.
Limit = operator bond + vouched BOND × BOND price × LTV
Each agent's repayments, repaid volume and defaults accumulate on-chain. The program turns that history into a 0–1000 credit score and adjusts LTV and fees by tier automatically.
The score is never stored — it is recomputed from history every time, so not even the admin can edit it.
Anyone can liquidate an overdue obligation. Collateral is used in a fixed order: the operator bond, then junior BOND, then senior BOND, and finally the treasury.
The BOND to slash is rounded up, so rounding never leaves the service short.
Vouchers pick a senior or junior tranche. Junior absorbs losses first and earns rewards at a 2× weight; senior is safer and earns less. Rewards accrue every time the agent settles.
Sub-cent remainders from division go to the treasury and the senior tranche, so the split always adds up to the exact fee.
The price that values collateral, the sale of slashed BOND, and disagreements over whether a service was delivered all follow procedures the program enforces.
The BOND price is read directly from a Pyth price account. The program uses the lower of the spot price and the EMA, so a momentary price spike can't inflate a credit limit.
BOND that lands in the treasury after a default can be auctioned by anyone. The price starts at 120% of the reference and falls to 50% over time; buyers take as much as they want, when the price suits them.
If a service wasn't delivered, the agent can post 10% of the obligation as a deposit and raise a dispute before the due date. The obligation can't be liquidated until it's resolved.
The operator posts a USDC bond. The agent key co-signs to prove ownership.
register_agentVouchers stake BOND and receive shares. More stake means a higher limit.
vouchBefore responding, the service and the agent co-sign an obligation. Terms run up to 30 days.
open_obligationRepay by the due date to settle. After it, anyone can liquidate.
settle · liquidate_overdueThe principal goes to the service, the fee is split between vouchers and the treasury, and the credit line reopens.
The bond, then BOND, then the treasury repay the service in full. Three defaults within 30 days freeze the agent.
Each button is one program instruction. At the end, every result is checked side by side against a real on-chain run of the same scenario.
This console runs in your browser with the same math as the on-chain program.
Call instructions with the Anchor client. Open an obligation before you respond; the agent settles on its side. Most account addresses are derived from seeds automatically.
initializeregister_agentvouchopen_obligationsettleliquidate_overduerequest_unvouchwithdraw_vouchclaim_rewardsfund_treasurypropose_configapply_configcancel_configraise_disputeresolve_disputestart_auctionbidend_auctionpropose_authorityaccept_authoritycancel_authoritywithdraw_op_bondclose_obligation
Charged on the principal settled. Capped at 5% by the program.
No obligation can run longer.
Bond, then BOND, then treasury.
No pulling collateral right before a default.
Before anyone trusts Plegio with real money, we publish what's left to do — openly.
BOND is the token vouchers stake to back an agent. If a default exceeds the operator bond, BOND is slashed to cover the loss.
Obligations are tied to collateral, not to the key. Even if the agent vanishes, anyone can liquidate once the due date passes, and the service is paid in full from the bond, BOND and treasury.
That's why only part of BOND's value (30% by default) counts toward the limit. If it still falls short, the treasury covers the gap. The price comes from the Pyth oracle, using the lower of spot and EMA, and slashed BOND is sold by Dutch auction to refill the treasury.
Every agent starts at 500 (tier B). Each on-time repayment adds 15 points (up to 300), every 100 USDC repaid adds 1 point (up to 150), and each default subtracts 200.
By tier, LTV scales from 0.5× to 1.25× and fees from 0.7× to 2×. Obligations must be at least 1 USDC, and an agent can't use itself or its operator as the service, so the score can't be farmed. It's recomputed from on-chain history every time.
After the operator bond, junior BOND absorbs losses first; senior BOND is touched only once junior is exhausted. In exchange, junior earns voucher rewards at a 2× weight — more risk, more reward. Junior stake also stays locked while the agent has credit outstanding.
Request an unvouch, wait out the 7-day cooldown, then withdraw within the next two days. Accrued fee rewards can be claimed at any time. Your stake stays at risk during the cooldown, and a withdrawal is refused if it would leave the agent's outstanding credit uncovered.
The program is built and every scenario has been run on-chain. Mainnet launch follows two external audits. Until then, you can run the whole flow in the live preview on this page.
Run the whole flow yourself in the live preview.