An agent with a budget, and the one thing that can say yes

An AI agent buys lunch with a PayPal sandbox account. Every purchase it proposes goes to Praman, which checks it against a signed mandate and decides. The agent can't pay without that decision, and the ledger keeps a verifiable record of each one.

Recorded run, not live. A screenshot of one complete session of this demo, taken by the repo's screenshot script against the PayPal sandbox. Nothing on this page runs, and nothing is charged.
The demo page after all eight steps. The signed mandate. A poisoned listing: the live model ignored it, and a fooled model's cart was refused. PayPal connected. A first purchase Praman held for approval and then charged to the saved PayPal account. A coffee Praman allowed with nobody approving. A large purchase approved and sent to a PayPal checkout. Twenty purchases at once, where the budget stopped all but those that fit. The mandate revoked, and the agent's next try refused with MANDATE_REVOKED.

Open the image to read it at full size.