FabPilot – AI Maintenance Copilot for Factories
AI agent that diagnoses machine faults from sensor data and maintenance manuals, cites its evidence, and drafts work orders that a person approves.
Links

Problem
When a machine stops at night, a maintenance engineer has to dig through sensor charts, alarm logs, manuals and old incident reports before the real repair can begin. And not every alarm is a real fault: a drifting sensor can look exactly like an overheating machine.
Solution
Built a LangGraph agent that pulls sensor readings, alarms and anomalies (TimescaleDB) and searches manuals, SOPs and past incidents (hybrid RAG on pgvector + full-text) through two MCP servers. It proposes a root cause in which every claim points to measured data and every source is cited, rules out the alternatives, and drafts a work order from the matching procedure. Nothing is saved until a person approves it (human-in-the-loop with a Postgres checkpointer). An LLM gateway routes free models with fallback, retries, caching and cost logging. A Next.js dashboard streams the agent's steps live (SSE).
Impact
Measured on 51 simulated fault scenarios with known root causes: 86% root-cause accuracy, no fault invented on a healthy machine, every citation verifiably retrieved. A model comparison with exact McNemar tests showed accuracy alone can't separate three free models; their error profiles decided which one stays. Runs on free LLMs, with the eval suite and a Kubernetes install test in CI.
Tech Stack
Python, LangGraph, MCP (FastMCP), FastAPI, Pydantic, PostgreSQL, TimescaleDB, pgvector, Next.js, TypeScript, Tailwind, Groq, OpenRouter, Docker, Helm, Kubernetes, GitHub Actions.
Related projects

Real-time emotion detection pipeline with CNN/DNN models using Python, Flask, and React.

Full-stack AI resume analyzer that scores ATS compatibility, detects skill gaps, matches keywords semantically, and rewrites experience bullets using a local NLP pipeline and cloud LLM.

AI-powered VC pitch simulator that stress-tests startup founders with a dual-role Gemini 2.5 Flash engine — acting as a hostile investor then switching to structured coach — across 5 investor personas and stage-adaptive difficulty levels.