ROAM-AI
Industrial AI operations and ESP optimization platform for oil and gas
Built the ESP failure, production and forecasting models, the setpoint optimizer, the Virtual Engineer copilot and the edge model scoring behind ROAM-AI, an industrial AI platform for oil and gas operators.
ROAM-AI: industrial AI operations and ESP optimization for oil and gas
4–7 days
Median warning before an ESP failure
2–8%
Uplift on accepted recommendations
60–85%
Recommendations accepted by engineers
60–80%
Precision of the ESP risk model
Stack
Overview
ROAM-AI builds an industrial AI operations platform for oil and gas operators. It helps them monitor production assets, understand electric submersible pump (ESP) behavior, identify operational risks and improve production, with each customer's deployment and private AI running in its own AWS account.
The central idea: AI can analyze and recommend, but deterministic local control systems retain authority over physical equipment.
The problem
Production data is spread across SCADA platforms, historians, ESP drives, maintenance records and cameras, and comparing signals across hundreds of wells creates a bottleneck.
- Reactive maintenance: ESP failures can cause unplanned downtime.
- Manual pump optimization: opportunities can remain undiscovered or unimplemented.
- Limited engineering capacity: a small team must support many assets.
My role
I worked at ROAM-AI as an AI engineer and built the software in three areas of the ROAM-AI Technology Platform: the ESP models and setpoint optimizer, the Virtual Engineer copilot, and the edge AI that scores pump signals and camera video on the field gateways. ROAM-AI's own teams build the patented valve controller (hardware and firmware) and handle the field installation.
What I built
ESP models and setpoint optimizer
- A CatBoost production model, an equipment-risk model (CatBoost plus a PyTorch temporal CNN on 1-second signals), a TCN forecasting model and anomaly detection.
- Databricks training pipelines with labels from ESP teardown and failure reports, and an MLflow champion/challenger release flow to cloud serving and gateway ONNX models.
- A derivative-free optimizer for pump frequency and backpressure setpoints: a physics-checked grid refined with Nelder–Mead, never relaxing hard constraints into penalty terms.
Virtual Engineer copilot
- A Claude Agent SDK service on Claude Sonnet 4.6 (Amazon Bedrock), with built-in tools disabled and typed tools for telemetry, production, failure risk and optimization.
- A
PreToolUsehook that checks every tool call against site and asset permissions and records it for audit. - OpenSearch retrieval limited to documents the user can access, with source references.
Edge AI
- Local ONNX scoring of 1-second ESP signal windows in the Rust edge agent on the field gateways.
- Video inference on the Jetson Orin NX (DeepStream, RT-DETR, ByteTrack) for camera sites.
Results
- Failure warning: a median of 4–7 days' warning before an ESP failure.
- Risk model: 60–80% precision and 60–75% recall.
- Production forecast: 5–15% error.
- Optimizer: 2–8% production uplift on accepted recommendations, with 60–85% of recommendations accepted by engineers.
Tech stack
| Layer | Technologies |
|---|---|
| Frontend | Angular, TypeScript, RxJS, WebSocket |
| Backend | Python, FastAPI, Pydantic, Step Functions |
| Data | PostgreSQL, TimescaleDB, Amazon S3, Delta Lake, Kinesis Data Streams, Data Firehose |
| ML | PyTorch (TCN, temporal CNN), CatBoost, SciPy, Databricks, MLflow, Databricks Model Serving, ONNX Runtime |
| Generative AI | Claude Agent SDK, Claude Sonnet 4.6 on Amazon Bedrock, OpenSearch vector search |
| Edge | Rust, AWS IoT Greengrass, OPC UA, Modbus TCP, AVEVA PI Web API, SQLite, Jetson Orin NX, DeepStream, RT-DETR |
| Infrastructure | AWS, Terraform, GitLab CI, CloudWatch, Grafana |
Related case studies


