Welcome to FinSight Agents Suite, your ultimate financial decision-making platform. Our suite of advanced tools helps you derive strategic Investment plans, assess Credit Risk, and forecast Earnings Per Share (EPS) with confidence. Our sophisticated multi-agent system leverages advanced machine learning algorithms and large language models (LLMs) to provide precise and actionable financial insights.
The FinAgents Suite is designed to provide comprehensive Financial Analysis and decision-making capabilities through various modules:
Enter any company name listed in the stock market (in Ticker) to derive strategic investment plans. Our team of multi-agents combines the expertise of a Research Analyst, Financial Analyst, and Investment Advisor, who work collaboratively to analyze and synthesise data, ensuring you receive comprehensive and reliable investment strategies with the best-informed decisions.
This tool predicts the credit risk categories for loan applicants based on their financial and personal data. Using advanced machine learning algorithms, it provides a clear and intuitive way to assess and manage credit risk, helping you make informed lending decisions. Make data-driven decisions with confidence using our AI-Driven Predictive Credit Risk Engine!
Predict the Earnings Per Share (EPS) for banks using key financial indicators. This tool provides an AI-generated analysis to offer deeper insights into the financial health of banks and performance-based suggestions.
-
MultiAgent Finance Consultant: Strategic Investment planning with a team of multi-agents combining the expertise of a Research Analyst, Financial Analyst, and Investment Advisor.
-
AI-Driven Predictive Credit Risk Engine: Assess and manage credit risk with advanced ML algorithms.
-
EPS Forecasting: Predict EPS for banks using financial indicators and obtain an analysis and synthesis of the data.
- Python 3.8+
- Install dependencies from
requirements.txt
- Obtain API keys for external services (ScrapingAnt, Serper, NVIDIA)
-
Clone the repository:
git clone https://github.com/praj2408/FinAgents-Suite.git cd FinAgents-Suite
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your environment variables by creating a
.env
file in the root directory and adding your API keys:NVIDIA_API_KEY=<your_nvidia_api_key> #https://build.nvidia.com/explore/discover#llama3-70b SERPER_API_KEY=<your_serper_api_key> #https://serper.dev/ SCRAPINGANT_API_KEY=<your_scrapingant_api_key> #https://app.scrapingant.com/
Run the main file to start the application:
streamlit run FinSight Agents_Suite.py
Here's an overview of the project's structure:
FinSight Agents_Suite/
βββ eps_app/
β βββ __pycache__/
β βββ __init__.py # Initializes the EPS application module.
β βββ chat.py # Contains the chat functionality for user interactions.
β βββ model.py # Implements the model for EPS forecasting.
βββ models/
β βββ credit_risk.sav # Pre-trained model for credit risk assessment.
β βββ eps_xgboost.sav # Pre-trained XGBoost model for EPS forecasting.
βββ pages/
β βββ 1_MultiAgent_Finance_Consultant.py # Streamlit page for MultiAgent Finance Consultant.
β βββ 2_EPS_Forecaster.py # Streamlit page for EPS Forecaster.
β βββ 3_Predictive_Credit_Risk.py # Streamlit page for Predictive Credit Risk Engine.
βββ tools/
β βββ __pycache__/
β βββ browser_tools.py # Contains tools for web scraping and summarization using ScrapingAnt and LLMs.
β βββ calculator_tools.py # Provides a tool for mathematical calculations.
β βββ search_tools.py # Implements internet search functionalities using Serper API.
βββ venv/ # Virtual environment for the project.
βββ .env # Environment variables for API keys and other configurations.
βββ agents.py # Defines various agents like financial analyst, research analyst, and investment advisor. These agents use tools like ScrapingAnt, Serper API, and Yahoo Finance for data analysis.
βββ FinSight Agents_Suite.py # Main Streamlit interface to access the whole app.
βββ README.md # Project's README file.
βββ requirements.txt # Lists all the dependencies required for the project.
βββ tasks.py # Contains predefined tasks for stock analysis, financial analysis, filings analysis, and investment recommendations. Each task leverages the multi-agent system for comprehensive analysis.
-
eps_app/
- init.py:
- Initializes the EPS application module, setting up the necessary imports and configurations for the other files within the
eps_app
directory.
- Initializes the EPS application module, setting up the necessary imports and configurations for the other files within the
- chat.py:
- Contains the chat functionality for user interactions within the EPS application. It manages the conversation flow and integrates with the model to provide EPS forecasts based on user inputs.
- model.py:
- Implements the model for EPS forecasting. It includes the logic for loading pre-trained models, processing input data, and generating EPS predictions.
- init.py:
-
models/
- credit_risk.sav:
- Pre-trained model for credit risk assessment. This model is used by the Predictive Credit Risk Engine to evaluate the creditworthiness of loan applicants based on their financial and personal data.
- eps_xgboost.sav:
- Pre-trained XGBoost model for EPS forecasting. This model is utilized by the EPS Forecaster tool to predict Earnings Per Share for banks using key financial indicators.
- credit_risk.sav:
-
pages/
- 1_MultiAgent_Finance_Consultant.py:
- Streamlit page for the MultiAgent Finance Consultant tool. This file sets up the user interface and integrates the functionalities of the research analyst, financial analyst, and investment advisor agents to provide strategic investment plans.
- 2_EPS_Forecaster.py:
- Streamlit page for the EPS Forecaster tool. It presents the interface for users to input financial data and receive EPS predictions generated by the pre-trained model.
- 3_Predictive_Credit_Risk.py:
- Streamlit page for the Predictive Credit Risk Engine. This file provides the interface for assessing the credit risk of loan applicants, utilizing the pre-trained credit risk model.
- 1_MultiAgent_Finance_Consultant.py:
-
tools/
- browser_tools.py:
- Contains tools for web scraping and summarization using ScrapingAnt and LLMs. It enables the scraping of website content, partitioning HTML elements, and summarizing the extracted data.
- calculator_tools.py:
- Provides a tool for mathematical calculations. This utility can perform basic arithmetic operations and is used across various components for calculations.
- search_tools.py:
- Implements internet search functionalities using the Serper API. It includes tools for general web searches and news-specific searches, returning relevant results for user queries.
- browser_tools.py:
-
venv/:
- Virtual environment for the project, containing all the necessary dependencies and packages required for running the FinAgents Suite application.
-
.env:
- Stores API keys and other environment variables. This file ensures that sensitive information, such as API credentials, is securely managed and not hard-coded within the application code.
-
agents.py:
- Defines various agents like the financial analyst, research analyst, and investment advisor. These agents use tools like ScrapingAnt, Serper API, and Yahoo Finance for data analysis and generating comprehensive investment recommendations.
-
FinAgents_Suite.py:
- Main Streamlit interface to access the whole app. This file sets up the overall layout, integrates different modules, and provides a seamless user experience for interacting with the FinAgents Suite tools.
-
README.md:
- Project's README file. It contains a detailed introduction, overview of each tool, features, getting started instructions, project structure, detailed descriptions of files, contributing guidelines, license information, acknowledgements, and contact details.
-
requirements.txt:
- Lists all the dependencies required for the project. This file ensures that all the necessary Python packages are installed for the application to run smoothly.
-
tasks.py:
- Contains predefined tasks for stock analysis, financial analysis, filings analysis, and investment recommendations. Each task leverages the multi-agent system for comprehensive analysis, ensuring that users receive well-informed and data-driven insights.
Special thanks to all contributors and the open-source community for their invaluable support.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please extend your contributions by forking the repository and submitting pull requests to contribute.
For any queries or further information, please contact us at Prajwal Krishna
For access to the private AWS ECR and Docker repository for project demo/trial, please reach out via same contact window above.