#2323rd of 80 in Agent platformsFor finance and business, trading, stocks and crypto, finance and accounting

ai-hedge-fund

Terminal app that paper-trades and backtests LLM-driven investor agents on stocks

Stars
64.6k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 30 weeks+12,242
13 Apr 2026: 52,389 stars20 Apr 2026: 55,727 stars27 Apr 2026: 56,616 stars4 May 2026: 57,213 stars11 May 2026: 57,758 stars18 May 2026: 58,165 stars25 May 2026: 58,458 stars1 Jun 2026: 58,925 stars8 Jun 2026: 59,196 stars15 Jun 2026: 59,456 stars22 Jun 2026: 59,827 stars29 Jun 2026: 60,082 stars6 Jul 2026: 60,334 stars13 Jul 2026: 61,087 stars20 Jul 2026: 61,805 stars27 Jul 2026: 61,985 stars3 Aug 2026: 62,191 stars10 Aug 2026: 62,372 stars17 Aug 2026: 62,587 stars24 Aug 2026: 62,712 stars31 Aug 2026: 62,826 stars7 Sept 2026: 62,996 stars14 Sept 2026: 63,125 stars21 Sept 2026: 63,429 stars28 Sept 2026: 63,595 stars5 Oct 2026: 63,728 stars12 Oct 2026: 63,870 stars19 Oct 2026: 64,045 stars26 Oct 2026: 64,253 stars2 Nov 2026: 64,441 stars9 Nov 2026: 64,631 stars

52,389 on 13 Apr 202664,631 on 9 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Python terminal app (installed as `aihf`) where LLM investor agents make trading decisions for funds you define with strategies, capital, cadence and tickers. It supports paper trading over real market days with a hash-chained ledger and an approval step, plus backtesting against a benchmark. It never places real trades and is stated to be for educational use only.

Who it is for: Developers exploring LLM-driven trading strategies in simulation

Strengths

  • Installs with pipx, uv or pip; API keys are prompted for and saved to ~/.hedge-fund/.env
  • Paper-trading sessions go into a hash-chained ledger, so NAV is an auditable record
  • Approval step shows the exact decision before a paper trade executes; kill switch included
  • Backtests replay a fund over history against a benchmark; fund definitions carry no tickers

Weaknesses

  • Does not execute real trades; no broker integration
  • Requires a Financial Datasets API key for prices, fundamentals and earnings
  • Needs a hosted model API key; local models are not listed as supported
  • Terminal UI only; no web interface or Docker image

What it needs

  • no GPU
  • Needs Financial Datasets API key, LLM provider API key
  • Models: Anthropic, OpenAI, DeepSeek, Google, xAI

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Quick answers

Is ai-hedge-fund open source?

Yes. Its code is on GitHub under the MIT license.

Does ai-hedge-fund need a GPU?

No, it runs without one.

Also in Agent platforms

See all 80
Also in Agent platforms
RankProjectScore
1AutoGPTRole-based AI agents coordinated by one lead agent, plus a visual workflow builder Live demo ↗ (opens in a new tab)188k stars+853 (+0.5%) in 30 dayscustom license95 out of 100
2daily_stock_analysisLLM-driven daily analysis of watchlist stocks across six markets, pushed to chat apps69.9k stars+3,683 (+5.6%) in 30 daysMIT95 out of 100
3LangflowVisual builder for AI agents and workflows, exposed as API or MCP server156.5k stars+1,251 (+0.8%) in 30 daysMIT94 out of 100
#4deer-flowAgent harness running sub-agents, memory and sandboxes with pluggable skills85.2k stars+1,752 (+2.1%) in 30 daysMIT93 out of 100
#5DifyVisual builder for LLM workflows, RAG pipelines and agents, with APIs Live demo ↗ (opens in a new tab)161k stars+3,111 (+2.0%) in 30 dayscustom license92 out of 100