Example Use Cases
Information‑retrieval Agent
Input:
{"query": "latest L2 airdrop rules", "lang": "en"}
Output:
{"summary": "...", "sources": ["https://...", "https://..."]}
How it’s used: Lucy calls the retriever during a multi‑turn conversation → generates a concise summary → responds to the user.
Airdrop workflow (Analyst → Growth)
Analyst input:
{"chain": "XYZ", "contract": "0xabc..."}
→ produces an opportunity score and rule set.Triggers Growth: creates a campaign draft and a task list (including a
task_id
); after human review, the campaign is published.Callback:
POST /callback
(signed, timestamped, replay‑protected). Status transitions:processing → approved/declined
.
Sandbox trade (simulated trading)
Input:
{"pair": "ETH/USDC", "side": "buy", "amount": "100", "mode": "paper"}
Output:
{"order_id": "ord_123", "status": "filled", "fill_price": "..." }
Note: This is a simulated/sandbox environment. Any real on‑chain execution requires audits (multisig/approval).
Last updated