Policy System
The policy system is the core of Conto’s spending controls. Policies define rules that govern how AI agents can spend funds.What is a Policy?
A policy is a set of rules that determine whether a payment should be:- APPROVED - Payment can proceed
- DENIED - Payment is blocked
- REQUIRES_APPROVAL - Manual approval needed
Policy Types
Spend Limit
Control maximum amounts per transaction, day, week, or month
Time Window
Restrict transactions to specific hours and days
Counterparty
Control which recipients are allowed based on trust
Geographic
Block transactions to sanctioned countries (OFAC)
Category
Allow or block specific spending categories
Approval Threshold
Require manual approval above certain amounts
Velocity
Limit transaction frequency to prevent rapid drain
Whitelist
Only allow specific pre-approved addresses
Policy Evaluation
Evaluation Order
Policies are evaluated in priority order (highest first):Multi-Policy AND Logic
When multiple policies are assigned to an agent, all policies must pass for a payment to be approved.Due to early termination, when a payment is denied, only the first failing rule’s violation is returned — not all violations across all policies.
Creating Policies
Via Dashboard
Configure Policy
| Field | Description |
|---|---|
| Name | Human-readable name |
| Type | Policy type (spend limit, time window, etc.) |
| Priority | 0-100 (higher = evaluated first) |
| Description | What this policy does |
Via API
Policy Properties
| Property | Type | Description |
|---|---|---|
name | string | Human-readable name |
description | string | Detailed description |
policyType | enum | Type of policy |
priority | number | Evaluation order (0-100) |
isActive | boolean | Whether policy is enforced |
rules | array | Specific rules for this policy |
Assigning Policies
Policies can be assigned to:- Agents - Apply to specific agents
- Wallets - Apply to specific wallets
- Organization - Apply to all agents (coming soon)
Assign to Agent
Example: Standard Agent Setup
A typical agent configuration with multiple policies:Best Practices
Layer Your Policies
Layer Your Policies
Create policies at different priority levels:
- HIGH (90-100): Security/Compliance (sanctions, blocked addresses)
- MEDIUM (40-60): Business Rules (limits, time windows)
- LOW (0-20): Defaults (catch-all rules)
Start Restrictive
Start Restrictive
Begin with strict policies and relax based on operational needs:
- Day 1: $100/day limit, 3 trusted vendors
- Week 2: $500/day, add 5 more vendors
- Month 2: $1000/day, category-based restrictions
Use Approval Thresholds
Use Approval Thresholds
Don’t block high-value transactions entirely - require approval:
Document Your Policies
Document Your Policies
Use descriptions to explain policy intent: