Skip to main content

Policy Engine

Every transaction passes through Amrood’s policy engine before execution. Policies are layered — each layer can only be more restrictive than the one above it.

Policy Hierarchy

  1. Tier Defaults — set by Amrood admin per tier (sandbox, tier1, tier2, tier3)
  2. Owner Override — account holder can tighten their own limits
  3. Agent Policy — per-agent rules for fine-grained control
The tightest limit always wins. An owner cannot exceed tier limits. An agent cannot exceed owner limits.

Tier Defaults

Agent Policy Controls

Set per-agent policies via your platform:

Available Controls

Policy Decisions

When a transaction is evaluated, the engine returns one of four decisions:

Human Approval Workflow

When a payment exceeds the approval threshold, it enters a pending state:
The account holder sees pending approvals and can approve or reject:
Approvals expire after 24 hours if not acted upon.

Velocity Tracking

All velocity limits are tracked in real-time using Redis counters:
  • Hourly — rolling 1-hour window
  • Daily — rolling 24-hour window
  • Monthly — calendar month
  • Per-counterparty — daily limit per unique recipient

Cooldown on Limit Changes

When spending limits are increased, a cooldown period (default 24 hours) applies before the new limits take effect. This prevents compromised accounts from immediately raising limits and draining funds.