Skip to content

Niss54/Right

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Adhikaar (ΰ€…ΰ€§ΰ€Ώΰ€•ΰ€Ύΰ€°)

Next.js LiveKit Groq License

India's First AI Welfare Copilot
Voice-first AI assistant that helps Indian citizens discover and apply for government welfare schemes in their native language.

Repository Β· Deployment


✨ Features

Feature Description
πŸŽ™οΈ Voice-First AI Talk to the assistant in Hindi, English, or 10+ Indian languages
πŸ›οΈ 4,600+ Schemes Access to government welfare schemes via myScheme.gov.in API
πŸ€– AI Form Filling Autonomous browser automation that fills government forms
πŸ“„ OCR Document Parsing Extract information from Aadhaar, PAN, and other documents
πŸ”Š Real-Time Voice LiveKit-powered voice calls with human-like responses
🌐 Multi-Language Supports Hindi, English, Tamil, Telugu, Bengali, Marathi, Gujarati, Kannada, Malayalam, Punjabi, Odia
πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Family Mode Apply for schemes for your entire family
πŸ“Š Application Tracker Dashboard to track all submitted applications

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                              USERS                                   β”‚
β”‚                    (Web App, Voice Call)                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚                    β”‚                    β”‚
         β–Ό                    β–Ό                    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Next.js 16    β”‚  β”‚   LiveKit       β”‚  β”‚   Sarvam AI     β”‚
β”‚   Frontend      β”‚  β”‚   Cloud Hosted  β”‚  β”‚   STT/TTS       β”‚
β”‚   (Vercel)      β”‚  β”‚   Voice Agent   β”‚  β”‚   (Indian Lang) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                    β”‚
         β”‚            β”Œβ”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”
         β”‚            β”‚               β”‚
         β–Ό            β–Ό               β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    API Layer                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  Groq   β”‚  β”‚ Gemini  β”‚  β”‚   myScheme.gov.in   β”‚  β”‚
β”‚  β”‚  LLM    β”‚  β”‚ Vision  β”‚  β”‚   (4600+ schemes)   β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Automation Layer (Playwright)           β”‚
β”‚         AI-powered universal form filler            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Tech Stack

Frontend

Backend / Agent

External APIs


πŸš€ Getting Started

Prerequisites

Quick Start

# 1. Clone the repository
git clone https://github.com/your-username/adhikaar.git
cd adhikaar

# 2. Setup Frontend
cd frontend
cp .env.example .env.local
# Edit .env.local with your API keys
npm install
npm run dev

Voice Agent (Local Development)

cd agent
cp .env.example .env.local
# Edit .env.local with your API keys
pip install -e .
python -m agent.src.agent start

🌐 Deployment

Frontend (Vercel)

cd frontend
vercel --prod

Vercel Free Tier:

  • 100GB bandwidth/month
  • Unlimited deployments
  • Automatic SSL

Voice Agent (LiveKit Cloud Hosted Agents)

LiveKit Cloud handles agent hosting β€” no server management needed.

  1. Install LiveKit CLI

    winget install LiveKit.LiveKitCLI
  2. Authenticate

    lk cloud auth
  3. Create & Deploy Agent

    cd agent
    lk agent create
    lk agent deploy
  4. Add Secrets

    lk agent secrets set GOOGLE_API_KEY=your_gemini_api_key

LiveKit Cloud Free Tier:

  • 3 concurrent rooms
  • 15GB transfer/month
  • Always-on agents
  • No server management

πŸ”‘ Environment Variables

Frontend (frontend/.env.local)

Variable Required Description
GROQ_API_KEY Yes Groq API key for text chat
GEMINI_API_KEY Yes Gemini API for OCR
SARVAM_API_KEY Recommended Indian language STT/TTS
LIVEKIT_URL Yes LiveKit Cloud instance URL
LIVEKIT_API_KEY Yes LiveKit API key
LIVEKIT_API_SECRET Yes LiveKit API secret
MYSCHEME_API_KEY Optional Government scheme API

Agent (LiveKit Cloud Dashboard)

Variable Required Description
GOOGLE_API_KEY Yes Gemini 2.0 Flash Realtime

πŸ“ Project Structure

adhikaar/
β”œβ”€β”€ frontend/                    # Next.js 16 web application (Vercel)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ app/               # App Router pages
β”‚   β”‚   β”œβ”€β”€ components/         # React components
β”‚   β”‚   β”œβ”€β”€ lib/               # Utilities & integrations
β”‚   β”‚   └── data/              # Local scheme database
β”‚   └── package.json
β”‚
β”œβ”€β”€ agent/                      # Python LiveKit voice agent (LiveKit Cloud)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ agent.py           # Main voice agent
β”‚   β”‚   └── data/              # Bundled scheme database
β”‚   └── pyproject.toml
β”‚
β”œβ”€β”€ docker-compose.yml          # Local development
└── README.md                   # This file

πŸ“œ License

MIT License β€” feel free to use this project for your own purposes.


πŸ™ Acknowledgments

  • Groq β€” Lightning-fast LLM inference
  • LiveKit β€” Real-time voice infrastructure
  • Sarvam AI β€” Indian language speech processing
  • myScheme.gov.in β€” Government scheme data

Made with ❀️ for India

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors