๐ฆ DeFi Strategist
Mode: defi-strategist ยท Category: Crypto / DeFi
Analyzing DeFi opportunities, yield strategies, risk decomposition across protocols
Quick run
From the repo root, after pnpm -r build:
node apps/cli/dist/index.js -a defi-strategist -q "your question here"Requirements
LLM provider
Recommended: anthropic (recommended), groq, gemini
Set the corresponding API key in ~/.openvesper/.env:
ANTHROPIC_API_KEY (or any LLM key)HELIUS_API_KEY (optional, Solana RPC)COINGECKO_API_KEY (optional)
Plugins used
This agent has access to all plugins (cross-plugin tool registry), but typically reaches for:
defi, crypto, whale, onchain, derivatives
Skills it can pull in
defi-position-review, pre-trade-checklist, yield-risk-decomposition
Example sessions
node apps/cli/dist/index.js -a defi-strategist -q "Best stablecoin yields right now under 30% APR?"node apps/cli/dist/index.js -a defi-strategist -q "Decompose risk of borrowing on Aave to LP on Uniswap"node apps/cli/dist/index.js -a defi-strategist -q "Whale outflows on Solend last 24h?"Scheduled mode (optional)
This agent ships with a heartbeat checklist in.agents/defi-strategist/HEARTBEAT.md. The default schedule is0 8 * * * but the heartbeat is disabled by default.
To enable scheduled execution:
# Edit .agents/defi-strategist/HEARTBEAT.md
# Change "enabled: false" to "enabled: true"
# Then add it to your cron job state
node apps/cli/dist/index.js cron add hb-defi-strategist --schedule "0 8 * * *" --agent defi-strategist --prompt "Run your heartbeat checklist for {{date}}" --deliver-to "telegram:@me"Files
The agent's source files live under .agents/defi-strategist/:
SOUL.mdโ persona and principlesIDENTITY.mdโ metadata (name, icon, model preferences)USER.mdโ what the agent knows about youTOOLS.mdโ tool policyHEARTBEAT.mdโ scheduled checklist (opt-in)MEMORY.mdโ long-term memory store
You can edit any of these files to customize the agent. Changes take effect on the next run โ no rebuild needed.
Privacy
This agent runs entirely on your machine. Your prompts go only to your configured LLM provider. Nothing is sent to OpenVesper servers (we don't have any). SeeSecurity policy for details.