Track. Understand. Predict. Improve.
Fintra-AI is an intelligent personal finance management platform designed to help users track expenses, understand spending behavior, manage budgets, and make data-driven financial decisions.
By combining modern full-stack web technologies, Artificial Intelligence, Machine Learning, and secure cloud infrastructure, Fintra-AI transforms raw financial data into meaningful insights and actionable recommendations.
- Overview
- Why Fintra-AI?
- Key Features
- AI & Machine Learning
- Analytics
- Security
- Technology Stack
- System Architecture
- Project Structure
- Getting Started
- Environment Variables
- Database Setup
- Development Workflow
- Documentation
- Roadmap
- IEEE Summer of Code 2026
- Contributing
- Future Vision
- License
- Maintainer
Fintra-AI is an AI-powered personal finance management platform designed to transform raw financial data into actionable insights.
Instead of simply recording transactions, Fintra-AI aims to help users understand where their money goes, why they spend it, what may happen next, and how they can improve their financial health.
The platform combines:
- ๐ฐ Personal finance management
- ๐ค Generative AI
- ๐ง Machine Learning
- ๐ Financial analytics
- ๐ Secure authentication
- โ๏ธ Cloud-native infrastructure
- ๐ Predictive financial insights
Explore the Fintra-AI platform and its core features through the following screenshots.
From expense tracking and financial analytics to AI-powered insights, Fintra-AI provides an intelligent and modern approach to personal finance management.
Turn financial data into intelligent, personalized, and actionable financial decisions.
Traditional expense trackers primarily answer:
"Where did my money go?"
Fintra-AI aims to answer much more:
- Where am I spending the most?
- What spending patterns are emerging?
- Am I likely to exceed my budget?
- How healthy is my financial behavior?
- What can I do to improve my savings?
- Which financial goals are achievable?
- Can AI help me plan my next month?
- Can machine learning identify unusual financial activity?
This creates a shift from:
Expense Tracking โ Financial Intelligence
- Expense Tracking
- Income Tracking
- Budget Management
- Savings Goals
- Financial Dashboard
- Monthly Reports
- Cash Flow Analysis
- Category-Based Expenses
- Transaction Management
- Financial Summary
Powered by Google Gemini AI, Fintra-AI can provide intelligent financial assistance such as:
- AI Financial Advisor
- AI Budget Suggestions
- AI Expense Insights
- AI Goal Planning
- AI Spending Analysis
- AI Financial Chat Assistant
- Personalized Recommendations
- Financial Data Summarization
- Smart Budget Recommendations
The planned ML engine focuses on transforming historical financial data into predictive insights.
| Capability | Purpose |
|---|---|
| ๐ Expense Classification | Predict appropriate expense categories |
| ๐ Spending Forecasting | Estimate future spending |
| ๐ฐ Budget Prediction | Predict potential budget overruns |
| ๐จ Fraud Detection | Identify suspicious financial patterns |
| โค๏ธ Financial Health Score | Estimate overall financial behavior |
| ๐ฏ Goal Prediction | Estimate goal completion probability |
| ๐ก Recommendation Engine | Generate personalized financial suggestions |
| ๐ Trend Detection | Identify changes in spending behavior |
Fintra-AI provides a data-driven view of personal finances.
- Expense Analytics
- Income Analytics
- Category Distribution
- Monthly Spending Trends
- Cash Flow Analysis
- Budget Utilization
- Savings Analysis
- Financial Reports
- Interactive Charts
- Historical Comparisons
Financial Transactions
โ
โผ
Data Processing
โ
โผ
โโโโโโโโโโโโโโโโโโโโโ
โ Feature Extractionโ
โโโโโโโโโโโฌโโโโโโโโโโ
โ
โผ
ML / AI Engine
โ
โโโโโโโดโโโโโโ
โผ โผ
Prediction Insights
โ โ
โโโโโโโฌโโโโโโ
โผ
Personalized
Recommendations
Security is a core component of Fintra-AI because financial data is highly sensitive.
- ๐ Clerk Authentication
- ๐ก๏ธ Arcjet Security
- ๐ Protected APIs
- ๐ค Session Management
- ๐๏ธ Secure Database Access
- ๐ญ Role-Based Access Control
- ๐ Environment-Based Secrets
- ๐ซ No sensitive credentials committed to source control
Never commit
.env, API keys, database credentials, or authentication secrets to Git.
Fintra-AI can provide timely financial notifications including:
- ๐ฉ Email Notifications
โ ๏ธ Budget Alerts- ๐ฏ Savings Goal Reminders
- ๐ Monthly Financial Reports
- ๐ Financial Activity Notifications
Email infrastructure is powered by Resend.
- Next.js
- React
- Tailwind CSS
- Shadcn UI
- Next.js Server Actions
- Prisma ORM
- PostgreSQL
- Google Gemini API
- Scikit-Learn
- TensorFlow
- PyTorch
- XGBoost
- Prophet
- Clerk
- Resend
- Arcjet
- Vercel
โโโโโโโโโโโโโโโโโโโโโโโโ
โ User / Client โ
โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Next.js App โ
โ UI + Server Logic โ
โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโ
โ Clerk โ โ Arcjet โ โ Resend โ
โ Auth โ โ Security โ โ Email โ
โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ Prisma โ
โ ORM โ
โโโโโโโโโโฌโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ PostgreSQL โ
โ Database โ
โโโโโโโโโโฌโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI / ML Layer โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Google Gemini โ
โ ML Prediction Models โ
โ Recommendation Engine โ
โ Financial Analytics โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
Fintra-AI/
โ
โโโ ai-finance-platform/ # Next.js Frontend Application
โ โโโ app/ # App Router & Pages
โ โโโ actions/ # Server Actions
โ โโโ components/ # Reusable UI Components
โ โโโ hooks/ # Custom React Hooks
โ โโโ lib/ # Utilities & Configurations
โ โโโ public/ # Static Assets
โ โโโ emails/ # Email Templates
โ โโโ middleware.js # Authentication & Middleware
โ โโโ next.config.mjs # Next.js Configuration
โ โโโ package.json
โ โโโ ...
โ
โโโ backend/ # FastAPI Backend
โ โโโ app/
โ โ โโโ api/
โ โ โ โโโ v1/ # Versioned REST API
โ โ โ โโโ transactions.py # Transaction Management
โ โ โ โโโ budgets.py # Budget Management
โ โ โ โโโ analytics.py # Financial Analytics
โ โ โ โโโ predictions.py # ML Predictions
โ โ โ โโโ ai.py # AI-powered Features
โ โ โ โโโ reports.py # Financial Reports
โ โ โ
โ โ โโโ core/ # Core Backend Configuration
โ โ โ โโโ config.py # Application Configuration
โ โ โ โโโ database.py # Database Configuration
โ โ โ โโโ security.py # Authentication & Security
โ โ โ
โ โ โโโ models/ # Database Models
โ โ โโโ schemas/ # Pydantic Schemas
โ โ โ
โ โ โโโ services/ # Business Logic Layer
โ โ โ โโโ transaction_service.py
โ โ โ โโโ analytics_service.py
โ โ โ โโโ prediction_service.py
โ โ โ โโโ ai_service.py
โ โ โ
โ โ โโโ main.py # FastAPI Application Entry Point
โ โ
โ โโโ tests/ # Backend Tests
โ โโโ requirements.txt # Python Dependencies
โ โโโ Dockerfile # Backend Container
โ
โโโ ml/ # Machine Learning Pipeline
โ โโโ datasets/ # ML Datasets
โ โโโ preprocessing/ # Data Preprocessing
โ โโโ features/ # Feature Engineering
โ โโโ training/ # Model Training
โ โ โโโ train_categorization.py # Expense Categorization
โ โ โโโ train_forecasting.py # Financial Forecasting
โ โ โโโ train_anomaly.py # Anomaly Detection
โ โ
โ โโโ inference/ # Model Inference
โ โโโ evaluation/ # Model Evaluation
โ โโโ models/ # Trained ML Models
โ
โโโ data_pipeline/ # Data Engineering Pipeline
โ โโโ ingestion/ # Data Ingestion
โ โโโ preprocessing/ # Data Cleaning & Processing
โ โโโ jobs/ # Automated Data Jobs
โ
โโโ notebooks/ # Jupyter Notebooks
โ โโโ 01_eda.ipynb # Exploratory Data Analysis
โ โโโ 02_categorization.ipynb # Expense Categorization
โ โโโ 03_forecasting.ipynb # Financial Forecasting
โ
โโโ infrastructure/ # DevOps & Cloud Infrastructure
โ โโโ docker/ # Docker Configuration
โ โโโ monitoring/ # Monitoring & Observability
โ โโโ terraform/ # Infrastructure as Code
โ
โโโ .github/
โ โโโ workflows/ # CI/CD Pipelines
โ โโโ frontend-ci.yml # Frontend CI
โ โโโ backend-ci.yml # Backend CI
โ โโโ ml-ci.yml # ML CI
โ
โโโ docs/ # Project Documentation
โโโ Screenshots/ # Application Screenshots
โ
โโโ docker-compose.yml # Multi-Service Docker Setup
โโโ .gitignore # Git Ignore Rules
โโโ README.md # Project Documentation
Current implementation note: The runnable product is the Next.js/Prisma application in
ai-finance-platform/. Theml/directory contains separate Python research and inference pipelines. The FastAPI backend, data-pipeline jobs, Terraform/monitoring infrastructure, and CI services shown in the roadmap are planned surfaces and are not currently implemented as production services.
Fintra-AI currently uses a Next.js application with server actions and a separate ML research layer. The application integrates Clerk, Prisma/PostgreSQL, Gemini-assisted receipt/report features, Resend email, and Inngest jobs. Future backend, data-engineering, and MLOps layers should be added only when their source code and deployment instructions are committed.
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ User / Client โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Next.js Frontend โ
โ ai-finance-platform/ โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ REST API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI Backend โ
โ backend/ โ
โโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโ
โ โ
โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ ML Services โ โ Data Pipeline โ
โ ml/ โ โ data_pipeline/ โ
โโโโโโโโโโฌโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ Trained Models โ โ Data Processing โ
โ Forecasting โ โ Ingestion โ
โ Categorization โ โ ETL Jobs โ
โ Anomaly Detectionโ โโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ Database / Data โ
โ Layer โ
โโโโโโโโโโโโโโโโโโโโ
| Layer | Directory | Responsibility |
|---|---|---|
| Frontend | ai-finance-platform/ |
User interface, dashboards and client interactions |
| Backend | backend/ |
REST APIs, authentication and business logic |
| AI/ML | ml/ |
Training, inference and financial intelligence |
| Data Engineering | data_pipeline/ |
Data ingestion, preprocessing and automation |
| Research | notebooks/ |
EDA, experimentation and model research |
| Infrastructure | infrastructure/ |
Docker, monitoring and cloud deployment |
| CI/CD | .github/workflows/ |
Automated testing and deployment |
| Documentation | docs/ |
Technical and project documentation |
Fintra-AI's ML layer is designed around three primary intelligence modules:
- Expense Categorization โ Automatically classifies financial transactions.
- Financial Forecasting โ Predicts future spending and financial trends.
- Anomaly Detection โ Identifies unusual or potentially suspicious transactions.
This separation keeps model development and experimentation independent from the production FastAPI services, making the platform easier to scale, test, deploy, and maintain.
---
# ๐ Getting Started
Follow these steps to run Fintra-AI locally.
## 1๏ธโฃ Clone the Repository
```bash
git clone https://github.com/Ashwinchauhan89/Fintra-AI.git
cd Fintra-AI
The runnable application is located in ai-finance-platform/. Install its dependencies from that directory:
cd ai-finance-platform
npm ciCreate ai-finance-platform/.env.local from the committed ai-finance-platform/.env.example template.
DATABASE_URL=
DIRECT_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/onboarding
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding
GEMINI_API_KEY=
RESEND_API_KEY=
ARCJET_KEY=
โ ๏ธ Keep all secrets private and never commit.envto Git.
npx prisma generatenpx prisma db pushnpm run devThe application will be available at:
http://localhost:3000
Fintra-AI uses Prisma ORM with PostgreSQL.
npx prisma generatenpx prisma db pushnpx prisma studioPrisma Studio can be used to inspect and manage development database records.
Recommended development flow:
Create Issue
โ
โผ
Create Feature Branch
โ
โผ
Implement Feature
โ
โผ
Run Tests / Checks
โ
โผ
Review Changes
โ
โผ
Commit
โ
โผ
Push Branch
โ
โผ
Open Pull Request
โ
โผ
Code Review
โ
โผ
Merge
Recommended naming convention:
feature/expense-analytics
feature/ai-budget-advisor
feature/ml-spending-prediction
fix/authentication-error
fix/dashboard-loading
docs/update-readme
docs/ml-documentation
| Document | Description |
|---|---|
README.MD |
Project overview and setup |
CONTRIBUTION.MD |
Contribution guidelines |
PLANNING.MD |
Development roadmap and milestones |
MACHINELearning.md |
ML architecture and pipeline |
ai-finance-platform/README.md |
Frontend environment variables |
ml/README.md |
ML pipeline setup and usage |
- Authentication
- Dashboard
- Expense Management
- Income Management
- Advanced Transaction Management
- Budget Planning
- Reports
- Analytics
- Advanced Cash Flow Analytics
- Financial Trend Detection
- AI Financial Advisor
- Gemini Integration (receipt scanning and monthly reports)
- AI Budget Recommendations
- Personalized Financial Insights
- AI Financial Copilot
- Expense Classification
- Spending Prediction
- Budget Forecasting
- Fraud Detection
- Financial Health Score
- Goal Completion Prediction
- Recommendation Engine
- OCR Receipt Scanner (Gemini-assisted)
- Investment Tracker
- Family Wallet
- Voice Finance Assistant
- PWA Support
- Multi-Currency Support
- Open Banking Integration
- Explainable AI
- MLOps Pipeline
๐ See PLANNING.MD for the detailed roadmap.
Fintra-AI is designed as an open-source collaboration project and welcomes contributors interested in software engineering, Artificial Intelligence, Machine Learning, cybersecurity, data analytics, and product development.
| Level | Suitable Contributions |
|---|---|
| ๐ข Beginner | Documentation, UI improvements, testing, bug fixes |
| ๐ก Intermediate | APIs, database features, analytics, backend modules |
| ๐ด Advanced | AI, ML, fraud detection, predictive analytics, OCR |
Frontend
โโโ Dashboard
โโโ Charts
โโโ UI/UX
Backend
โโโ APIs
โโโ Database
โโโ Server Actions
AI
โโโ Gemini Integration
โโโ Financial Advisor
โโโ Recommendations
ML
โโโ Classification
โโโ Forecasting
โโโ Fraud Detection
โโโ Financial Health
DevOps
โโโ CI/CD
โโโ Testing
โโโ Deployment
Contributions are welcome from:
- ๐จโ๐ป Software Developers
- ๐จ UI/UX Designers
- ๐ค AI Engineers
- ๐ง Machine Learning Engineers
- ๐ Data Scientists
- ๐ Cybersecurity Developers
- ๐งช QA/Test Engineers
- ๐ Technical Writers
- Fork the repository.
- Create a feature branch.
- Implement your changes.
- Test your changes locally.
- Commit your changes.
- Push your branch.
- Open a Pull Request.
- Participate in code review.
Before contributing, please read:
CONTRIBUTION.MD
Fintra-AI aims to evolve from a traditional finance tracker into a complete AI Financial Intelligence Platform.
โโโโโโโโโโโโโโโโโโโโโโโโ
โ FINTRA-AI โ
โ Financial Intelligenceโ
โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
AI Advisor ML Prediction Analytics
โ โ โ
โผ โผ โผ
Personalized Future Spending Financial
Recommendations Forecasting Insights
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโ
โผ
Smarter Financial Decisions
- ๐ค AI Financial Copilot
- ๐ง Advanced ML Prediction Engine
- ๐จ Real-Time Fraud Detection
- ๐ฆ Open Banking Integration
- ๐๏ธ Voice Finance Assistant
- ๐ท Smart Receipt OCR
- ๐ Investment Portfolio Management
- ๐ Multi-Currency Support
- ๐ Explainable AI
- โ๏ธ Production MLOps Pipeline
- ๐จโ๐ฉโ๐ง Family Finance Management
- ๐ฑ Progressive Web Application
This project is licensed under the MIT License.
See the LICENSE file for complete license information.
Project Lead โ Fintra-AI
GitHub: @Ashwinchauhan89
If you find Fintra-AI useful, interesting, or valuable for learning:
Every contribution helps improve the project and grow the open-source community around Fintra-AI.



