All projects

Manufacturing

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

1 / 5
Factory AI: predictive maintenance and industrial reliability platform

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

Python / FastAPIGo (edge gateway)AWS IoT Core / GreengrassAmazon KinesisPostgreSQL + TimescaleDBSciPy + scikit-learnTensorFlow + XGBoostPrefect + MLflowLlamaIndex + OpenAI APIOllama (Qwen3-8B)React + ViteAWS ECS Fargate / Terraform

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

LayerTechnologies
Edge and IoTGo, AWS IoT Greengrass v2, OPC UA, Modbus TCP, MQTT, SQLite, AWS IoT Core, Amazon Kinesis
DataPostgreSQL + pgvector (Amazon RDS), TimescaleDB, Amazon S3, Redis
Machine learningSciPy, scikit-learn, TensorFlow/Keras, XGBoost, TensorFlow Serving, Prefect, MLflow
Generative AILlamaIndex, OpenAI API, Anthropic API, Ollama (Qwen3-8B)
ApplicationPython FastAPI, React + Vite, TypeScript, Apache ECharts, PWA
InfrastructureAWS ECS Fargate, Terraform, GitHub Actions, Prometheus, Grafana, Sentry

Related case studies