TaalAI is an agentic AI-powered financial coach designed specifically for Indians with irregular incomes — freelancers, gig workers, and influencers. It helps users understand their income rhythm, receive personalized financial advice, and make smarter financial decisions.
-
Income Rhythm Engine (TaalSense)
- Tracks and learns income volatility trends
- Builds a dynamic "financial pulse score" (0-100)
- Suggests adaptive saving goals using AI reasoning
-
"What If I Buy This?" Simulator
- Estimates impact on savings trajectory
- Shows how purchases delay financial goals
- Provides visual graph comparisons
-
VoiceMint – Conversational Coach
- AI-powered chat in Hinglish or preferred language
- Voice input/output support
- 30-second advice clips and daily nudges
-
WhatsApp Micro Coach
- Personalized savings nudges
- Tax reminders and spending insights
- Interactive prompts via WhatsApp
-
TaxMate
- Auto-classifies income and expenses
- Generates quarterly tax insights
- TDS, GST, and advance tax guidance
fintech/
├── frontend/ # Next.js 14 + TailwindCSS
│ ├── app/ # App Router pages
│ ├── components/ # Reusable UI components
│ ├── lib/ # Utilities and helpers
│ ├── store/ # Zustand state management
│ └── types/ # TypeScript type definitions
├── backend/ # FastAPI Python
│ ├── app/
│ │ ├── agents/ # AI agents (TaalCore, Coach, Predictor, Tax)
│ │ ├── routes/ # API endpoints
│ │ ├── models/ # Data schemas
│ │ └── services/ # Business logic
│ └── requirements.txt
├── shared/ # Shared resources
│ └── supabase-schema.sql
└── docker-compose.yml
- Node.js v18+ (Download)
- Python 3.11 or 3.12 (Download) - Note: Python 3.14 may have compatibility issues
- Docker (optional, for containerized setup)
- Supabase account (Sign up)
- Google AI Studio API key for Gemini (Get key)
Windows Users: See WINDOWS_SETUP.md for detailed Windows-specific instructions!
-
Clone and setup
cd fintech cp .env.example .env -
Edit
.envfile with your API keys:GEMINI_API_KEY=your-gemini-api-key NEXT_PUBLIC_SUPABASE_URL=your-supabase-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
-
Start services
docker-compose up -d
-
Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
-
Create virtual environment
cd fintech/backend python -m venv venv # Windows venv\Scripts\activate # macOS/Linux source venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Set up environment variables
cp .env.example .env # Edit .env with your API keys -
Run the backend
uvicorn app.main:app --reload --port 8000
-
Install dependencies
cd fintech/frontend npm install -
Set up environment variables
cp .env.local.example .env.local # Edit .env.local with your configuration -
Run the frontend
npm run dev
-
Access the application
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000/docs
-
Create a new project on Supabase
-
Run the schema
- Go to SQL Editor in Supabase Dashboard
- Copy contents from
shared/supabase-schema.sql - Run the query
-
Get your credentials
- Go to Settings > API
- Copy your project URL and anon key
- Add them to your
.envfile
- Purpose: Central orchestrator for financial intelligence
- Features:
- Income rhythm analysis
- Financial pulse scoring (0-100)
- Adaptive savings suggestions
- Tech: NumPy, scikit-learn
- Purpose: Conversational financial advisor
- Features:
- Personalized advice in Hinglish
- Daily nudges
- Spending pattern analysis
- Tech: Google Gemini 1.5 Flash
- Purpose: "What if" scenario simulation
- Features:
- Purchase impact forecasting
- Income prediction
- Savings trajectory modeling
- Tech: Lightweight ML (scikit-learn)
- Purpose: Tax insights and compliance
- Features:
- TDS/GST/advance tax calculation
- Quarterly estimates
- Tax-saving suggestions
- Tech: Rule-based + LLM hybrid
| Layer | Technology |
|---|---|
| Frontend | Next.js 14, TypeScript, TailwindCSS, Framer Motion |
| Backend | FastAPI (Python), SQLAlchemy |
| Database | PostgreSQL (via Supabase) |
| AI/ML | Google Gemini 1.5 Flash, scikit-learn |
| State | Zustand |
| Charts | Recharts |
| Auth | Supabase Auth |
| Messaging | Twilio (WhatsApp) |
| Hosting | Vercel (frontend), Render/Railway (backend) |
Create a .env file based on .env.example:
# Required
GEMINI_API_KEY=your-gemini-api-key
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
SECRET_KEY=your-secret-key
# Optional (for WhatsApp features)
TWILIO_ACCOUNT_SID=your-twilio-sid
TWILIO_AUTH_TOKEN=your-twilio-token
TWILIO_WHATSAPP_NUMBER=whatsapp:+14155238886-
Create Twilio account at twilio.com
-
Join WhatsApp Sandbox
- Go to Messaging > Try it out > Send a WhatsApp message
- Follow instructions to connect
-
Configure webhook
- Set webhook URL to:
https://your-backend-url/api/whatsapp/webhook - Method: POST
- Set webhook URL to:
-
Add credentials to
.envTWILIO_ACCOUNT_SID=ACxxxxx TWILIO_AUTH_TOKEN=your-token TWILIO_WHATSAPP_NUMBER=whatsapp:+14155238886
- Sign up → Email/Google OAuth
- Onboarding → Add income sources, expenses, goals
- Dashboard → View financial pulse, income rhythm, goals
- Chat with TaalAI → Get advice, ask questions
- What-If Simulator → Test purchase decisions
- WhatsApp Nudges → Receive daily tips (optional)
# Backend
cd backend
pytest
# Frontend
cd frontend
npm test# Backend
cd backend
pip install -r requirements.txt
# Frontend
cd frontend
npm run build
npm start- Connect GitHub repo to Vercel
- Set environment variables
- Deploy automatically on push
- Create new Web Service
- Connect GitHub repo
- Set build command:
pip install -r requirements.txt - Set start command:
uvicorn app.main:app --host 0.0.0.0 --port $PORT - Add environment variables
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.
- Gemini API by Google for AI capabilities
- Supabase for database and auth
- Twilio for WhatsApp integration
- Indian freelance community for inspiration
For issues and questions:
- GitHub Issues: Create an issue
- Email: support@taalai.app
Built with ❤️ for the Indian freelance community