Skip to content

SDG 8 Hackathon Entry: Financial literacy portal with Google Gemini AI, RAG chatbot & multi-agent guidance

Notifications You must be signed in to change notification settings

zaidshaikh987/Frontend_Development_with_AI_Hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ArthAstra ๐Ÿš€ - Smart Financial Literacy Portal with AI Guidance

> Your Intelligent Financial Education Companion

SDG 8 โ€“ Decent Work & Economic Growth | Problem #19

ArthAstra is an AI-powered financial literacy portal that empowers every Indian to master their finances. Using Google's Agent Development Kit (ADK) and multi-agent AI systems, it provides personalized financial education on credit scores, budgeting, debt management, and smart money decisions. With voice-first accessibility in Hindi/English, ArthAstra makes financial literacy accessible to all.


๐ŸŽฏ Problem Statement Alignment

SDG 8 - Problem #19: "Smart financial literacy portal frontend with AI guidance"

Requirement ArthAstra Solution
Smart Portal Modern Next.js 16 dashboard with glassmorphism UI
Financial Literacy Credit score education, DTI/LTV explanations, budgeting guidance
AI Guidance Multi-Agent AI (Financial Council, Recovery Squad), RAG-powered chatbot
Frontend Focus 100% frontend-driven with React, Framer Motion animations

๐Ÿ† Executive Summary

ArthAstra is not just an app; it is an Intelligent Financial Education Platform. The combination of Voice Accessibility, Multi-Agent AI Guidance, and Interactive Learning Tools makes financial literacy accessible to every Indian.

1. ๐Ÿ“š Financial Learning Tools

Core features that teach users about personal finance.

Feature Status What It Teaches
Credit Score Optimizer ๐Ÿš€ Innovative How credit scores work through "What-If" simulations. "If I pay โ‚น20k debt, my score improves by 15%"
Eligibility Analyzer ๐Ÿ“Š Detailed Explains DTI (Debt-to-Income), LTV ratios, and what banks look for
Multi-Goal Planner ๐ŸŽฏ Strategic Teaches financial sequencing - when to save, borrow, or invest
Peer Insights ๐Ÿ‘ฅ Gamified "You're doing better than 78% of similar profiles" - motivates learning

2. ๐Ÿค– AI-Powered Guidance System

Multi-Agent AI that provides personalized financial education.

Feature Status How It Guides
Recovery Squad ๐Ÿฉบ Educational 3-agent pipeline that explains WHY financial issues occur and HOW to fix them
Financial Council โš–๏ธ Advisory Simulates bank committees - Optimist vs Pessimist debate teaches decision-making
RAG Chatbot ๐Ÿ’ฌ Contextual Answers questions using RBI guidelines, tax rules - factually grounded advice
Document Vision ๐Ÿ‘๏ธ Intelligent AI explains what valid documents look like, detects common mistakes

3. ๐Ÿ—ฃ๏ธ Accessibility for All Indians

Voice-first design for inclusive financial education.

Feature Status Accessibility Impact
Bilingual Voice AI ๐ŸŽ™๏ธ Game Changer Users learn in Hindi or English. Understands "5 Lakh" and "Pachaas Hazaar"
Voice Navigation ๐Ÿงญ Hands-Free "Explain my credit score" navigates and teaches simultaneously
Simple UI โœจ Intuitive Glassmorphism design with clear visual explanations

4. ๐Ÿ“– Interactive Learning Center

Structured educational content with real video lessons.

Feature Status Learning Experience
Learning Modules ๐ŸŽฌ Video-based 4 modules with 13+ lessons, embedded YouTube videos from experts (Ankur Warikoo, CA Rachana Ranade)
Financial Quiz ๐ŸŽฎ Gamified 10 interactive questions with explanations, score tracking, and achievements
Progress Tracking ๐Ÿ“Š Persistent Completion badges, circular progress indicators, localStorage persistence
Content Categories ๐Ÿ“š Comprehensive Credit Scores, Budgeting (50-30-20), Loans & EMI, Investment Basics

๐Ÿง  AI Architecture: The 4-Level Learning System

ArthAstra uses a 4-Layer Cognitive Architecture to provide intelligent financial education.

Level 1: Perception & Knowledge (Vision + RAG)

The system "Sees" and "Knows".

  • ๐Ÿ‘๏ธ Document Vision: Uses gemini-2.5-flash to analyze documents, teaching users about validity and common issues
  • ๐Ÿ“š RAG Brain: Uses text-embedding-004 to retrieve knowledge from RBI guidelines, tax rules for accurate guidance

Level 2: Analytic Reasoning (The Investigator)

Teaches by explaining the "Why".

  • Role: Analyzes user's financial data
  • Teaching Method: Explains each factor (DTI, credit history, employment stability)
  • Output: Educational breakdown of financial health

Level 3: Strategic Planning (The Negotiator & Architect)

Provides actionable learning paths.

  • The Negotiator: Teaches how to present financial strengths
  • The Architect: Creates personalized roadmaps: "Save โ‚น5k/month for 6 months โ†’ Score hits 750"

Level 4: Adversarial Judgment (The Financial Council)

Teaches balanced decision-making.

  • โšก The Optimist: Shows potential and opportunities
  • ๐Ÿ”’ The Pessimist: Highlights risks to understand
  • โš–๏ธ The Judge: Demonstrates how balanced financial decisions are made

๐Ÿ”ง AI Tools Used

Technology Purpose
Google Gemini 2.5 Flash Multi-agent reasoning, document vision, chat
Google Text-Embedding-004 RAG embeddings for knowledge retrieval
Google Agent Development Kit (ADK) Multi-agent orchestration (Council, Recovery Squad)
Web Speech API Voice recognition for accessibility

โšก Demo Mode vs Real AI Mode

ArthAstra includes a DEMO_MODE toggle for hackathon presentations and testing, significantly reducing API costs.

Mode Setting Behavior
Demo Mode DEMO_MODE = true Returns pre-computed, cached AI responses instantly. Zero API calls.
Real AI Mode DEMO_MODE = false Full Gemini API integration with live multi-agent responses.

How to Toggle:

// In: app/api/chat/route.ts, app/api/council-meeting/route.ts, app/api/rejection-recovery/route.ts

const DEMO_MODE = true   // For demos (no API usage)
const DEMO_MODE = false  // For real AI (requires GOOGLE_API_KEY)

Benefits of Demo Mode:

  • โœ… Zero API costs during testing and demos
  • โœ… Instant responses - no network latency
  • โœ… Consistent results for reproducible demos
  • โœ… Works offline - no API key needed

When to Use Real Mode:

  • ๐Ÿ”ฅ Production deployment
  • ๐Ÿงช Testing new AI features
  • ๐Ÿ“Š Evaluating actual Gemini responses

๐Ÿ—๏ธ Technical Stack

Component Technology
Frontend Next.js 16, React 19, TypeScript
Styling Tailwind CSS, Glassmorphism, Framer Motion
AI Backend Google GenAI SDK, Vertex AI
Deployment Google Cloud Run (Serverless)

๐Ÿ“‚ Project Structure

โ”œโ”€โ”€ app/                    # Next.js App Router
โ”‚   โ”œโ”€โ”€ api/               # AI API endpoints
โ”‚   โ”‚   โ”œโ”€โ”€ chat/          # RAG-powered chatbot
โ”‚   โ”‚   โ”œโ”€โ”€ council-meeting/   # Financial Council AI
โ”‚   โ”‚   โ””โ”€โ”€ rejection-recovery/ # Recovery Squad AI
โ”‚   โ””โ”€โ”€ dashboard/         # Learning dashboard pages
โ”œโ”€โ”€ components/            # React UI components
โ”‚   โ”œโ”€โ”€ dashboard/         # Credit optimizer, eligibility, insights
โ”‚   โ””โ”€โ”€ landing/           # Hero section, features
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ agents/            # Multi-agent definitions (ADK)
โ”‚   โ”œโ”€โ”€ ai/                # Vision, embeddings, RAG
โ”‚   โ”œโ”€โ”€ tools/             # Financial calculators
โ”‚   โ””โ”€โ”€ knowledge/         # Company knowledge base
โ””โ”€โ”€ docs/                  # Documentation

๐Ÿš€ Quick Start

  1. Clone & Install:

    git clone https://github.com/your-repo/arth-astra.git
    npm install
  2. Environment Setup:

    GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_key
  3. Run:

    npm run dev

๐ŸŒ Live Demo

Deployed on Netlify: [https://arthastra.netlify.app]


๐Ÿ“Š Evaluation Criteria Alignment

Criteria Weight How ArthAstra Meets It
Alignment with Track 25% Direct match: AI-powered financial literacy portal with voice accessibility
Innovation & Creativity 25% Multi-Agent AI (Council debates), What-If credit simulator, Bilingual voice
Technical Strength 30% Next.js 16, Google ADK, Gemini Vision, RAG, Production-ready code
Real-world Relevance 20% Addresses India's financial literacy gap, Hindi/English accessibility

๐Ÿ‘ฅ Team

Built with โค๏ธ for the Frontend Development using AI 2026 Hackathon


Empowering every Indian to master their finances through AI-powered education.

About

SDG 8 Hackathon Entry: Financial literacy portal with Google Gemini AI, RAG chatbot & multi-agent guidance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages