Factory AI
AI-powered predictive maintenance and industrial reliability platform
Built the sensor data pipeline for the models, vibration signal processing, anomaly-detection and failure-mode models, the training and release pipeline, and the RAG maintenance assistant behind Factory AI's predictive maintenance product.
Factory AI: predictive maintenance and industrial reliability platform
2–6 weeks
Warning before bearing failures
60–80%
Alert precision (7-day window)
75–90%
Failure-mode classification accuracy
90–95%+
Assistant faithfulness
Stack
Overview
Factory AI is a multi-tenant industrial reliability platform for manufacturers. It connects equipment telemetry, predictive analytics and AI-assisted maintenance knowledge with day-to-day maintenance work, helping plants move from reactive to proactive maintenance: monitor condition, identify abnormal behavior, plan the intervention and feed the result back.
The central idea: an alert starts a workflow. It becomes evidence for a human decision, a maintenance action and eventually a verified outcome that improves future analysis.
The problem
Industrial equipment rarely fails without warning; the difficulty is turning changes in vibration, temperature or load into a reliable maintenance decision.
- Reactive maintenance: problems are found after production is affected, causing unplanned downtime.
- Static thresholds and noisy alerts: normal vibration varies with load, so fixed rules raise false alarms or miss gradual change.
- Lost engineering knowledge: manuals, troubleshooting guides and failure histories are scattered, so investigations are slow.
My role
I worked at Factory AI as an AI engineer and built three main parts of its platform: the sensor data pipeline that feeds the models; the signal-processing and machine-learning pipeline; and the retrieval-augmented maintenance assistant. Product direction stayed with Factory AI.
What I built
Sensor data pipeline for the models
- The waveform path: the Go edge gateway uploads high-rate (25.6 kHz) vibration captures to Amazon S3 so the signal-processing service can analyze them.
- Telemetry ingestion from AWS IoT Core through Kinesis into TimescaleDB, with every measurement linked to its asset and sensor.
Signal processing and machine learning
- A vibration signal-processing service that computes FFT and envelope spectra, running-speed orders, bearing defect frequencies and time-domain features from raw waveforms.
- Staged, context-aware anomaly detection: statistical baselines, EWMA/CUSUM, and an ensemble of an LSTM autoencoder, Isolation Forest and spectral thresholds, with speed, load and production state as inputs.
- XGBoost failure-mode classifiers for centrifugal pumps and electric motors. Training and release run on a Prefect and MLflow pipeline with backtests on historical failures.
AI maintenance assistant
- A LlamaIndex retrieval-augmented assistant over equipment manuals on the OpenAI API, with Anthropic failover, permission-filtered retrieval and source references.
- A plant assistant on Ollama (Qwen3-8B) on customer-owned servers, for restricted plants that cannot send manuals to external AI providers.
Results
- Alert precision: 60–80% at a 7-day warning window.
- Warning time: 2–6 weeks before bearing failures.
- Failure-mode classification: 75–90% accuracy for the XGBoost classifiers.
- Assistant faithfulness: 90–95% or more.
Tech stack
| Layer | Technologies |
|---|---|
| Edge and IoT | Go, AWS IoT Greengrass v2, OPC UA, Modbus TCP, MQTT, SQLite, AWS IoT Core, Amazon Kinesis |
| Data | PostgreSQL + pgvector (Amazon RDS), TimescaleDB, Amazon S3, Redis |
| Machine learning | SciPy, scikit-learn, TensorFlow/Keras, XGBoost, TensorFlow Serving, Prefect, MLflow |
| Generative AI | LlamaIndex, OpenAI API, Anthropic API, Ollama (Qwen3-8B) |
| Application | Python FastAPI, React + Vite, TypeScript, Apache ECharts, PWA |
| Infrastructure | AWS ECS Fargate, Terraform, GitHub Actions, Prometheus, Grafana, Sentry |
Related case studies


