Finance AI Agent is an intelligent financial assistant that fetches the latest analyst recommendations and news for a given stock symbol. It utilizes AI models and APIs to provide real-time market insights in a structured and explainable manner.
- Retrieves analyst recommendations for a given stock.
- Summarizes recent financial news.
- Uses AI-based automation for data retrieval and response generation.
- Interactive chatbot-like response.
- Programming Language: Python
- Framework: AI-powered automation (phi/agent)
- APIs Used: GROQ API, Financial Market Data APIs
- Environment Management: Python Virtual Environment (venv)
$ git clone https://github.com/the-madhankumar/FinanceAgent.git
$ cd finance-ai-agent$ python -m venv env
$ source env/bin/activate # On macOS/Linux
$ env\Scripts\activate # On Windows$ pip install -r requirements.txtEnsure that your GROQ_API_KEY is properly set in your environment variables or in a .env file.
$ setx GROQ_API_KEY "your-api-key-here"Create a .env file in the project directory and add:
GROQ_API_KEY=your-api-key-here$ python financial_agent.pyOnce the script is running, you can interact with it using natural language queries:
Summarize analyst recommendation and share the latest news for NVDA- A structured table containing analyst recommendations, price targets, and dates.
- A brief summary of the latest financial news related to the requested stock.
- Ensure the API key is correctly set as an environment variable or in the
.envfile. - Restart your terminal or IDE after setting the environment variable.
- Run the following command to verify:
$ echo %GROQ_API_KEY% # Windows $ echo $GROQ_API_KEY # macOS/Linux
If you face errors related to missing packages, try reinstalling:
$ pip install -r requirements.txt --force-reinstall- MADHAN KUMAR M - Project Lead
This project is licensed under MIT License.
If you have any questions or need further assistance, feel free to reach out! 🚀