Create a virtual environment using Python 3.12:
python3.12 -m venv venv
Activate the virtual environment:
On Windows:
venv\Scripts\activate
On macOS/Linux:
source venv/bin/activate
Install all required dependencies:
pip install -r requirements.txt
Ensure your .env
file contains the following API keys:
- PHIDATA_API_KEY (for Phidata services)
- GROQ_API_KEY (for Groq services)
Example .env
file:
PHIDATA_API_KEY=your_phidata_api_key_here
GROQ_API_KEY=your_groq_api_key_here
After setting up the virtual environment and installing the dependencies, execute the financial_agent.py
file to run the agent:
python financial_agent.py