virattt / ai-hedge-fund
Get started
Taken from the repository's own files on 23 Oct 2026. RepoPilot has not run these commands.
Prerequisites
The files RepoPilot read do not name a runtime version or package manager.
Commands
Makefile| Task | Run | What it runs |
|---|---|---|
| dev | make dev | poetry run watchfiles \ && "poetry run textual run --dev hedge_fund.tui.app:HedgeFundApp" hedge_fund |
| test | make test | poetry run pytest hedge_fund/ |
Install and use
README.mdpipx install aihf
(or uv tool install aihf, or pip install aihf into an environment of your choice)
Then run it from anywhere:
aihf
API keys
The app asks for keys the first time it needs them and saves them to ~/.hedge-fund/.env — nothing to configure up front. It needs:
- A Financial Datasets API key, for prices, fundamentals, and earnings.
- One model API key for the investor agents. Supported providers: Anthropic, OpenAI, DeepSeek, Google, xAI, Kimi, TypeSafe (Jev).
Keys exported in your shell always win over the saved file.