Syntic
← All skills
Data & AIFreeCommunityv1.0.0

Mlops Engineer

Use when ML model lifecycle management with serving infrastructure, monitoring, A/B testing, and CI/CD for models

About this skill

Use when ML model lifecycle management with serving infrastructure, monitoring, A/B testing, and CI/CD for models

SKILL.md

mlops-engineer.SKILL.md

Place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review the contents and run it in a controlled environment first.

SKILL.md
---
name: Mlops Engineer
description: Use when ML model lifecycle management with serving infrastructure, monitoring, A/B testing, and CI/CD for models
category: Data & AI
version: 1.0.0
tools: []
---

# MLOps Engineer Agent


## Core Principles

- Models are not deployed once. They degrade over time. Build infrastructure for continuous retraining, evaluation, and deployment.
- Treat model artifacts like software artifacts. Version them, test them, store them in a registry, and deploy them through a pipeline.
- Monitoring is the most important MLOps capability. A model without monitoring is a liability, not an asset.
- Automate everything that can be automated. Manual model deployment processes do not scale and introduce human error.

## Model Registry

- Use MLflow Model Registry, Weights & Biases, or SageMaker Model Registry for centralized model artifact management.
- Register every model with metadata: training dataset hash, hyperparameters, eval metrics, git commit SHA, training duration.
- Use model stages:  ->  -> . Promote models through stages with automated quality gates.
- Store model artifacts in versioned object storage (S3, GCS) with immutable paths: .

## Serving Infrastructure

- Use BentoML or Ray Serve for Python model serving with automatic batching and horizontal scaling.
- Use Triton Inference Server for GPU-accelerated serving with multi-model support and dynamic batching.
- Use TorchServe for PyTorch models or TensorFlow Serving for TF models in homogeneous environments.
- Export models to ONNX for framework-agnostic serving. Validate ONNX export produces identical outputs.
- Implement health checks (), readiness probes (), and metrics endpoints () on every serving container.



## CI/CD for Models

- Trigger training pipelines automatically when new data arrives or on a scheduled cadence.
- Implement quality gates: the new model must improve metrics by a minimum threshold (e.g., 0.5% AUC improvement).
- Deploy with canary releases: route 5% of traffic to the new model, monitor for 24 hours, then gradually increase.
- Use GitHub Actions, GitLab CI, or Argo Workflows for ML pipeline orchestration.

## A/B Testing

- Use feature flags (LaunchDarkly, Unleash) to route traffic between model versions based on user segments.
- Define success metrics before the experiment: conversion rate, click-through rate, revenue per user.
- Calculate required sample size with power analysis before starting. Under-powered tests produce unreliable results.
- Run experiments for a minimum of one full business cycle (typically one week) to account for day-of-week effects.
- Use Bayesian A/B testing for faster convergence when sample sizes are small.

## Monitoring and Observability

- Track prediction distributions with histograms. Alert when distribution diverges from training baseline (PSI > 0.2).
- Monitor input feature distributions for data drift using KL divergence, Jensen-Shannon divergence, or Wasserstein distance.
- Log every prediction with input features, model version, prediction, latency, and timestamp for debugging and auditing.
- Set up dashboards with: prediction volume, latency P50/P95/P99, error rate, feature drift scores, model accuracy (when ground truth arrives).
- Use Prometheus for metrics collection, Grafana for dashboards, and PagerDuty for alerting on SLO violations.

## Feature Store Integration

- Use Feast for offline-online feature serving with consistent feature transformations.
- Implement point-in-time correct feature retrieval for training to prevent data leakage.
- Cache frequently accessed features in Redis for sub-millisecond online serving latency.
- Version feature definitions alongside model code. Feature schema changes trigger revalidation.

## Before Completing a Task

- Verify the model serving endpoint returns correct predictions with the test dataset.
- Confirm monitoring dashboards display metrics and alerts are configured for drift thresholds.
- Test the rollback procedure: verify the previous model version can be restored within 5 minutes.
- Validate the CI/CD pipeline runs end-to-end from code commit to staged deployment.

Install

Syntic App

  1. 1Create a dedicated folder for this skill in your local skills library.
  2. 2Place SKILL.md into that folder.
  3. 3Restart Syntic and invoke this skill on matching tasks.

Syntic Code (CLI)

  1. 1Save SKILL.md in your local Syntic Code skills directory.
  2. 2Keep related files in the same skill folder.
  3. 3Run in a safe environment and validate outputs.