AI agents, Claude and ChatGPT

AI hedge fund: the GitHub project, real funds using AI, and what you can run yourself

Search for an AI hedge fund and you mostly find one open-source project: a team of AI agents named after famous investors. Here is what it does, how to run it and what it won’t do, how real funds use AI, and what you can build on your own without becoming a fund.

[

November 17, 2026

]
•
[

14

 

min to read

]

The short answer

“AI hedge fund” usually means the open-source ai-hedge-fund project on GitHub, created by Virat Singh in November 2024: a team of AI agents modeled on investors such as Warren Buffett and Charlie Munger that form views on stocks. It backtests and paper trades for learning only; it doesn’t trade real money.

What is the AI Hedge Fund project on GitHub?

ai-hedge-fund is an open-source Python project by Virat Singh, who goes by virattt on GitHub. The repository was created on November 29, 2024, carries the MIT license, and describes itself in one line: “An AI Hedge Fund Team.” Its README is just as direct about what it is for: “This is a proof of concept for an AI-powered hedge fund. The goal of this project is to explore the use of AI to make trading decisions.”

The idea that made it popular is simple to picture. Instead of one model answering “should I buy this stock?”, a group of AI agents each read the same company data in the voice of a famous investor, give a view, and a final step turns those views into a portfolio. It is a working demo of how the jobs inside a fund could be split between models.

The phrase has two other meanings, and this guide covers both. Real hedge funds use AI, from research assistants to funds where machine learning drives the decisions. And some funds are “AI hedge funds” only because they bet on AI companies. If you are here to build something yourself, the last two sections answer that directly. For the broader idea of software that reads, decides and acts for a trader, see what an AI trading agent is.

Which investor agents does AI Hedge Fund use?

The answer depends on the version. The first version, as its README described it in April 2026, listed 19 agents. A ground-up rebuild became the default on August 2, 2026, and it started with fewer, porting the rest over time.

AI Hedge Fund’s agents, version 1 and version 2
Version 1 (README of April 7, 2026)Version 2 (November 17, 2026)
Investor personasAswath Damodaran, Ben Graham, Bill Ackman, Cathie Wood, Charlie Munger, Michael Burry, Mohnish Pabrai, Nassim Taleb, Peter Lynch, Phil Fisher, Rakesh Jhunjhunwala, Stanley Druckenmiller, Warren BuffettWarren Buffett, Charlie Munger, Benjamin Graham, Peter Lynch, Stanley Druckenmiller; the other eight are on the roadmap
Other analystsValuation, Sentiment, Fundamentals and Technicals agentsA quant model for post-earnings announcement drift (PEAD); the vision document names momentum and regime detection as the kind of models to come
Decision makersA Risk Manager that sets position limits and a Portfolio Manager that makes the final callDeterministic code: portfolio construction, then hard risk limits
How you run itA Python script with tickers, a backtester, and a web appA terminal app and command line, installed as a package

Sources: the April 2026 README, the roadmap and the v2 core README. The project’s vision document adds an important caveat about the famous names: the agents are “stylized approximations” of these investors’ public philosophies, “not the actual individuals, and not endorsements.” A Buffett agent is a prompt written in Buffett’s style, not Buffett’s judgment.

Version 2 bundles agents into strategies, which it calls pods. The strategy library has four: Fundamental L/S (all five personas, long and short in equal dollars, with shorts needing Druckenmiller’s support), Deep Value (Graham leads with double weight, with Buffett and Munger, long only), Inflections (Druckenmiller and Lynch, long and short), and Earnings Drift (the PEAD model alone).

How does AI Hedge Fund turn agent views into trades?

Version 2 copies the org chart of a real multi-strategy fund. A fund splits its capital across strategies; a strategy blends the views of its models; each model, persona or quant, returns a signal: a conviction between -1 and +1 plus a written thesis. Then the code takes over. Its core README states the rule in bold: “The LLM never touches the trade. Agents form views and narrate; deterministic code sizes and places orders; risk limits are hard gates.”

A few other design choices are worth copying even if you never run it:

  • Point in time. On any simulated date the agents only see data actually filed by then, filtered on filing date rather than report period.
  • Decide at one close, trade at the next. A decision made at session T’s close executes at T+1’s close, in backtests and paper trading alike, so nothing is judged and filled at the same price.
  • Hard risk limits. The example mandate caps any single stock at 25% of equity, keeps the book unlevered, runs at half size after a 10% fall from the peak and moves to cash after 20%. It also charges a half-spread of 5 basis points and $0.005 a share on every simulated fill.
  • A ledger you can’t quietly edit. Every session is appended to a hash-chained record, so a paper fund’s history is a track record, not something reset after a bad week.

The AI remembers the future

The most interesting fix in the project’s history is about language models themselves. An LLM trained on data through some date already “knows” how a famous company did over that period. Ask it to judge NVIDIA in early 2024 and it may lean on what it remembers happened next. In September 2026 the project started hiding the ticker, industry and dates from agent prompts in backtests, and then made that the default, explaining: “A backtest is where the memory leak lives, and the default window is 78 weeks: inside the training data of every model in the picker.” This is look-ahead bias in a new form, and it applies to any backtest where an AI picks the trades. Our guide to backtesting covers the classic forms.

How do you install and run AI Hedge Fund?

As of November 17, 2026, the README’s steps are short. You need Python, a terminal, and two kinds of API key.

  1. Install the package.

    Run pipx install aihf (or uv tool install aihf, or pip install aihf). The package is called aihf; the project notes that the name ai-hedge-fund on PyPI belongs to an unrelated project, so don’t install that one by mistake. Version 2.7.2 was released on November 10, 2026, per PyPI.

  2. Add your keys when asked.

    The app asks the first time it needs them and saves them in ~/.hedge-fund/.env. It needs a Financial Datasets key for prices, fundamentals and earnings (or a Base wallet holding USDC that pays per call), plus one model key from Anthropic, OpenAI, DeepSeek, Google, xAI, Kimi or TypeSafe (Jev).

  3. Launch the app.

    Type aihf. The terminal app has two modes: backtesting, which replays a fund over history against its benchmark, and paper trading, which runs a fund on real market days with fake money, shows the exact decision before anything trades, and has a kill switch.

  4. Or script it.

    The command line runs the same engine: aihf backtest ~/.hedge-fund/mandates/example.yaml --universe AAPL,MSFT,NVDA --start 2024-01-02 --end 2024-06-28 for a backtest, and aihf paper create, tick, halt and resume for a paper fund.

One disclosure worth knowing: Financial Datasets, the data provider the README asks for, is the company Singh founded and runs as CEO, according to its Y Combinator page. That doesn’t change what the code does, but it explains the default.

If you would rather build your own agent from scratch, our guide to building an AI trading agent for onchain markets walks through the parts.

What does its disclaimer say, and does it trade real money?

No, it does not trade real money. The README says the project is “for educational purposes only and is not intended for real trading or investment,” and adds: “Note: the system does not actually make any trades.” Its disclaimer lists five points:

  • Not intended for real trading or investment.
  • No investment advice, and no promise of any result.
  • The creator assumes no liability for financial losses.
  • Consult a financial advisor for investment decisions.
  • Past performance does not indicate future results.

It closes: “By using this software, you agree to use it solely for learning purposes.”

The paper mode moves no money either. A live link to a broker is on the roadmap, listed for Interactive Brokers or Alpaca as an opt-in plugin, off by default, and not built as of November 17, 2026. The vision document puts the stance in four words: “Paper before real, always.” A planned validation gate that checks strategies for backtest overfitting is also still on the to-do list.

How do real hedge funds use AI?

First, what a hedge fund is. The SEC’s investor bulletin on hedge funds says they “pool investors’ money and invest the money in an effort to make a positive return,” that you generally must be an accredited investor to put money in, and that their managers “owe a fiduciary duty to the funds that they manage.” Here is what reported cases say about how such firms use AI, each with its date:

How hedge funds use AI, from dated reports
DateFirmWhat the AI doesSource
July 2, 2024Bridgewater AssociatesA fund of nearly $2bn from more than half a dozen clients that uses machine learning as the primary basis of its decisions, led by co-CIO Greg Jensen’s Artificial Investment Associate Labs; humans still manage risk, data and trade executionHedgeweek, citing Bloomberg
July 11, 2025Man Group (Man Numeric)AlphaGPT mines historical data, proposes rule-based signals, writes the code and backtests them; several dozen signals were approved for live trading, and senior portfolio manager Ziang Fang said “I wouldn’t call it autopilot”Hedgeweek, citing Bloomberg
August 26, 2025NumeraiAn open platform where any data scientist, or any AI, can submit stock market signals through an API; JPMorgan Asset Management invested and secured $500m in capacityNumerai
September 16, 2025150 fund managers surveyed95% said they use generative AI in their work, and 58% expect more use in their investment processes over the next yearAIMA

Two more stories belong on the list. On March 18, 2024 the SEC charged two investment advisers, Delphia and Global Predictions, with false and misleading claims about their use of AI, and they paid $400,000 in penalties between them. The SEC chair at the time called it “AI washing.” And on July 31, 2026, CNBC reported that Situational Awareness, an AI-themed hedge fund run by former OpenAI researcher Leopold Aschenbrenner, sold leveraged stock positions at a discount after semiconductor stocks fell, its holdings dropping to around $10 billion from a $45 billion peak, according to people with knowledge of the situation. That fund was an AI hedge fund in the other sense: it bet on AI companies.

The common thread: at the large firms, AI does research and proposes, people and fixed processes decide what reaches real money. Quantitative trading is the older discipline all of this builds on.

Can you run your own AI hedge fund?

In the legal sense, only by becoming a fund manager, and no app can make you one. A hedge fund manages other people’s money. That brings legal duties: the SEC bulletin above describes the fiduciary duty a manager owes, the limits on who may invest, and, depending on how much the manager advises, registering and filing public reports with the SEC. Whether and how you could manage money for others is a question for a lawyer where you live, not a software choice.

Ethy is not a hedge fund either. It doesn’t take in or pool anyone’s money, and it doesn’t make investment decisions for clients. It is software for research and analysis that you use on your own balance, which lives in a wallet that belongs to you, and it doesn’t give investment advice.

What one trader can do is run the same process a fund runs, on their own account:

  1. Research with AI.

    Ask why a market moved and get a web search with citations; ask for a chart read across the daily, 4-hour, 1-hour and 15-minute charts; schedule a morning brief.

  2. Write the rules.

    Describe the idea in plain English, and Ethy turns it into rules you can preview before anything runs.

  3. Backtest them.

    Over up to 365 days depending on the timeframe, with an optimizer that ranks settings on a training window and checks each one on a held-out test window.

  4. Paper trade.

    Run the rules on live prices with no money in paper mode, then press Go live when you are ready.

  5. Run them with loss limits.

    Once you press Activate, an automation trades by itself whenever its rules are met. Give it a stop, a max daily loss and a max drawdown in dollars; it pauses after 10 losing closes in a row by default, and you can archive it with its positions closed at any time.

How does Ethy compare with the AI Hedge Fund project?

They answer different questions. AI Hedge Fund asks how a team of AI analysts could run a fund, and lets you watch it in code. Ethy is an AI trading agent for one trader’s own account. Both are honest about their limits; here is where they differ, as of November 17, 2026.

AI Hedge Fund and Ethy compared, November 17, 2026
AI Hedge Fund (GitHub)Ethy
What it isAn open-source Python project, MIT licenseAn AI trading agent, a web app at agents.ethyai.app
How you set a strategyA YAML mandate or the terminal app’s fund builder: strategies, analysts, risk, capitalPlain English; Ethy shows the rules it built
Who forms the viewsLLM investor personas and quant modelsYou set the rules; Ethy helps research, build and test them
MarketsStocks, with prices, fundamentals and earnings from Financial DatasetsPerps on Hyperliquid’s main exchange and on trade.xyz (stocks, indices, commodities), and spot tokens
BacktestsYes, against a benchmarkYes, up to 365 days, with a held-out test window
Paper tradingYes, with a hash-chained ledgerYes, on live prices, with no money moved
Real moneyNo; a live broker is planned, opt-in and off by defaultYes, from chat or from an automation you activate, with loss limits you set
What you needPython, a terminal, a data key and a model keyA browser

What AI Hedge Fund does well is worth saying plainly: it is free to read and fork, it shows its reasoning for every decision, and its point-in-time data, next-session fills and blinded agents are more careful than most hobby backtests. If you want to study how a fund’s decisions could be split between models, clone it. If you want to test and run your own rules on your own balance, that is the job Ethy is built for. Stock perps on trade.xyz are synthetic: they track the price but carry no ownership, votes or dividends.

Summary

  • The ai-hedge-fund project on GitHub, created by Virat Singh on November 29, 2024 and MIT licensed, had 64,730 stars on November 17, 2026. It is a proof of concept for educational use.
  • Version 1 listed 19 agents, 13 of them investor personas; version 2, the default since August 2, 2026, has five personas (Buffett, Munger, Graham, Lynch, Druckenmiller) and a post-earnings drift model.
  • In version 2 the LLM agents only form views; deterministic code sizes and places orders, and hard risk limits apply. Backtests hide tickers and dates so the model can’t lean on what it remembers.
  • It doesn’t trade real money: the README says the system “does not actually make any trades,” and a live broker link is only planned, off by default.
  • Real funds use AI as researchers and, at Bridgewater, as the main decision maker of one fund, with humans running risk and execution; the SEC has fined advisers for false AI claims.
  • A hedge fund manages other people’s money under legal duties. Ethy is not a fund: one trader can research, write rules, backtest, paper trade and run automations with loss limits on their own balance.

Questions people ask

Who created the AI hedge fund project on GitHub?

Virat Singh, who goes by virattt on GitHub, created the virattt/ai-hedge-fund repository on November 29, 2024. It is MIT licensed. Singh is also the founder and CEO of Financial Datasets, the market data provider the project asks you to use, according to Y Combinator’s company page.

Is the AI Hedge Fund project free?

The code is free and open source under the MIT license. Running it needs two outside services you set up yourself: a Financial Datasets key, or a Base wallet holding USDC that pays per call, for market data, and an API key from a model provider such as Anthropic or OpenAI. Those providers bill you directly.

Does the AI Hedge Fund project trade real money?

No. Its README says it is for educational purposes only, not intended for real trading or investment, and that “the system does not actually make any trades.” Its paper mode uses fake money, and a live broker link is only on the roadmap, opt-in and off by default.

Can an AI hedge fund beat the market?

No one can promise that, and the open-source project makes no performance claim; its stated goal is to try, and to be honest when it doesn’t. Treat any AI fund or tool that advertises market-beating returns with care: in 2024 the SEC fined two advisers for false claims about their AI.

Can I invest in an AI hedge fund?

Hedge funds generally take money only from accredited investors, people who meet minimum income or asset levels, according to the SEC. Before investing in any fund that calls itself AI-driven, read its offering documents, check the manager’s registration, and ask what the AI actually decides.

Is Ethy an AI hedge fund?

No. Ethy is not a fund: it doesn’t take in or pool anyone’s money. It is an AI trading agent, software for research and analysis that you use on your own balance: you research markets, write rules in plain English, backtest them, paper trade, and run automations with loss limits you set.

Sources

  1. virattt/ai-hedge-fund on GitHub (repository, created November 29, 2024)github.com
  2. AI Hedge Fund: README (disclaimer, install, run)github.com
  3. AI Hedge Fund: v2 core README (architecture and principles)github.com
  4. AI Hedge Fund: VISION.mdgithub.com
  5. AI Hedge Fund: ROADMAP.mdgithub.com
  6. AI Hedge Fund: example mandate (risk limits and costs)github.com
  7. AI Hedge Fund: strategy librarygithub.com
  8. AI Hedge Fund: README of April 7, 2026 (version 1 and its 19 agents)github.com
  9. AI Hedge Fund commit: Make 2.0.0 the default (August 2, 2026)github.com
  10. AI Hedge Fund commit: keep the ticker, industry and dates out of LLM agent prompts (September 25, 2026)github.com
  11. AI Hedge Fund commit: blind the investor agents in every backtest (September 25, 2026)github.com
  12. AI Hedge Fund commit: rename the package to aihf (August 7, 2026)github.com
  13. PyPI: aihfpypi.org
  14. Y Combinator: Financial Datasetsycombinator.com
  15. SEC Office of Investor Education and Advocacy: Investor Bulletin, Hedge Funds (2012)sec.gov
  16. SEC press release 2024-36: two investment advisers charged over false statements about their use of AI (March 18, 2024)sec.gov
  17. Hedgeweek: Bridgewater launches $2bn machine learning-driven fund (July 2, 2024)hedgeweek.com
  18. Hedgeweek: Man Group deploys agentic AI for quant signal discovery (July 11, 2025)hedgeweek.com
  19. Numerai: JPMorgan secures $500m capacity in Numerai (August 26, 2025)blog.numer.ai
  20. AIMA: front-office Gen AI adoption shifts from if to when (September 16, 2025)aima.org
  21. CNBC: How Leopold Aschenbrenner built a $45 billion AI hedge fund, and lost most of it in days (July 31, 2026)cnbc.com

Trading involves risk, including the loss of your money. Ethy AI is a research and trading tool and does not give investment advice or recommendations. Backtests are simulations on historical data and do not predict future results.

Ethy blog

Read more

The $ETHY ecosystem

Stop watching charts.
Start living.

Deploy your AI trading agent in one click.