๐Ÿฆ 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 principles
  • IDENTITY.md โ€” metadata (name, icon, model preferences)
  • USER.md โ€” what the agent knows about you
  • TOOLS.md โ€” tool policy
  • HEARTBEAT.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.

What's next?