Loops HouseStipend

NEAR HACKATHON
Links
Team
1 member- JOOwner
John vianny
Overview
AI agents are starting to spend money on their own. An agent with open access to a wallet can overspend, accept a bad price, or be pushed past its limits by the data it reads. I built Stipend, an SDK and on chain policy engine on NEAR. An owner gives an agent a stipend with a cap per payment, a budget per day, and a list of approved vendors. The policy lives in a NEAR testnet contract at stipend.testnet, so the contract checks every payment before NEAR moves. Payments inside the limits settle on their own. A payment over the cap is held on chain until the owner approves it. Expired quotes, forged prices, and vendors that were never approved are blocked, and the owner can pause payments or revoke the agent at any time. The build includes the Rust policy engine, a TypeScript SDK, a reference AI app that buys API data through the SDK, and an owner console for stipends, holds, and blocked attempts. In the live demo, the agent settles a 0.001 NEAR purchase alone, a 0.08 NEAR purchase is held because the cap is 0.05 NEAR, and 54 tests pass.