DEFI AGENTS
AgentLoan runs four autonomous agents — a Personal Agent for your positions, an AI Coordinator, a Liquidation Bot, and a Signal Agent.
01 — PERSONAL AGENT
Your autonomous DeFi autopilot. Set up once — agent monitors your Health Factor 24/7, automatically repays debt when HF drops below your target, and deploys idle xUSDC to earn yield. Uses Gemini AI with rolling memory to make context-aware decisions.
| Property | Value |
|---|---|
| AI model | Gemini 2.5 Flash (default) — user can set own key |
| Trigger (emergency) | HF < 1.05 — acts immediately, skips LLM |
| Trigger (normal) | HF < target — calls LLM with memory context |
| Cooldown | 5 minutes between LLM calls per user |
| Yield deployment | Deploys idle wallet xUSDC when HF > target + 0.3 |
| Execution | AgentExecutor contract — atomic withdrawFor + repayFor |
| Arc ERC-8004 ID | #67459 |
| Setup | Dashboard → AGENTS tab → approve + authorize + activate |
02 — COORDINATOR AGENT
The brain of the liquidation system. Runs every 30 seconds and uses Gemini AI to reason about liquidation strategy. Considers profit, urgency, and market conditions to produce a priority-ordered liquidation queue. Learns from past outcomes via persistent memory.
| Property | Value |
|---|---|
| AI model | Gemini 2.5 Flash (primary) + DeepSeek V3 (fallback) |
| Cost at scale | ~$0.01–0.02/day regardless of user count |
| Agent wallet | 0x4dcE343E9c35112AAF9Ddce566689C3f36C73482 |
| Arc ERC-8004 ID | #34625 |
03 — LIQUIDATION BOT
Executes the Coordinator's strategy. Monitors every borrower position every block (~0.48s) and liquidates positions with HF < 1.0, earning a 5% collateral bonus.
| Property | Value |
|---|---|
| Reaction time | ~15 seconds (oracle staleness threshold) |
| Collateral bonus | 5% of debt value |
| Bot wallet | 0x9E47c5EE0b1174a5F4450553CE45Fdcf6bCd036a |
| Arc ERC-8004 ID | #30907 |
04 — SIGNAL AGENT
Sells early liquidation warnings to bots via x402 payment protocol. Scans all positions every 5 seconds for HF < 1.1. Bots pay 1 xUSDC for 1,000 signals (24h session) and get a 15–30 second head start.
| Property | Value |
|---|---|
| Price | 1 xUSDC per session (1,000 signals / 24h) |
| Scan interval | 5 seconds |
| Agent wallet | 0x555cc39B822392E45A0B69776d6AeEadfcC5af3D |
| Arc ERC-8004 ID | #31772 |
AGENT COMPARISON
| Agent | For | Runs | Trigger |
|---|---|---|---|
| Personal Agent | Your position | VPS (every block) | HF < your target |
| Coordinator | Protocol efficiency | VPS (every 30s) | Positions HF < 1.1 |
| Liquidation Bot | Protocol + bot operator | VPS (every block) | HF < 1.0 |
| Signal Agent | Bot subscribers | VPS (every 5s) | Positions HF < 1.1 |
Check live agent status in Dashboard → AGENTS tab. Personal Agent setup: approve xUSDC → authorize → activate.