Technical Overview
This is a sophisticated full-stack agentic AI application that combines machine learning, natural language processing, and cloud infrastructure to predict customer churn in real-time. The solution demonstrates enterprise-grade architecture with modern technologies.
- Complete End-to-End Solution
- Frontend: React 19 with TypeScript, Tailwind CSS, and modern UI components
- Backend : Express.js with tRPC for type-safe APIs
- ML Service : FastAPI with XGBoost model serving
- AI Agent : Google Gemini Pro Flash for natural language interactions
- Database : MySQL with Drizzle ORM
Infrastructure : Fully containerized and deployable on Google Cloud Platform- Advanced AI/ML Integration
- Advanced AI/ML Integration
Trained XGBoost Model : Trained on 7,043 customer records with 20+ featuresIntelligent Agent : Natural language queries like "What is the current churn rate?"Real-time Predictions : Instant churn probability calculationsData Integration : Google Sheets API for dynamic data fetching- Production-Ready Architecture
- Production-Ready Architecture
Infrastructure-as-Code : Pulumi for reproducible deploymentsContainerization : Docker images for both web and model servicesScalability : Google Cloud Run with auto-scalingSecurity : OAuth authentication, encrypted data, IAM rolesMonitoring : Comprehensive logging and error trackingModern Development Practices
Type Safety : End-to-end TypeScript with tRPCDatabase Migrations : Automated schema managementEnvironment Management : Secure configuration handlingAPI Design : RESTful ML service + GraphQL-like tRPC proceduresBusiness Value & Innovation
Actionable Insights : Converts raw data into business recommendationsUser-Friendly Interface : Non-technical users can query complex ML modelsCost-Effective : ~$10-15/month for development, scales to $100-200/month for productionExtensible Design : Easy to add new features and data sources
Technical Highlights
a. Machine Learning Pipeline
# XGBoost model trained on Telco Customer Churn dataset
# Features: demographics, services, billing, contract details
# Performance: >80% accuracy on test set
# Real-time inference via FastAPI endpoint
b. Agentic AI Integration
// Natural language → Google Gemini → Google Sheets → XGBoost → Insights
// Example queries:
// - "Which customer segments have highest churn risk?"
// - "Analyze the last 50 customers for churn patterns"
c. Cloud-Native Infrastructure
# Pulumi manages:
# - Cloud Run services (web + model)
# - Cloud SQL MySQL database
# - Cloud Storage buckets
# - Service accounts with IAM
# - Automated backups
D. Key Differentiators
- Agentic AI : Not just a prediction tool, but an intelligent assistant that can answer complex business questions
- Real-time Integration : Live data from Google Sheets, instant predictions
- Enterprise Architecture : Production-ready with proper security, scaling, and monitoring
- Full-Stack Excellence : Modern frontend, robust backend, and sophisticated ML pipeline
- Infrastructure Automation : One-command deployment with Pulumi
This solution demonstrates how modern AI can democratize complex business analytics. By combining XGBoost's predictive power with Gemini's natural language capabilities, we've created an intuitive interface that transforms customer data into actionable business insights. The production-ready architecture ensures this isn't just a prototype, but a scalable solution that can drive real business value."
This project showcases advanced technical skills across multiple domains (ML, AI, full-stack development, DevOps) while solving a real business problem with a user-friendly, scalable solution. It's exactly the kind of comprehensive, innovative project that stands out in hackathon competitions.
Log in or sign up for Devpost to join the conversation.