Install
openclaw skills install agentqskillsMaster Moon Dev's AI Agents GitHub with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto ma...
openclaw skills install agentqskillsA complete skillset reference for working with Moon Dev's experimental AI trading architecture — featuring 48+ specialized agents orchestrated across Hyperliquid, Solana (BirdEye), Asterdex, and Extended Exchange.
When working with Moon Dev's trading system, use this skill to:
When users ask about agents, trading workflows, exchange configuration, or system architecture, provide guidance based on the comprehensive information in this skill and referenced files (AGENTS.md, WORKFLOWS.md, ARCHITECTURE.md).
Use this doc when you need to:
Uses Python 3.10.9.
tflow as env name, but you can name your env anything# Activate environment
conda activate tflow
# or
source venv/bin/activate
# Run main orchestrator
python src/main.py
# Run an individual agent
python src/agents/trading_agent.py
python src/agents/risk_agent.py
python src/agents/rbi_agent.py
# After installing new packages
pip freeze > requirements.txt
src/
├── agents/ # 48+ specialized AI agents (<800 lines each)
├── models/ # LLM provider abstraction (ModelFactory)
├── strategies/ # User-defined trading logic
├── scripts/ # Utility scripts
├── data/ # Saved results, memory, logs
├── config.py # Global configuration
├── main.py # Main orchestrator
├── nice_funcs.py # Solana/BirdEye utilities
├── nice_funcs_hl.py # Hyperliquid utilities
├── nice_funcs_extended.py # Extended Exchange utilities
└── ezbot.py # Legacy bot
Standalone executables with ModelFactory support.
Output saved into src/data/<agent_name>/.
Supports: Claude, GPT-4, DeepSeek, Groq, Gemini, Ollama.
from src.models.model_factory import ModelFactory
model = ModelFactory.create_model('anthropic')
trading_agent, strategy_agent, risk_agent, copybot_agent
sentiment_agent, whale_agent, funding_agent, liquidation_agent, chartanalysis_agent
chat_agent, tweet_agent, clips_agent, phone_agent, video_agent
rbi_agent, research_agent, websearch_agent
sniper_agent, million_agent, solana_agent, tx_agent, polymarket_agent, swarm_agent
python src/agents/[agent_name].py
python src/main.py
Controlled by ACTIVE_AGENTS in main.py.
EXCHANGE = "hyperliquid" # or "birdeye", "extended"
if EXCHANGE == "hyperliquid":
from src import nice_funcs_hl as nf
elif EXCHANGE == "extended":
from src import nice_funcs_extended as nf
AI_MODEL = "claude-3-haiku-20240307"
Or per-agent:
model = ModelFactory.create_model('deepseek')
python src/agents/rbi_agent.py
Supports:
Outputs fully executable Backtesting.py code.
pip freeze > requirements.txt after installsfrom src.models.model_factory import ModelFactory
model = ModelFactory.create_model('anthropic')
output_dir = "src/data/my_agent/"
if __name__ == "__main__":
# main logic
backtesting.py (official library)pandas_ta or talib for indicatorssrc/data/rbi/BTC-USD-15m.csvconfig.py.envContains:
(These must never be shown publicly.)
(Perps DEX, 50× leverage)
Functions:
market_buy()market_sell()get_position()close_position()15k+ tokens
token_overview()token_price()get_ohlcv_data()StarkNet perps Auto symbol mapping (e.g., BTC → BTC-USD).
Input + Config
→ Agent Init
→ API Calls
→ Data Parsing
→ LLM Reasoning
→ Decision Output
→ Save to data/
→ (optional) Execute Trade
pip install package-name
pip freeze > requirements.txt
from src.nice_funcs import token_overview, get_ohlcv_data, token_price
from src import nice_funcs_hl as nf
nf.market_buy("BTC", usd_amount=100, leverage=10)
from src import nice_funcs_extended as nf
nf.market_buy("BTC", usd_amount=100, leverage=15)
Recent commits:
dc55e90: websearch agent921ead6: rbi update6bb55c2: backtest dashboardLocated in docs/:
Risk Agent runs first
Circuit breakers:
AI-confirmation optional for closing trades
Default loop: every 15 min
This project is experimental, community-driven, educational, and open-source. No token. No promises. No nonsense.
"Never over-engineer. Always ship real trading systems."
Built with 🌙 by Moon Dev