Account Agents
Agents are programmable trigger-action rules attached to individual wallets. When a trigger condition is met, Avenue executes the associated action automatically — no polling required.Agent anatomy
An agent has three components:Triggers
Actions
Example: Auto-sweep on credit
wal_abc123, it is automatically swept to wal_main_pool.
Agent logs
Every agent execution is recorded inagent_logs:
- When it fired
- Which trigger was met
- What action was taken
- Whether it succeeded
GET /v1/agents/:id/logs.