Deployment Guide
π Online Access
No hosted version available - You need to deploy locally.
π€ LLM Deployment (Recommended)
Copy this prompt to your LLM:
Prompt
"Help me deploy AI Hedge Fund locally:
1. Clone: https://github.com/virattt/ai-hedge-fund
2. Set up API key (I have OPENAI_API_KEY)
3. Run the web application
4. Test with a simple stock analysis
Provide exact commands for Mac/Linux."
π Manual Deployment Options
Option 1: Web App (Visual Interface)
Bash
git clone https://github.com/virattt/ai-hedge-fund.git
cd ai-hedge-fund
cp .env.example .env
# Add: OPENAI_API_KEY=your-key-here
cd app && ./run.sh
Access: http://localhost:5173
Option 2: CLI Only
Bash
git clone https://github.com/virattt/ai-hedge-fund.git
cd ai-hedge-fund
cp .env.example .env
# Add: OPENAI_API_KEY=your-key-here
poetry install
poetry run python src/main.py --ticker AAPL
π API Keys (Pick One)
- OpenAI: https://platform.openai.com/
- Groq: https://groq.com/ (Free)
- Anthropic: https://anthropic.com/
π Quick Fixes
Port in use: lsof -ti:8000 | xargs kill -9
Module error: poetry install --no-cache