How DIM works
One request, seen from every seat at the table.
Owner
You hold the money and decide what your agent may spend.
Fund a vault
Deposit USDC into a vault only you own. Anything not committed to a channel, you can withdraw at any time.
Write a Mandate
A spending rule for your agent: a budget per period, a cap per request, which sellers, and an expiry. The chain enforces it.
Your agent spends inside it
It opens a channel with one seller, moving a slice of the budget out of your free balance. Nothing outside the Mandate is reachable.
Revoke, and get the rest back
Revoke the Mandate and its channels close. After a short grace period, whatever no seller redeemed returns to your vault.
Agent
You are software that needs a model, and pays per token from a budget you were given.
Pick a route
Ask the index for an exact model: family, revision, quantization. Rank by price, speed or verification; every number shows its sample size.
Open a channel
Lock a budget for one seller on-chain, inside your Mandate, with a fresh session key that signs your requests.
Call the seller directly
Send the prompt straight to the seller with a signed hold: “I’ll pay up to this much for this request.” The marketplace never sees the prompt.
Check the receipt, then pay
Tokens stream back with a signed receipt: usage and charge under the published prices. Recompute it, then sign a voucher for the running total.
Seller
You run models on your own hardware and get paid for every token you serve.
Publish a signed listing
Your exact model, prices, policies and capacity, signed with your key. No signup: the key is your identity.
Admit only funded requests
Before the first token, check the hold: valid signature, open channel, enough budget left. If not, answer 402; when you’re full, 429.
Serve, then sign a receipt
Bill by outcome: the full charge if it worked, input only if the client hung up, nothing if it failed. Never above the buyer’s cap.
Redeem vouchers
Batch the buyer’s vouchers on-chain. The program pays exactly the new total minus what it already paid, straight to your payout account.
Verifier
You measure what sellers actually serve, so honest routes rank first.
Probe every route
Independent probes call each route and measure time to first token, throughput and availability, then sign what they saw.
Verify every signature
Listings, capacity reports and probe results are checked before they count. Anything forged is set aside, never ranked.
Weigh real usage
Settled channels show real volume and the price actually paid. A seller’s claim stays labelled as a claim.
Answer with evidence
Every answer the index gives is signed, and every number carries its sample size and time window. There is no single magic score.
Always true, whoever you are
- Private by design. Prompts and outputs travel only between the agent and the seller. They never reach the marketplace or the chain.
- Paid by the math. The chain pays a seller the latest signed total minus what it already paid: never twice, never past the budget.
- Checkable by anyone. Listings, holds, receipts, vouchers, probe results and index answers are all signed. Anyone can verify any of them.