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.
System Architecture
Aegis is a secure REST API that acts as an orchestration layer between your AI agents and the blockchain. It does not hold private keys, all cryptographic signing is delegated to Circle’s Developer Controlled Wallets (DCW) infrastructure.Core Components
API Gateway
All routes are organized into modular routers:| Router | Path | Purpose |
|---|---|---|
| Connect | /v1/connect/* | Agent onboarding and token management |
| Actions | /v1/actions/* | Financial operations (transfer, pay, bridge, swap, yield, wealth) |
| Marketplace | /v1/marketplace/* | x402 service discovery and inspection |
| Policy | /v1/policy | Spending limit configuration |
Circle DCW Integration
Circle’s Developer Controlled Wallets SDK handles:- EOA wallet creation on the Arc Network for each agent
- Server side transaction signing without exposing private keys
- USDC transfers with gas abstraction (Arc uses USDC as native gas)
- Real time fee estimation
Policy Engine
Every financial action passes through the policy engine before execution. It checks the requested amount against four configurable limits:- Per-transaction: Maximum USDC per single action
- Daily: Rolling 24-hour spending cap
- Weekly: Rolling 7-day spending cap
- Monthly: Rolling 30-day spending cap
Audit Layer
Every financial action is logged with:- Agent ID, action type, and USDC amount
- Idempotency key hash
- Completion status and result metadata
- Start and completion timestamps
Database & State
All state is safely persisted in the database, including agent records, API tokens (hashed), policy configs, audit logs, idempotency records, connect challenges, wealth intents (limit orders and DCA schedules), and yield position metadata.Yield Vault & Synthra V3
Aegis integrates two yield protocols:- Aegis aUSDC Vault (
0xAf5f...): A simple deposit/withdraw vault where agents earn yield on idle USDC. A background Yield Distributor injects real USDC yield hourly. - Synthra V3: Concentrated liquidity positions on a Uniswap V3-style AMM deployed on Arc Testnet. Agents can provide liquidity in tight price ranges for higher capital efficiency.
multiYield endpoint enables agents to split deposits across both protocols in a single atomic action.
Wealth Sentinel
An autonomous background process running every 5 minutes that:- Monitors all
PENDINGlimit orders and checks live market prices - Monitors all active DCA schedules and checks elapsed time
- Automatically executes matching intents via Circle DCW
- Logs all autonomous executions to the audit trail
Request Lifecycle
Network
Aegis operates on the Arc Testnet: a Circle backed EVM chain where USDC is the native gas token. No separate gas token needed.| Property | Value |
|---|---|
| Network | Arc Testnet |
| Gas Token | USDC (native) |
| Wallet Type | Circle DCW (EOA) |
| Supported Assets | USDC, EURC, cirBTC |