TradingAgents Financial Research Framework

Specialized agents collaborate on market research, trading decisions, and risk approval.

Stars
★ 124k
Last updated
8d ago v1.0.1
FARS reviewed
Nov 08, 2026 +2 new
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLILibrary / SDKSelf-hosted service
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Python 3.12pip or Condamarket-data API accessan API key for the selected hosted LLM provider, or an accessible local model serverDocker and Docker Compose for the optional container deploymentOllama for the optional local-model deploymentShell / CLINetwork accessLocal filesystem
Typical use
A quantitative or financial researcher comparing language models on the same security can pin an analysis date and vary the deep model, quick model, temperature, and debate rounds.
Not a fit if
  • Users expecting stable, replicable backtest returns: sampling and live data change results
  • Anyone needing real brokerage execution: orders only fill on a simulated exchange
Website
tauric.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-25latest release v1.0.1 (2026-11-25)+95.4 ★/day over 7 days
Source review
74/100 · Some gaps

What does this agent do, and when should you use it?

TradingAgents is a LangGraph-based financial research framework organized like a trading firm, with analyst, researcher, trader, risk-management, and portfolio-manager roles. It consumes company fundamentals, prices and technical indicators, news, macroeconomic information, and sentiment from StockTwits and Reddit before bullish and bearish researchers debate the evidence. A Trader Agent synthesizes the reports into a proposed action, while the risk team evaluates factors such as volatility and liquidity and the Portfolio Manager approves or rejects the proposal; approved orders execute on a simulated exchange. Users can run it through an interactive CLI, call TradingAgentsGraph.propagate() from Python, or deploy it with Docker. It supports numerous hosted model providers, local Ollama models, and arbitrary OpenAI-compatible endpoints, with a persistent decision log and optional LangGraph checkpoint recovery. The project is a research scaffold rather than financial advice, and its outputs and backtests can vary with model sampling, live data, dates, and data quality.

During a run, the Fundamentals Analyst examines financial statements and performance metrics; the Sentiment Analyst aggregates headlines, StockTwits, and Reddit discussion; the News Analyst interprets global news and macroeconomic indicators; and the Technical Analyst uses indicators such as MACD and RSI. Bullish and bearish researchers then conduct a structured debate over the analyst reports. The Trader Agent combines their work into a decision covering trade direction, timing, and magnitude. The risk-management team assesses volatility, liquidity, and other risks before the Portfolio Manager gives final approval or rejection; an approved order is executed by the simulated exchange. In Python, users instantiate TradingAgentsGraph and call propagate("NVDA", "2026-01-15"); the tradingagents and python -m cli.main commands expose ticker, analysis-date, provider, and research-depth choices interactively. Completed decisions are appended to ~/.tradingagents/memory/trading_memory.md, and later runs can incorporate realized raw return, alpha versus SPY, and historical reflections. With --checkpoint, node state is stored in per-ticker SQLite databases so interrupted graph executions can resume.

  1. A quantitative or financial researcher comparing language models on the same security can pin an analysis date and vary the deep model, quick model, temperature, and debate rounds.
  2. An investment-research team prototyping a fundamentals, technical, news, and sentiment workflow can reuse the supplied analyst roles, bull-versus-bear debate, and risk-approval graph.
  3. A Python developer embedding collaborative market analysis in a research application can call TradingAgentsGraph.propagate() for a specified ticker and date.
  4. A researcher studying non-US securities or cryptocurrency can use Yahoo Finance formats such as 0700.HK, 7203.T, 600519.SS, and BTC-USD.
  5. A user running lengthy or failure-prone analyses can enable checkpoint recovery and use the persistent decision log to carry prior same-ticker outcomes and cross-ticker lessons into later work.
  6. A team avoiding dependence on one model vendor can configure hosted adapters, AWS Bedrock, local Ollama, or an OpenAI-compatible vLLM, LM Studio, or llama.cpp server.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install
  • pip install ".[bedrock]"
Environment variables
OPENAI_API_KEY ALPHA_VANTAGE_API_KEY AWS_DEFAULT_REGION TRADINGAGENTS_LLM_BACKEND_URL
Config files
.env.example .env
Runtime
Python 3.12
Install notes cover
Docker

How do you install or deploy this agent?

Python 3.12 is documented. Run:

git clone https://github.com/TauricResearch/TradingAgents.git
cd TradingAgents
conda create -n tradingagents python=3.12
conda activate tradingagents
pip install .

Configure credentials for the selected model and data services. For an OpenAI setup, set OPENAI_API_KEY, and configure ALPHA_VANTAGE_API_KEY when using Alpha Vantage. Alternatively, run cp .env.example .env and fill in the required keys. Anthropic, Google, xAI, DeepSeek, Qwen, GLM, MiniMax, and OpenRouter use the provider-specific environment variables documented in the supplied source. For AWS Bedrock, install pip install ".[bedrock]", configure AWS credentials and AWS_DEFAULT_REGION, and select a Bedrock model ID. For Docker, populate .env and run docker compose run --rm tradingagents; the Ollama profile is launched with docker compose --profile ollama run --rm tradingagents-ollama.

How do you use this agent?

For a first interactive run, execute tradingagents or run python -m cli.main from the source tree, then select a ticker, analysis date, LLM provider, and research depth.

A minimal Python invocation is:

from tradingagents.graph.trading_graph import TradingAgentsGraph
from tradingagents.default_config import DEFAULT_CONFIG
ta = TradingAgentsGraph(debug=True, config=DEFAULT_CONFIG.copy())
_, decision = ta.propagate("NVDA", "2026-01-15")
print(decision)

A copied configuration can set llm_provider, deep_think_llm, quick_think_llm, max_debate_rounds, and temperature. For local Ollama, use llm_provider: "ollama"; its default endpoint is http://localhost:11434/v1. For vLLM, LM Studio, llama.cpp, or a custom relay, select llm_provider: "openai_compatible" and configure backend_url or TRADINGAGENTS_LLM_BACKEND_URL. Run tradingagents analyze --checkpoint to enable recovery, or tradingagents analyze --clear-checkpoints to remove all saved checkpoints before a run.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • The role design covers an explicit end-to-end decision chain: four analyst specialties, opposing researchers, a trader, a risk team, and a final portfolio manager.
  • Provider and deployment coverage is broad, including major hosted APIs, Azure OpenAI, AWS Bedrock, local Ollama, and OpenAI-compatible services such as vLLM, LM Studio, and llama.cpp.
  • It offers an interactive CLI, a Python package interface, and Docker deployment, supporting both experimentation and programmatic integration.
  • Its state features suit extended research: the decision log records outcomes and reflections, while optional checkpoints resume from the latest successful LangGraph node.
  • It accepts international and cryptocurrency symbols covered by Yahoo Finance and resolves company identity and the alpha benchmark per market.
Limitations
  • It is a research framework, not financial advice or a strategy with guaranteed returns; backtests are not promised to match published figures.
  • Runs for the same ticker and date can differ because model calls are nondeterministic, and reasoning-oriented models may ignore temperature controls.
  • News, StockTwits, and Reddit inputs change over time, so pinning a historical analysis date does not freeze every input.
  • Hosted models and some data vendors require separate credentials, network access, and potentially paid usage; supporting many providers adds configuration overhead.
  • Approved proposals execute only on a simulated exchange; the supplied material does not document live brokerage connectivity.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
TradingAgents Financial Research Framework This agent 74 · Some gaps CLIFree + model costs ★ 124k 8d ago TypeScript OpenAI API · Claude API
VYNN AI Financial Analyst 67 · Some gaps CLIPaid ★ 131 11d ago Python OpenAI API · Claude API
TradingAgents for A-Shares 78 · Good Library / SDKFree + model costs ★ 4.1k 1mo ago Python OpenAI API · Claude API
Vibe-Trading 68 · Some gaps CLIFree + model costs ★ 40k 1d ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
74/ 100 5-point scale 3.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 18/29
Reliability 9/14
Adaptability 15/18
Convention 15/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The README lists required APIs and optional data sources, documents where ChatGPT credentials are stored and how to log out, and says the background update check runs at most daily without sending run information. CLI choices, checkpoint clearing, and report-save controls support user control and data-flow transparency. Sensitive-data handling is only partly evidenced by credential-path documentation and some error redaction; storage encryption and access controls are not described. The dependency list has no lockfile, hashes, or security-audit evidence. External effects mainly involve data services, sign-in, and simulated trading, but documentation of update checks and default persistence is limited. Checkpoints can be cleared and are removed on successful completion, while rollback or deletion of the memory log is not adequately described. README attribution and the license support source attribution, but publisher identity remains unknown as specified.

Reliability9 / 14 · 3.2/5

The dependency-install instructions in pyproject.toml, README, and requirements.txt are broadly consistent. CI is configured for tests across multiple Python versions, a clean-install import check, and lint; the usage examples align with the package entry point. These are static source signals, not evidence that tests ran or results are correct. Dependencies use minimum-version ranges without a locked resolution, and the documented range of external providers makes availability depend on third-party services and credentials. The CLI provides actionable messages for invalid input, a missing console, backtest failures, and settlement failures, but the sample covers only some error paths. Self-consistency, dependency availability, and failure messaging therefore do not earn full marks.

Adaptability15 / 18 · 4.2/5

The README addresses research and backtesting, gives examples for stocks, crypto, and multiple markets, and describes multiple LLM providers, local models, compatible endpoints, portfolios, and configuration overrides. It states the research-only purpose, disclaims investment advice, and documents historical-data limitations. Users can choose analysts, dates, models, and output language; CLI flags and environment variables support interactive and unattended use. Some boundaries are documented, but limits on result reliability and triggers for every feature are not uniformly detailed. Update checks, memory logging, and checkpoint defaults or activation are spread across the documentation, so those aspects receive 2.

Convention15 / 18 · 4.2/5

The README is organized around installation, CLI, APIs, Python use, data sources, persistence, recovery, and backtesting, with examples for Docker, local models, environment variables, and common calls. The license file is Apache-2.0, and the news section records dated release changes. Naming and package paths receive some stability guidance, although the news also notes an import-path migration. The supplied sample does not establish maintainer responsibility, support commitments, or a clear maintenance path; community links alone do not establish ownership. Limitations are described in useful detail but do not cover every provider or failure case, so these criteria do not all receive full marks.

Effectiveness12 / 13 · 4.6/5

The framework links analysts, research debate, a trader, risk management, and a portfolio manager into a reviewable research flow. HTML reports, CLI progress, structured decisions, backtesting, and portfolio context give outputs clear reading and evaluation uses. Multi-provider, multi-role analysis and persistent memory add capabilities beyond a single-model call. Cost-benefit is only partly assessable: the README says research depth, model temperature, and nondeterminism affect performance and notes subscription usage limits, but provides no resource-consumption, operating-cost, or benefit-comparison evidence.

Verifiability5 / 8 · 3.1/5

The README ties major capabilities, usage, and some data boundaries to commands, configuration, or examples. The CI workflow, dependency configuration, CLI source, and Alpha Vantage test sample provide partial corroboration across files. Most implementation files are outside the sample, so the documentation’s claims cannot all be independently confirmed here; CI configuration is not an execution result, and test examples do not validate this revision. The README identifies research use, external-data limits, and nondeterminism, but does not systematically distinguish facts from inferences, so these criteria do not receive full marks.

Risks and how to mitigate them
  • This is a low-confidence static review; no code was executed, so it does not establish trading-decision quality or passing tests.
  • The framework calls external LLM and market-data services and appends to a memory log by default; review data flows and provider terms before configuring credentials or portfolio data.
  • The README explicitly frames the product as research software, not investment or trading advice; historical-data coverage and provider behavior have limitations.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 9fa1196fffbc New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/tradingagents.svg)](https://followagents.com/en/agents/tradingagents)
<a href="https://followagents.com/en/agents/tradingagents"><img src="https://followagents.com/badge/tradingagents.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.0.1
    Release notes excerpt
    Fixed - Plan mode: the PDF report shows the question you asked, with what you added while planning, instead of "Carry out the plan". - Reports: the report starts with the answer; progress notes written along the way are left out. - Price history: a one-year window that spans February 29 is no longer refused. - Correlation: returns over only three shared dates are refused instead of reported as a perfect +1 or -1; four dates are the minimum. - API keys: saving a key confirms it by the provider's name ("Stored the Tauric API key"). Added …
    View on GitHub ↗
  2. v1.0.0
    Release notes excerpt
    - TradingAgents: Towards Agentic Finance Research. Research - Agents: Equity Research, Macro Strategy, Quant Research and Risk Analysis research in parallel and report back. - Skills: sixteen built-in research methods, from an earnings review to a DCF valuation. - Your own agents and skills, as Markdown files. - Plan mode: review and revise a research plan before it runs. - Sources: every figure is cited to the data it came from. Data and models - Data: with a Tauric API key, market data, fundamentals, filings, news, economic series and prediction-market odds. …
    View on GitHub ↗
  3. v0.7.1 TradingAgents v0.7.1
    Release notes excerpt
    Decisions are scored only on final closes and settle across long market holidays, a model's unpadded date no longer reads filings made after the run date, and fixes to portfolios, prices, SEC statements, reports, Azure and Claude settings. Upgrading from 0.7.0 - Docker images no longer include .env.enterprise. For Azure OpenAI in Docker, put its keys in .env. Fixed - A date a model passes without zero padding, such as 2024-7-5, is read as that date. It could compare as later than a filing made after the run date, and SEC EDGAR then served that filing. (#1488) …
    View on GitHub ↗

FAQ

Will it place trades with real money?
No live execution is documented. Approved proposals are sent to a simulated exchange, and the source provides no evidence of a real-broker integration.
Is OpenAI required?
No. Supported paths include OpenAI, Google, Anthropic, xAI, DeepSeek, Qwen, GLM, MiniMax, OpenRouter, Azure OpenAI, AWS Bedrock, local Ollama, and arbitrary OpenAI-compatible endpoints.
What determines operating cost?
The source states no fixed price. Cost depends on the selected hosted model and data services, research depth, debate rounds, and call volume. Local models reduce reliance on hosted inference but still require compute and data access.
Can an interrupted run resume?
Recovery is opt-in. With --checkpoint or checkpoint_enabled, LangGraph saves state after each node and resumes from the last successful step. Checkpoints are cleared automatically after successful completion.
Are results fully reproducible?
No. A fixed date stabilizes the price and indicator window, and a lower temperature may reduce variation for models that honor it, but model sampling and changing news or social inputs can still alter results.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts