TradingAgents
ActiveDescription
TradingAgents is a multi-agent trading framework built with LangGraph that mirrors real-world trading firm dynamics with specialized LLM-powered agents for fundamental analysis, sentiment analysis, risk management, and more.
Key Features
- Multi-role agent collaboration - Mirrors real trading firms with fundamental analyst, sentiment analyst, technical analyst, trader, and risk management agents
- Built on LangGraph - Uses LangGraph for dynamic inter-agent discussions and structured decision-making workflows
- Bull-bear researcher debate - Bullish and bearish researchers debate analyst insights to balance potential gains against risks
- Multi-LLM provider support - Compatible with GPT-5.x, Gemini 3.x, Claude 4.x, Grok 4.x, DeepSeek, Qwen, and more
- Structured-output agents - Research Manager, Trader, and Portfolio Manager use structured outputs for consistent decision formatting
- Docker and Ollama support - One-command Docker deployment with Ollama integration for fully offline local model inference
Use Cases
Categories
Quick Start
# Clone the repository
git clone https://github.com/TauricResearch/TradingAgents.git
cd TradingAgents
# Create and activate virtual environment
conda create -n tradingagents python=3.13
conda activate tradingagents
# Install dependencies
pip install .
# Set API key (OpenAI example)
export OPENAI_API_KEY=your-key
# Run trading analysis
python main.py --ticker AAPL