Monitor infrastructure, analyze logs with Gemini AI, receive intelligent alerts, and compare responses across multiple LLMs from a single platform.
Built with Next.js, Clerk, Supabase, Docker, Redis, Nginx, Python, Gemini API, and GitHub Actions.
InfraWatch AI started as a Multi-LLM Chat System and evolved into a complete DevOps + AIOps platform.
The system enables users to:
- Compare responses from multiple LLMs simultaneously
- Persist chat history securely
- Monitor infrastructure health
- Analyze logs using AI
- Detect incidents automatically
- Receive email alerts
- Track API usage and system metrics
- Manage deployments using DevOps best practices
User
│
▼
Clerk Authentication
│
▼
Nginx Reverse Proxy
│
▼
Next.js Application
│
├────────► Gemini API
│
├────────► OpenAI API
│
├────────► Claude API
│
├────────► Supabase PostgreSQL
│
└────────► Redis Cache
│
▼
Monitoring Service
│
▼
Gmail Alerts
│
▼
AI Log Analyzer
│
▼
Incident Dashboard
- GPT Support
- Gemini Support
- Claude Support
- Side-by-side response comparison
- Streaming responses
- Custom temperature settings
- Model selection panel
Powered by Clerk.
Features:
- Google Login
- GitHub Login
- Secure Session Management
- Protected Dashboard Routes
Stored in Supabase PostgreSQL.
Features:
- Conversation storage
- Message history
- Search conversations
- Continue previous chats
Track:
- Total Requests
- Token Consumption
- Model Usage
- Response Statistics
Features:
- Gemini response caching
- Faster repeated queries
- Reduced API costs
- Session optimization
Application runs in isolated containers.
Services:
- Next.js
- Redis
- Monitoring Service
- Nginx
Benefits:
- Reproducible environments
- Easy deployment
- Simplified scaling
GitHub Actions automatically:
- Install dependencies
- Run lint checks
- Run type checking
- Build application
- Build Docker image
- Validate deployment readiness
Python monitoring service tracks:
- CPU Usage
- Memory Usage
- Disk Usage
- Container Health
- Service Availability
Metrics are stored in Supabase and displayed in real time.
Powered by Gemini API.
The system automatically analyzes:
- Application Logs
- Nginx Logs
- Docker Logs
- Infrastructure Errors
Generates:
- Root Cause Analysis
- Severity Classification
- Suggested Fixes
- Confidence Score
Example:
{
"root_cause": "Redis Container Unavailable",
"severity": "High",
"suggested_fix": "Restart Redis Container",
"confidence": 91
}Automatic Gmail notifications for:
- High CPU Usage
- High Memory Usage
- Disk Space Issues
- Container Failures
- Critical Incidents
Example:
🚨 InfraWatch Alert
Service:
Redis
Issue:
Container Down
Suggested Action:
Restart Service
Severity:
High
Route:
/admin/devops
Features:
- Live CPU Metrics
- RAM Usage
- Disk Usage
- Container Status
- Alert History
- AI Incidents
- Gemini Usage Statistics
- Redis Cache Metrics
Features:
- Installable
- Responsive
- Offline Support
- Mobile Friendly
- Next.js 15
- React
- TypeScript
- Tailwind CSS
- Zustand
- Clerk
- Supabase PostgreSQL
- Redis
- Docker
- Docker Compose
- Nginx
- GitHub Actions
- Python
- psutil
- Gemini API
- OpenAI API
- Claude API
- WSL Ubuntu
- Docker
infra-watch-ai/
├── app/
├── components/
├── lib/
│
├── services/
│ ├── monitoring/
│ │ ├── cpu.py
│ │ ├── memory.py
│ │ ├── disk.py
│ │ └── alerts.py
│ │
│ └── ai-analysis/
│ └── analyze_logs.py
│
├── docker/
│ ├── Dockerfile
│ └── nginx.conf
│
├── .github/
│ └── workflows/
│ └── ci.yml
│
├── supabase/
│ └── migrations/
│
└── README.md
- Node.js 22+
- Docker Desktop
- WSL Ubuntu
- Redis
- Supabase Project
- Clerk Account
- Gemini API Key
git clone https://github.com/Darshan3690/Multi-LLM-Chat-System.git
cd Multi-LLM-Chat-Systemnpm installCreate .env.local
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_KEY=
# Gemini
GEMINI_API_KEY=
# Redis
REDIS_URL=redis://localhost:6379
# Gmail
GMAIL_USER=
GMAIL_APP_PASSWORD=
ALERT_EMAIL=
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000Build:
docker compose buildStart:
docker compose upStop:
docker compose downnpm run devOpen:
http://localhost:3000
Push Code
│
▼
GitHub Actions
│
▼
Lint
│
▼
Type Check
│
▼
Build
│
▼
Docker Build
│
▼
Deployment Ready
Add:
- Multi-LLM Chat UI
- DevOps Dashboard
- AI Incident Analysis
- Monitoring Dashboard
- Gmail Alerts
- Kubernetes Deployment
- Grafana Dashboard
- Prometheus Integration
- Slack Notifications
- AWS Deployment
- AI Auto-Remediation
- Multi-Server Monitoring
- Incident Prediction
Contributions are welcome.
- Fork Repository
- Create Feature Branch
git checkout -b feature/amazing-feature- Commit Changes
git commit -m "Add amazing feature"- Push
git push origin feature/amazing-feature- Create Pull Request
Distributed under the MIT License.
Made with ❤️ by Darshan Rajput
Building the future of AI-powered DevOps 🚀