Policy credit: a policy's record, or a wallet's claim
policyPolicy credit: an agent's borrowing terms follow the record of the code it runs (its policy: the content hash of code, model and prompt), across every wallet that claims it. Pass policy (a hash) for its ledger entry, or wallet for its claim and that policy's entry: the tier (newborn, proven or established, from the lines, repayments, liquidations and bad debt of every wallet that claims it), the earned default daily limit by rung, and the honest limits of each rung. Rung 0: a signature from the wallet ("I run policy H"), checked by nobody, defaults up to 250 USDG a day. Rung 1: a hardware attestation (a dstack TEE quote) that the wallet's key lives in an enclave running image H, verified off chain by Borro's keeper, which attests on chain; the raw quote is public, so anyone can re-verify; up to 500. Rung 2: a zk proof per action (SP1) that the action is what program H outputs on committed inputs, checked by the SP1 verifier contract at the registry; up to 1,000. Honest limits: rung 0 proves nothing (a lying wallet poisons the policy it claimed, and the policy's owner can disown it); rung 1 trusts the chip maker and the enclave operator, and Borro's keeper is the on-chain attester (the quote itself is published, so the keeper cannot invent one); rung 2 serves policies that are pure functions over Borro's public inputs, which no LLM-driven agent is; nothing proves which weights a closed model used. Reads Borro's ledger (https://borro.markets/policies.json), then the registry on chain.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | The policy's hash (bytes32: 0x and 64 hex characters), keccak256 of its manifest | |
| wallet | No | Or a wallet (0x...), for its claim and the policy's record |