Documentation Index
Fetch the complete documentation index at: https://docs.aegisintent.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Policy Engine is the core safety mechanism in Aegis. It sits between your agent’s action request and the actual blockchain execution, enforcing configurable spending limits at four granularity levels. Every financial action, transfers, payments, bridges, swaps, and any other onchain operation that requires the movement of assets must pass through the policy engine before execution.How It Works
When an agent attempts a financial action, the policy engine:- Looks up the agent’s configured limits from the database
- Calculates the agent’s cumulative spending for each time window (24h, 7d, 30d)
- Checks if the requested amount would exceed any limit
- Rejects the action if any limit would be breached
- Allows execution only if all limits are satisfied
Spending Limits
| Field | Description | Default |
|---|---|---|
perTxLimitUsdc | Maximum USDC per single transaction | 10,000 |
dailyLimitUsdc | Maximum cumulative USDC in a rolling 24-hour window | 50,000 |
weeklyLimitUsdc | Maximum cumulative USDC in a rolling 7-day window | 200,000 |
monthlyLimitUsdc | Maximum cumulative USDC in a rolling 30-day window | 500,000 |
perTx ≤ daily ≤ weekly ≤ monthly.
Checking Current Policy
Policy Rejection
If an action would exceed any limit, the API returns a403 error: