A newer version of the Gradio SDK is available:
5.42.0
license: mit
title: Personal Finance Advisor
sdk: gradio
emoji: ๐
colorFrom: blue
colorTo: purple
๐ Vittaลฤstra - AI Strategist Enhanced
Agentic Demo Showcase โ Track 3 Entry
Agent-Based Financial Advisor Using LlamaIndex, Nebius AI, and Economic Data
Built by: [Devavrat Samak]
Tech Stack: LlamaIndex | meta-llama/Meta-Llama-3.1-70B-Instruct-fast (Nebius) | Modal Labs | Gradio | World Bank & Yahoo Finance APIs
Hackathon Track
This submission is for: Track 3: Agentic Demo Showcase
agent-demo-track
- We use a multi-agent system to:
- Analyze user financial profile
- Enrich with demographic insights
- Fetch live economic indicators
- Generate personalized investment strategy
๐ Overview
This agentic system provides intelligent, context-aware investment strategies based on:
Feature | Description |
---|---|
User Profile | Age group, income, expenses, risk tolerance, goal, timeframe |
Demographic Insights | Life stage, liquidity needs, planning horizon |
Economic Analysis | Inflation, interest rates, GDP growth, market trends |
Tax Awareness | Country-specific tax rules from India and G7 countries, i.e. USA, UK, Canada, Germany, France, Italy, Japan |
Strategy Generation | Asset allocation, recommended instruments, monthly savings plan |
How It Works: The Agentic Framework
Agent Flow
Each agent uses natural language reasoning and external tools to build the final strategy.
Agents
Agent | Role |
---|---|
Input Analyzer | Parses free-form input into structured profile |
Demographic Profiler | Maps life stage, liquidity needs, planning horizon |
Net Worth Checker | Identifies existing investments and assets |
Financial Literacy Detector | Determines complexity level of advice |
Economic Analyst | Gathers inflation, interest rate, GDP, and market trend |
Strategy Advisor | Generates final investment plan |
Technical Architecture
Core Components
Component | Purpose |
---|---|
LlamaIndex | Manages agent orchestration and reasoning flow |
meta-llama/Meta-Llama-3.1-70B-Instruct | Generates human-readable investment strategy |
World Bank API | Provides inflation and GDP data |
Yahoo Finance | Detects market trend (bullish/bearish) |
Hardcoded Interest Rates | For major countries (USA, India, UK, etc.) |
Country Tax DB | Applies local tax logic to optimize portfolio |
Modal Labs | Hosts backend as ASGI endpoint |
Gradio | Frontend interface on Hugging Face Spaces |
Features
Feature | Status |
---|---|
โ Multi-Agent Workflow | LlamaIndex-based |
โ Country Support | India, USA, UK, Canada, Germany, France, Italy, Japan |
โ Economic Indicators | Inflation, Interest Rate, GDP Growth, Market Trend |
โ Tax-Aware Advice | Yes โ country-specific |
โ Risk Tolerance Mapping | Conservative / Moderate / Aggressive |
โ Markdown Strategy Output | Clean, formatted response |
๐น Video Walkthrough
๐ฌ [https://youtu.be/5UKDNWHW90A]
Credits
Built with โค๏ธ by [Devavrat Samak]
For Hugging Face Gradio Hackathon 2025 โ Track 3: Agentic Demo Showcase
Model: meta-llama/Meta-Llama-3.1-70B-Instruct-fast (Nebius AI)
Backend: Modal Labs
Frontend: Hugging Face Gradio
Thank You! If you're reading this โ thank you for checking out our project. We hope you found it insightful and well-built.