AI Engineering

What Is MLOps?

How teams keep machine learning models reliable after the first release.

3 min read

Code on a computer screen
Photo: Chris Ried on Unsplash

In short

  • MLOps (machine learning operations) applies DevOps practices to machine learning: versioned data and models, automated training and testing, safe deployment and monitoring in production.
  • Google describes three maturity levels: manual (level 0), automated training pipelines (level 1), and full CI/CD for the pipelines themselves (level 2).
  • The model is the small part. Most effort goes into data, pipelines, serving and monitoring around it.

MLOps is the discipline that turns a model that works once in a notebook into a system that keeps working in production. It borrows from DevOps (automation, testing, continuous delivery) and adds what is special about machine learning: models depend on data that changes, and their quality can drop silently. This guide explains the core ideas, the maturity levels most teams use as a reference, and what a practical setup looks like.

What is MLOps?

Google Cloud’s reference guide frames MLOps as implementing and automating continuous integration (CI), continuous delivery (CD) and continuous training (CT) for machine learning systems (Google Cloud). The idea goes back to an influential Google paper, “Hidden Technical Debt in Machine Learning Systems” (2015), which argued that ML systems commonly incur massive ongoing maintenance costs, from boundary erosion and entanglement to hidden feedback loops, data dependencies and changes in the outside world (Sculley et al.).

The practical point: in a real ML system, the training code is a small box surrounded by much larger ones: data collection, validation, feature processing, serving infrastructure, configuration and monitoring.

Three maturity levels

LevelWhat it looks likeTypical problem
0: ManualData scientists train in notebooks and hand a model file to engineersSlow updates, no reproducibility, no monitoring
1: Pipeline automationTraining runs as an automated pipeline; new data triggers retrainingPipeline changes themselves are still manual and risky
2: CI/CD for pipelinesPipeline code is tested and deployed automatically, like application codeRequires mature tooling and team habits

Source: Google Cloud. Most teams we meet are at level 0 or 1. Level 1 done well is enough for many products.

The building blocks

  1. Data versioning and validation. Know exactly which data trained which model, and stop bad data before it reaches training. See how to prepare your data for an AI product.
  2. Experiment tracking. Parameters, metrics and artefacts for every run, so results are comparable and reproducible.
  3. Training pipelines that run the same way on a laptop and in the cloud.
  4. Model registry with versions, approvals and links back to data and code.
  5. Deployment as a service, a batch job or an on-device model (for example on NVIDIA Jetson), with canary or shadow releases.
  6. Monitoring of input drift, prediction quality and business outcomes, not just uptime.

MLOps for generative AI

With large language models, the same principles apply with new artefacts: prompts, retrieval indexes, evaluation datasets and guardrails need versioning and testing too. Teams often call this LLMOps. Evaluation becomes the core activity. See how to evaluate an LLM feature before launch and RAG vs fine-tuning.

A lean starting setup

  • One repository for training code, with tests and a pipeline definition.
  • Experiment tracking and a model registry (MLflow is a common open-source choice).
  • Automated retraining on a schedule or when data changes, with an evaluation gate before promotion.
  • Serving through a containerised API or an on-device runtime, deployed by the same CI/CD as the rest of the product.
  • Dashboards for drift and model quality, with alerts that a named person owns.

From our work

We have taken AI into real products: the software of an autonomous warehouse drone for D-ARIA with more than 99% inventory accuracy (case study), and AI-based person following for a mobile robot with EFS Consulting. If you have an AI prototype, our free AI prototype to production review tells you what to keep, what to fix and what it will take.

Technologies you will meet

AreaTypical tools
DataPython, pandas, Spark, dbt, Great Expectations, DVC, Parquet, Delta Lake
TrainingPyTorch, TensorFlow, scikit-learn, XGBoost, Hugging Face Transformers
PipelinesKubeflow Pipelines, Vertex AI Pipelines, Airflow, Prefect, SageMaker Pipelines
Tracking and registryMLflow, Weights & Biases
ServingFastAPI, KServe, Triton Inference Server, vLLM, ONNX Runtime, TensorRT
MonitoringEvidently, Prometheus, Grafana, OpenTelemetry, Langfuse for LLM apps
InfrastructureDocker, Kubernetes, Terraform, GPU nodes on AWS, Azure or Google Cloud

MLOps is what separates an AI demo from an AI product. If you have a working prototype, our guide on taking an AI prototype to production shows how to get there without rewriting everything.

Frequently asked questions

What does MLOps mean?

Machine learning operations: applying DevOps practices such as automation, testing and monitoring to ML systems.

What are the MLOps maturity levels?

Google describes level 0 (manual), level 1 (automated training pipelines) and level 2 (CI/CD for the pipelines themselves).

Why do ML systems need special operations?

Models depend on changing data and can degrade silently, creating ongoing maintenance costs beyond normal code.

What is LLMOps?

MLOps applied to large language model products, adding prompts, retrieval indexes and evaluation sets to what is versioned and tested.

Working on something like this?

Tell us where the product is stuck. We answer with a concrete next step.

Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.