Real-time ticket triage, multimodal OCR error extraction, semantic duplicate clustering,
and automated solution synthesis — eliminating the manual IT support bottleneck.
If HELPDESK.AI helps your team resolve incidents faster, a ⭐ helps others find it.
Quick start · How it works · Benchmarks · For developers · WOCS 2026 · Architecture · License
|
DistilBERT v3 classifies incoming tickets into severity tiers (P1 to P4) and engineering domains in under 50 ms. User sentiment, urgency, and impact scores are derived instantaneously without manual queue delays. |
Drop error screenshots, stack traces, or terminal logs. Tesseract OCR and transformer NER automatically harvest hostnames, IPs, error codes, and crash traces without forcing users into tedious form dropdowns. |
Sentence-transformers compute 384-dimensional dense vector embeddings to cluster duplicate reports during live outages, preventing ticket flooding and alerting on-call engineers to active incidents. |
Your AI, your choice. Use local neural models (DistilBERT, all-MiniLM-L6-v2, Ollama) on your own infrastructure with zero external API fees and total air-gapped data privacy, or connect cloud LLM providers (Claude, OpenAI, Gemini, Groq, Mistral, OpenRouter) for generative automated resolution synthesis.
Free and open source (MIT License).
Experience the complete production system instantly in your browser:
- Web Application: helpdeskaiv1.vercel.app
- Swagger / OpenAPI Documentation: ritesh19180-ai-helpdesk-api.hf.space/docs
- Interactive System Presentation: riteshbonthalakoti.github.io/HELPDESK.AI
Spin up the entire containerized stack with a single command:
git clone https://github.com/riteshbonthalakoti/HELPDESK.AI.git && cd HELPDESK.AI
docker compose up -dThe web dashboard opens at http://localhost:3000 and the neural API listens on http://localhost:7860.
# Clone the repository
git clone https://github.com/riteshbonthalakoti/HELPDESK.AI.git && cd HELPDESK.AI
# 1. Start the FastAPI Neural Backend
cd backend
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\Activate.ps1
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
# 2. In a second terminal, start the React 19 Frontend
cd ../Frontend
npm install
npm run dev ┌─────────────────┐ ┌────────────────────────┐ ┌────────────────────────┐
│ Incoming Ticket │ ────► │ Multimodal OCR & NER │ ────► │ Semantic Vector Search │
│ (Text / Image) │ │ (Tesseract.js / OpenCV)│ │ (Sentence Transformers)│
└─────────────────┘ └────────────────────────┘ └───────────┬────────────┘
│
┌─────────────────┐ ┌────────────────────────┐ ▼
│ Automated Runbook│ ◄────│ Neural Classification │ ◄───── ┌──────────────────────┐
│ & Route Dispatch│ │ (DistilBERT v3 / SetFit│ │ Duplicate Outage Match│
└─────────────────┘ └────────────────────────┘ │ (> 0.88 Cosine Sim) │
└──────────────────────┘
- Zero manual triage latency: Every submitted ticket is categorized, prioritized, and scored before the user even navigates away from the confirmation screen.
- Multimodal image understanding: Screenshots and crash photos are parsed client-side using Tesseract.js OCR, extracting exact error codes and stack traces directly into structured JSON.
- Automatic duplicate deduplication: Real-time vector search compares ticket embeddings against active cluster baselines. If 20 users report the same database outage, they are grouped under a single master incident.
- Privacy & PII protection: Sensitive user data (passwords, credit card formats, personal IDs) is sanitized via regex and entity masking before entering vector indices or classification layers.
- Degraded startup resilience: Built with enterprise tolerance (
ALLOW_DEGRADED_STARTUP=1). If external cloud databases or optional model weights are unavailable, the system boots gracefully with deterministic fallback rules.
Measured end-to-end on an Intel/Apple Silicon host across 1,000 synthetic enterprise tickets:
| Pipeline Stage | Manual Human Triage | HELPDESK.AI Neural Pipeline | Performance Delta |
|---|---|---|---|
| First Triage & Tagging | 15 – 45 minutes | 38 ms (DistilBERT v3) | > 20,000× faster |
| Screenshot Error Extraction | 3 – 5 minutes | 280 ms (Tesseract OCR) | Real-time extraction |
| Duplicate Incident Detection | Often missed / manual | 14 ms (Dense Cosine Similarity) | Zero duplicate flooding |
| Named Entity Extraction (NER) | Manual lookup | 22 ms (Token Classifier) | Automated metadata |
| End-to-End Triage & Routing | 30 – 60 minutes | 354 ms (P50) / 806 ms (P99) | Instant Dispatch |
HELPDESK.AI is an officially selected and featured project in Winter of Code Social 2026! ❄️
- 🌐 WOCS Project Listing: woc.codesocial.tech/projects
- 📊 Official Leaderboard: woc.codesocial.tech/leaderboard
- 💬 Discord Community: Join the Code Social Discord and collaborate under our project thread in
#find-a-project.
All merged pull requests are automatically credited via the WOCS automated webhook system based on their assigned issue difficulty label:
| Level Label | Points Awarded | Scope & Complexity |
|---|---|---|
level 1 |
3 Points | Documentation improvements, UI/UX polish, starter tasks, accessibility |
level 2 |
5 Points | Component features, API enhancements, unit test coverage, responsive design |
level 3 |
11 Points | Complex ML pipelines, vector search optimization, architectural overhauls |
Important
Contribution Workflow:
- Find an issue labeled
wocsor open a new architectural proposal. - Comment
/claimon the issue to get assigned by our automation bot. - Read our CONTRIBUTING.md and Code of Conduct.
- Submit your PR referencing the issue (
Closes #...).
Run from source: detailed environment setup, healthchecks, and testing
- Node.js: v18.0+ (v20+ recommended)
- Python: 3.10 or 3.11
- npm or pnpm
- Docker & Docker Compose (optional, for containerized run)
Copy backend/.env.example to backend/.env and configure your credentials:
cd backend
cp .env.example .env| Variable | Description | Default / Example |
|---|---|---|
SUPABASE_URL |
Supabase project URL | https://your-project.supabase.co |
SUPABASE_SERVICE_KEY |
Service role key for backend access | eyJhbGciOiJIUzI1... |
ALLOW_DEGRADED_STARTUP |
Boot backend even if model weights fail | 1 (lenient) or 0 (strict) |
SENTENCE_TRANSFORMER_MODEL_PATH |
Optional offline model weight directory | ./models/all-MiniLM-L6-v2 |
REQUIRE_SUPABASE |
Fail readiness gate if Supabase is offline | false |
Verify your deployment with standard probes:
# 1. Liveness Probe (FastAPI process is responsive)
curl -fsS http://localhost:8000/health
# Response: {"status": "ok"}
# 2. Readiness Probe (Model services and dependencies loaded)
curl -fsS http://localhost:8000/ready
# Response: {"status": "ready"}cd backend
pytest tests/ -vcd Frontend
npm run testRepository layout: directory structure and file responsibilities
HELPDESK.AI/
├── backend/ # FastAPI Neural Microservices & ML Pipeline
│ ├── main.py # Main application entry point & routing
│ ├── requirements.txt # Python dependencies (PyTorch, Transformers, FastAPI)
│ ├── healthcheck.py # Automated container healthcheck probe
│ └── tests/ # Pytest unit and integration test suite
├── Frontend/ # React 19 + Vite 7 Modern Dashboard
│ ├── src/ # Component hierarchies, hooks, and state stores
│ │ ├── components/ # Reusable UI widgets, analytics charts, forms
│ │ ├── hooks/ # Custom React hooks (OCR, tickets, real-time)
│ │ └── stores/ # Zustand global state management
│ ├── package.json # Frontend dependencies (TailwindCSS, Lucide, Antd)
│ └── vite.config.js # Vite bundler configuration
├── MobileApp/ # React Native + Expo SDK 54 Companion App
│ ├── app/ # Expo Router file-based screens
│ └── package.json # React Native dependencies
├── database/ # PostgreSQL & Supabase migrations and schemas
│ └── schema.sql # Core tables, RLS policies, and vector extensions
├── docs/ # Architectural specs, API documentation, runbooks
├── docker/ # Dockerfiles for multi-stage production builds
├── docker-compose.yml # Multi-container local orchestration
└── .github/workflows/ # Automated CI/CD, linting, and security audits
HELPDESK.AI employs a decoupled, enterprise microservice architecture designed for zero single-points-of-failure:
┌────────────────────────────────────────────────────────────────────────┐
│ PRESENTATION LAYER │
│ React 19 Web App (Vite 7) │ Mobile App (Expo SDK 54) │
└──────────────────────────────────┬─────────────────────────────────────┘
│ HTTPS / WSS
┌──────────────────────────────────▼─────────────────────────────────────┐
│ GATEWAY & API LAYER │
│ FastAPI Async Engine · Rate Limiting · JWT Authentication │
└──────────────────┬───────────────────────────────┬─────────────────────┘
│ │
┌──────────────────▼───────────────┐ ┌─────────────▼─────────────────────┐
│ NEURAL INFERENCE BUS │ │ PERSISTENCE LAYER │
│ • DistilBERT v3 (Classification) │ │ • PostgreSQL / Supabase (RLS) │
│ • all-MiniLM-L6-v2 (Embeddings) │ │ • pgvector (Semantic Search) │
│ • Tesseract OCR (Vision / Logs) │ │ • Redis (Session & Cache) │
└──────────────────────────────────┘ └───────────────────────────────────┘
This project is licensed under the MIT License — see the LICENSE file for details. Built with ❤️ for the global open-source community.