
TradingAgents
CLIMulti-agent investment research framework where fundamental, sentiment, news and technical analysts, bull and bear researchers, a trader and risk managers debate a stock and produce a report and rating. Covers US, Hong Kong and A-shares. Needs Python and an LLM API key; not investment advice.
English | Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文
TradingAgents: Towards Agentic Finance Research
Quick start
1. Get an API key
- Sign up at Tauric Research.
- Create your Tauric API key.
2. Install
curl -fsSL https://tauric.ai/tradingagents/install.sh | sh
Or with npm: npm i -g @tauric/tradingagents
3. Run
tradingagents
Start your agentic finance research with Tauric!
Models
| Provider | Needs |
|---|---|
| Tauric AI | Tauric API key |
| OpenAI, Anthropic, Google, DeepSeek, OpenRouter | their API key |
| Self-hosted models (vLLM, Ollama) | its address and model |
| AI subscriptions (ChatGPT) | tradingagents login chatgpt |
With another provider, /login adds a Tauric API key for filings, statements and news. See
docs/models.md.
Usage
Type a question and press Enter. Every figure in the answer is marked with its source, and a numbered list of sources follows.
| Command | Does |
|---|---|
/ | Open the commands |
/model | Choose the model and how hard it reasons |
/resume | Resume an earlier session |
/export | Save the last answer as a PDF report, or the session as Markdown |
/copy | Copy the last answer |
/help | List every command and key |
Shift+Tab switches to plan mode, where the agent proposes a research plan first.
Architecture
Agents and skills
The main agent plans the research, reads what the question needs with its data tools, and works the numbers with its compute tools. For depth, it briefs specialist agents, each in its own context:
| Agent | Covers |
|---|---|
| Equity Research | a company's statements, filings, estimates, valuation, ownership and news |
| Macro Strategy | growth, inflation, rates and the yield curve, credit, sectors, cross-asset moves |
| Quant Research | returns, volatility, drawdowns, correlation and beta, technical indicators |
| Risk Analysis | what could make a position lose, and what would show it early |
For a known kind of research it follows a skill:
| Area | Skills |
|---|---|
| Companies | company snapshot, earnings preview and review, filing review, full analysis |
| Valuation | DCF, relative valuation, scenario analysis |
| Markets | macro outlook, market brief, performance comparison, sector review, technical analysis |
| Risk | portfolio review, risk assessment, thesis review |
You can add your own agents and skills as Markdown files (docs/usage.md). TradingAgents researches and answers; it does not place trades.
Documentation
- Install: the installer, npm, release files and updates.
- Usage: the terminal, one-off questions, sessions, agents and skills, sources, sync and limits.
- Models: providers, keys, reasoning and OpenAI-compatible servers.
- Configuration: files and environment variables.
To report an issue or open a pull request, see CONTRIBUTING.md; to report a security problem, SECURITY.md.
Citation
@article{xiao2024tradingagents,
title={TradingAgents: Multi-agents LLM financial trading framework},
author={Xiao, Yijia and Sun, Edward and Luo, Di and Wang, Wei},
journal={arXiv preprint arXiv:2412.20138},
year={2024}
}
License
Apache-2.0. See LICENSE.
Related resources

AI Hedge Fund
CLIMulti-agent simulated hedge fund: agents modeled on investors like Buffett and Munger work with quant and risk modules to analyze stocks, with backtesting. Good for teaching investment frameworks. Needs Financial Datasets and model API keys; no real trading, not investment advice.
virattt/ai-hedge-fund64.9k
Dexter
CLIFinancial research terminal agent, like Claude Code for finance: breaks company research questions into steps, pulls financial statements and market data, and self-checks before answering. Needs Bun, a model API key and a Financial Datasets API key; for learning and research only.
virattt/dexter28k
Qlib
CLIMicrosoft's open-source AI quant investment research platform: the qrun command runs dataset building, model training, backtesting and evaluation from a YAML config, with many benchmark models. The official dataset is paused, so prepare market data per the README first.
microsoft/qlib50.7k
Vibe-Trading
MCPTrading research agent from HKU's HKUDS whose MCP server offers 70+ tools for quotes, financials, backtesting and research across A-shares, Hong Kong and US stocks and crypto. Needs local Python; HK, US and crypto research need no API key. For research only; not investment advice.
HKUDS/Vibe-Trading39.4k
Longbridge Terminal
CLILongbridge's official CLI: real-time HK and US quotes, candles, options and warrants, news and filings, positions and cash, and order placement (previewed by default, executed only on confirmation). All commands output JSON for agents. Needs a Longbridge account and browser login.
longbridge/longbridge-terminal1.1k
Freqtrade
CLIOpen-source crypto trading framework: download market data, backtest and optimize strategies, and paper trade from the CLI while agents iterate on strategies. Docker recommended; strategies need Python and live trading needs exchange API keys. Backtests don't guarantee returns.
freqtrade/freqtrade57.4k