MCPcopy Create free account
hub / github.com/TauricResearch/TradingAgents

github.com/TauricResearch/TradingAgents

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow · compare 8 versions
1,330 symbols 3,901 edges 174 files 376 documented · 28% ● updated 7d agov0.7.1 · 2026-10-27★ 123,62952 open issues

Browse by type

⨍ Functions 1,242◇ Types & classes 88
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

  <img src="https://github.com/TauricResearch/TradingAgents/raw/v1.0.0/assets/tauric-logo.svg" alt="Tauric Research" width="60%">

arXiv X GitHub YouTube Website

TradingAgents #1 Repository of the Day

English | Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文

TradingAgents: Towards Agentic Finance Research

TradingAgents researching a question in the terminal

Quick start

1. Get an 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

What TradingAgents can call on: the main agent's tools, its data and compute tools, its agents and its skills

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.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 1,004
Method 238
Class 66
Interface 22

Languages

TypeScript100%

Modules by API surface

src/data/capabilities.ts43 symbols
src/engine/session.ts41 symbols
src/data/tauric/client.ts40 symbols
src/models/chatgpt-auth.ts33 symbols
src/engine/engine.ts32 symbols
src/cli/transcript-state.ts29 symbols
src/compute/expression.ts28 symbols
src/cli/Transcript.tsx26 symbols
src/compute/optimize.ts25 symbols
src/cli/setup/setup-flows.ts25 symbols
src/tools/registry.ts23 symbols
src/engine/delegation.ts23 symbols

Dependencies from manifests, versioned

@ai-sdk/anthropic4.0.106 · 1×
@ai-sdk/deepseek3.0.88 · 1×
@ai-sdk/google4.0.122 · 1×
@ai-sdk/openai4.0.121 · 1×
@ai-sdk/openai-compatible3.0.93 · 1×
@biomejs/biome2.6.8 · 1×
@types/bun1.4.4 · 1×
@types/node22.20.5 · 1×
@types/pdfkit0.17.7 · 1×
@types/react19.3.0 · 1×
@types/semver7.8.0 · 1×

For agents

$ claude mcp add TradingAgents \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page