Agents
An agent account holds USDC and spends it within your rules: a maximum per payment, a daily limit, allowed recipients and allowed websites. A NEAR contract signs each payment only if it fits, and it checks the limit on the hidden amount.
Policy
- Max per payment
- 5.00 USDC
- Daily limit
- 50.00 USDC
- Allowed recipients
- @openrouter.keshi
- Allowed websites
- api.example.com
Live trace
request GET api.example.com/v1/report
payment_required 0.25 USDC
quote 0.25 USDC → @openrouter.keshi
policy_check passed on NEAR
paid tx 5Kq…e2a
retried → completed 200
Owner controls
- Pause and resume at any time.
- Revoke for good, then take the funds back.
- Edit limits; the new policy is signed by your wallet.
- Every step of every request, traced live.
Tiers come from staked $KESHI. See $KESHI.
| Tier | Weight ($KESHI) | Fee discount | Agents | Agent limit / day |
|---|---|---|---|---|
| 0 | 0 | 0% | 3 | $500 |
| 1 | 1,000 | 10% | 5 | $2,500 |
| 2 | 10,000 | 25% | 10 | $10,000 |
| 3 | 100,000 | 50% | 25 | $25,000 |
| 4 | 1,000,000 | 75% | 50 | $50,000 |
The policy contract is built to be controlled only by post-quantum ML-DSA-65 keys on NEAR mainnet. See quantum readiness.