This project is a Financial AI Analyst that uses multiple AI agents to fetch and analyze financial data. The agents can search the web, fetch stock prices, and provide financial analysis.
The project requires the following Python packages:
phidata
python-dotenv
yfinance
packaging
duckduckgo-search
fastapi
uvicorn
groq
openai
-
Clone the repository:
https://github.com/SURESHBEEKHANI/Financial-Analyst-AI-Multi-Agent-System.git cd financial-ai-analyst -
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows, use `env\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the project directory and add your API keys:PHI_API_KEY=your_phi_api_key openai_api_key=your_openai_api_key
To run the financial agent, use the following command:
python financial_agent.pyTo run the playground app, use the following command:
python playground.pyThe Web Search Agent searches the web for information using the DuckDuckGo tool.
The Financial Agent fetches financial data such as stock prices, analyst recommendations, stock fundamentals, and company news using the YFinanceTools.
The Multi-Agent System combines the Web Search Agent and the Financial Agent to provide comprehensive financial analysis.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.