moon-dev-trading-agents
БесплатноБез исполняемых скриптовНе проверенMaster Moon Dev's Ai Agents Github with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto…
Об этом скилле
Moon Dev's AI Trading Agents System
Expert knowledge for working with Moon Dev's experimental AI trading system that orchestrates 48+ specialized AI agents for cryptocurrency trading across Hyperliquid, Solana (BirdEye), Asterdex, and Extended Exchange.
When to Use This Skill
Use this skill when:
- Working with Moon Dev's trading agents repository
- Need to understand agent architecture and capabilities
- Running, modifying, or creating trading agents
- Configuring trading system, exchanges, or LLM providers
- Debugging trading operations or agent interactions
- Understanding backtesting with RBI agent
- Setting up new exchanges or strategies
Environment Setup Note
For New Users: This repo uses Python 3.10.9. If using conda, the README shows setting up an environment named tflow, but you can name it whatever you want. If you don't use conda, standard pip/venv works fine too.
Quick Start Commands
# Activate your Python environment (conda, venv, or whatever you use)
# Example with conda: conda activate tflow
# Example with venv: source venv/bin/activate
# Use whatever environment manager you prefer
# Run main orchestrator (controls multiple agents)
python src/main.py
# Run individual agent
python src/agents/trading_agent.py
python src/agents/risk_agent.py
python src/agents/rbi_agent.py
# Update requirements after adding packages
pip freeze > requirements.txt
Core Architecture
Directory Structure
src/
├── agents/ # 48+ specialized AI agents (<800 lines each)
├── models/ # LLM provider abstraction (ModelFactory)
├── strategies/ # User-defined trading strategies
├── scripts/ # Standalone utility scripts
├── data/ # Agent outputs, memory, analysis results
├── config.py # Global configuration
├── main.py # Main orchestrator loop
├── nice_funcs.py # Core trading utilities (~1,200 lines)
├── nice_funcs_hl.py # Hyperliquid-specific functions
├── nice_funcs_extended.py # Extended Exchange functions
└── ezbot.py # Legacy trading controller
Key Components
Agents (src/agents/)
- Each agent is standalone executable
- Uses ModelFactory for LLM access
- Stores outputs in src/data/[agent_name]/
- Under 800 lines (split if longer)
LLM Integration (src/models/)
- ModelFactory provides unified interface
- Supports: Claude, GPT-4, DeepSeek, Groq, Gemini, Ollama
- Pattern:
ModelFactory.create_model('anthropic')
Trading Utilities
nice_funcs.py: Core functions (Solana/BirdEye)nice_funcs_hl.py: Hyperliquid exchangenice_funcs_extended.py: Extended Exchange (X10)
Configuration
config.py: Trading settings, risk limits, agent behavior.env: API keys and secrets (never expose these)
Agent Categories
Trading: trading_agent, strategy_agent, risk_agent, copybot_agent
Market Analysis: sentiment_agent, whale_agent, funding_agent, liquidation_agent, chartanalysis_agent
Content: chat_agent, clips_agent, tweet_agent, video_agent, phone_agent
Research: rbi_agent (codes backtests from videos/PDFs), research_agent, websearch_agent
Specialized: sniper_agent, solana_agent, tx_agent, million_agent, polymarket_agent, compliance_agent, swarm_agent
See AGENTS.md for complete list with descriptions.
Common Workflows
1. Run Single Agent
# Activate your environment first
python src/agents/[agent_name].py
Each agent is standalone and can run independently.
2. Run Main Orchestrator
python src/main.py
Runs multiple agents in loop based on ACTIVE_AGENTS dict in main.py.
3. Change Exchange
Edit agent file or config:
EXCHANGE = "hyperliquid" # or "birdeye", "extended"
Then import corresponding functions:
if EXCHANGE == "hyperliquid":
from src import nice_funcs_hl as nf
elif EXCHANGE == "extended":
from src import nice_funcs_extended as nf
4. Switch AI Model
Edit src/config.py:
AI_MODEL = "claude-3-haiku-20240307" # Fast, cheap
# AI_MODEL = "claude-3-sonnet-20240229" # Balanced
# AI_MODEL = "claude-3-opus-20240229" # Most powerful
Or use ModelFactory per-agent:
from src.models.model_factory import ModelFactory
model = ModelFactory.create_model('deepseek') # or 'openai', 'groq', etc.
response = model.generate_response(system_prompt, user_content, temperature, max_tokens)
5. Backtest Strategy (RBI Agent)
python src/agents/rbi_agent.py
Provide: YouTube URL, PDF, or trading idea text → DeepSeek-R1 extracts strategy logic → Generates backtesting.py compatible code → Executes backtest, returns metrics
See WORKFLOWS.md for more examples.
Development Rules
CRITICAL Rules
- Keep files under 800 lines - split into new files if longer
- NEVER move files - can create new, but no moving without asking
- Use existing environment - don't create new virtual environme
Установить moon-dev-trading-agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл moon-dev-trading-agents?
Master Moon Dev's Ai Agents Github with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto markets
Как установить скилл moon-dev-trading-agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл moon-dev-trading-agents запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic