What is FinancialAssistant?
FinancialAssistant is a smart financial assistant that uses LLMs and a modular agent-based architecture to help users calculate emergency funds, evaluate savings capacity, get investment suggestions, and discuss financial education. It integrates external APIs for financial calculations and uses the LLM to explain results in a clear, empathetic, and personalized way.
How to use FinancialAssistant?
Clone the repository, create a Python 3.10+ virtual environment, install dependencies with pip install -r requirements.txt, set the GOOGLE_API_KEY and MCP_SERVER_URL in a .env file, then run python main.py to start the assistant.
Key features of FinancialAssistant
- Four specialized agents: Generic, Emergency Fund, Savings, and Investment.
- LLM-powered router detects user intent and directs to the correct agent.
- Conversational graph (LangGraph) maintains multi‑turn dialogue.
- External API tools calculate monthly expenses, ideal reserve, savings capacity, and investment suggestions.
- Google Gemini used as the underlying LLM (via
langchain_google_genai).
- Empathetic, human‑friendly explanation of all financial calculations.
Use cases of FinancialAssistant
- Calculating the ideal size of an emergency fund based on monthly expenses.
- Analyzing monthly spending to determine how much a user can save.
- Getting personalized investment suggestions aligned with the user’s financial profile.
- Learning the basics of personal finance through natural conversation.
コメント