How Riv works
Connect an agent, set the policies, and let every spend pass through a decision — in minutes, with no code beyond an HTTP call.
1
Connect the agent
Issue the riv_ key in the dashboard and put it in your agent's environment.
bash
curl -X POST riv-io.vercel.app/api/v1/authorize \
-H "Authorization: Bearer riv_..." \
-d '{"amount":5,"currency":"USD"}'
// → decision: "allow"
2
Set the policies
From simple limits to per-category mandates, with period and expiry.
policyblocked
$10.00/ monthly
per agentcategory: inferenceexpires: 30d
spent this month$7.00 / $10.00
3
Authorize and audit
The agent calls authorize before spending; every decision lands in the ledger.