agentvault

an encrypted treasury for the agent economy

Your agent’s
budget, sealed.

A human seals the spending policy into an encrypted Aleo record. The agent pays for real APIs through a zero-knowledge circuit — the chain verifies everything and learns nothing.

open the console read the code ↗

01 / create_vault

A human seals the policy.

Budget, per-transaction cap, category allowlist, expiry — sealed into an encrypted record only your agent can consume, and only through the circuit. The chain holds the rules without ever reading them.

VaultPermit → agent · AdminCap → you

02 / HTTP 402 → spend

It pays through the proof.

A paywalled API answers 402 with a price. The SDK checks the quote against the policy locally, proves the spend — about half a minute of zero-knowledge work — and the merchant unlocks the content. On the explorer: a valid proof, nothing readable.

GET /api/premium/crypto-sentiment → 402
quote 1.579592 cr · policy ok · proving… 61.7s
200 UNLOCKED

03 / approval.requested

Above your comfort line, it asks.

Set a threshold under the cap. A bigger purchase pauses mid-task on your dashboard until you answer — in our last rehearsal your approval reached the agent in 2.0 seconds. The cap is the law; the threshold is your say under it.

agent asks to spend 1.579592 cr · APPROVE / deny

04 / spend.refused

Every no is on the record.

Out-of-policy purchases are refused in about a millisecond — before any proof, before any payment — and land in your decline feed naming the exact rule. Refusals are what an auditor actually wants to see.

2.441681 cr over per-tx cap ENTERTAINMENT not in allowlist

05 / revoke

You hold the kill-switch.

Revoke consumes your admin capability and flips one public bit. The agent’s next spend arrives with a mathematically valid proof — and the chain rejects it at finalization. Enforced by consensus, not by a prompt.

status: "rejected" · fee only, state reverted

verifiable but unreadable · live on aleo testnet

Two views of one payment.

your view — with the view key

amount 1.579592 cr
merchant aleo1met3…s7785v
category DATA_API
receipt decrypts only for you

the world’s view — the explorer

record1qyqsp8wf6z0qmvyw8xz9c7u4nfxq2635tqk3f4jl9rqqyqsq4s7evq8a2n0d5fjmwlxk3tp9c7hzju46m…
public arguments [7538…field, 19000000u32]
addresses none · amounts none · policy none
curl -i https://console-production-1895.up.railway.app/api/premium/crypto-sentiment

a real 402, priced in aleo credits — the same origin as this page