TradingAgents, Explained: How a 117k-Star Open-Source Project Simulates a Trading Firm — and Why You Shouldn’t Trade on It

An open-source project called TradingAgents has quietly become one of the most-starred finance projects on GitHub: roughly 117,500 stars and counting. Its pitch is irresistible. Instead of asking one AI chatbot “should I buy this stock?”, it builds a whole fake trading firm out of AI agents — analysts, researchers, a trader, a risk team — and lets them argue their way to a decision, the way a real firm might.

It is a genuinely clever piece of engineering, and a fascinating way to study how AI systems make decisions. It is also, by its own authors’ description, a research framework — not a money-making machine. This article explains how it works, what it can and can’t do, and why the gap between “impressive demo” and “something you’d trust with your savings” is much wider than the star count suggests.

Meet the staff: how the fake firm is organized

TradingAgents (built by TauricResearch) splits the job of trading into specialized roles, each played by a large language model (LLM) with its own instructions and tools. The structure mirrors a small trading firm:

The Analyst Team gathers the raw material. There are four of them:

  • The Fundamentals Analyst reads company financials — earnings, balance sheets, performance metrics — and flags strengths and red flags.
  • The Sentiment Analyst scans social media and public chatter to gauge the short-term mood around a stock.
  • The News Analyst watches headlines and macroeconomic developments and interprets what they might mean.
  • The Technical Analyst looks at price charts and indicators like MACD and RSI, hunting for patterns.

The Researcher Team takes the analysts’ reports and fights over them. It is deliberately split into a bullish researcher, whose job is to build the strongest case for the trade, and a bearish researcher, whose job is to tear that case apart. They debate in rounds, challenging each other’s evidence.

The Trader listens to the debate and converts the winning argument into a concrete proposal: buy, sell, or hold, and how much.

The Risk Management Team reviews the trader’s proposal from several risk perspectives and can push back, shrink it, or effectively veto it.

The Portfolio Manager sits at the top, weighs everything, and issues the final decision.

How one decision flows through the firm

Say you point the system at a single stock and a date. First, all four analysts work in parallel, each producing a written report from their angle. Then the bull and bear researchers debate those reports — this structured argument is the heart of the design, because a single AI asked a direct question tends to be overconfident, while an AI forced to defend its view against an opponent has to show its work. The trader turns the outcome into a proposed trade, the risk team stress-tests it, and the portfolio manager approves, adjusts, or rejects it. Every step’s reasoning is written down, so you can read the whole chain afterwards.

Two details matter here. First, in its standard form the approved “order” goes to a simulated exchange, not a real brokerage account — the firm is playing with pretend money. Second, every “employee” is the same kind of technology underneath: an LLM generating text. The analysts, the debaters, and the risk managers are one model wearing different hats, not independent experts who arrived at their views separately.

What it is actually good for

None of the above is a criticism of the project itself, which is honest about what it is. TradingAgents is valuable as:

  • A research tool for studying how teams of AI agents reason, disagree, and reach decisions under uncertainty.
  • A teaching tool. Reading a full bull-vs-bear debate about a stock you own is a legitimate way to surface arguments you hadn’t considered — as long as you verify every factual claim yourself.
  • A template for building accountable AI workflows, where a proposal has to survive a red team and a risk check before anything happens.

That is a real contribution, and it explains the stars. What it doesn’t do is turn any of that into a reliable way to trade.

Why you shouldn’t trade on it

Its own authors say so. The project’s README states plainly that the framework “is designed for research purposes” and “is not intended as financial, investment, or trading advice.” It also warns that results vary with the choice of language model, settings, time period, and data quality. When the builders put that on the front door, believe them.

A good-looking backtest is not live trading. Projects like this are usually demonstrated on historical data, and historical tests flatter every system. The past data is clean, complete, and already known; live markets are none of those. Backtests typically ignore or understate spreads, slippage, commissions, and the fact that your order itself moves prices. They also suffer from subtler leaks — information that only became available later sneaking into “past” decisions. (TradingAgents has had to add look-ahead filtering to its data handling over successive versions, which tells you how easy that leak is.) A strategy can look brilliant rehearsing yesterday and fall apart performing tomorrow.

LLMs hallucinate — confidently, and in writing. Every report in the chain is generated text. An analyst agent can misread a financial statement, invent a plausible-sounding fact, or build a beautiful argument on a number that doesn’t exist. The debate format reduces this risk; it does not eliminate it, because the opposing researcher is the same kind of model, prone to the same kinds of errors, and a fluent, confident debater is not the same thing as a correct one. There is no point in the pipeline where anyone checks the reasoning against reality — the final “decision” is just the text that survived the argument.

You can’t rerun it. Language models are non-deterministic: ask the same question twice and you may get two different debates and two different decisions. The project’s own documentation flags this. A process you cannot reproduce is very hard to evaluate, improve, or trust with real capital.

Nothing in the loop fears loss. A human trader who is wrong loses money and learns caution. These agents lose nothing. The risk team’s “veto” is more text, generated by a model with no exposure to the consequences. Real risk management is ultimately about survival; simulated risk management is about sounding prudent.

The honest takeaway

TradingAgents is best understood as a very well-built rehearsal studio: a place to watch a trading decision get made, argued, and audited in slow motion. That is worth your attention if you want to understand where AI-assisted research is heading. It is not a signal service, not a bot to plug into your brokerage, and not evidence that AI teams can beat the market. Star counts measure developer enthusiasm, not trading results — and on this point the project’s own disclaimer and this article agree completely.

If you’re a retail trader, the part of trading that actually protects you is far less glamorous than an AI boardroom: position sizing, knowing your maximum loss before you enter, and understanding exactly what you own and why. That’s the skill our own site is built around — slow, deliberate options-selling education, with calculators that show you the numbers before you commit to anything our free options premium calculator. No agent debate required — just arithmetic you can check yourself.

This article is educational only and is not financial advice. TradingAgents is a research framework; nothing here or there is a recommendation to buy, sell, or hold any security.

Learn the seller side, with real numbers

This site is about selling options premium methodically — not letting a chatbot improvise with your money. Start with the free options premium calculator and the education articles linked from it.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *