.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
FINANCIAL_DATASETS_API_KEY
secret
For getting financial data to power the hedge fund Get your Financial Datasets API key from https://financialdatasets.ai/
OPENAI_API_KEY
secret
For running LLMs hosted by openai (GPT 5, etc.) Get your OpenAI API key from https://platform.openai.com/
ANTHROPIC_API_KEY
secret
For running LLMs hosted by anthropic (claude-4-sonnet, claude-4.1-opus, etc.) Get your Anthropic API key from https://anthropic.com/
DEEPSEEK_API_KEY
secret
For running LLMs hosted by deepseek (deepseek-chat, deepseek-reasoner, etc.) Get your DeepSeek API key from https://deepseek.com/
GROQ_API_KEY
secret
For running LLMs hosted by groq (deepseek, llama3, etc.) Get your Groq API key from https://groq.com/
GOOGLE_API_KEY
secret
For running LLMs hosted by gemini (gemini-2.5-flash, gemini-2.5-pro) Get your Google API key from https://ai.dev/
XAI_API_KEY
secret
For running LLMs hosted by xAI (Grok 4, etc.)
MOONSHOT_API_KEY
secret
For running LLMs hosted by Moonshot / Kimi (kimi-k2, kimi-latest, moonshot-v1-*) Get your Moonshot API key from…
GIGACHAT_API_KEY
secret
For running LLM GigaChat
OPENROUTER_API_KEY
secret
For running LLMs hosted by OpenRouter
AZURE_OPENAI_API_KEY
secret
For running LLMs hosted by Microsoft Azure OpenAI (gpt-4o, gpt-4o-mini, etc.) Get your Azure OpenAI API settings from https://oai.azure.com/
AZURE_OPENAI_ENDPOINT
secret
AZURE_OPENAI_DEPLOYMENT_NAME
secret
brew install flyctl && fly launch --from https://github.com/virattt/ai-hedge-fund
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/virattt/ai-hedge-fund
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/virattt/ai-hedge-fund