Course outline▾
Week 1 · The Foundations
- Day 1Demystifying AI — From Buzzword to Business Logic
- Day 2How Machines Actually Learn — Supervised, Unsupervised and Reinforcement Learning
- Day 3Inside Neural Networks — The Engine of Modern Deep Learning
- Day 4The AI Project Lifecycle — From Raw Data to Production Deployment
- Day 5The Math Behind the Magic — Why Linear Algebra and Probability Matter
- Day 6Data Preprocessing — Cleaning the Messy Reality of Enterprise Data
- Day 7Measuring Success — Understanding Accuracy, Precision, Recall and F1 Scores
Week 2 · Applied AI & APIs
- Day 8Introduction to LLMs & The Modern AI API Landscape
- Day 9Advanced Prompt Engineering — Few-Shot, Chain-of-Thought and Structured JSON
- Day 10Tokenization, Context Windows and Cost Optimization
- Day 11Embeddings and Vector Representations — How Machines Map Meaning
- Day 12Vector Databases — Storing and Searching Enterprise Knowledge
- Day 13Retrieval-Augmented Generation (RAG) — Chatting with Proprietary Documents
- Day 14RAG Evaluation and Hallucination Guardrails
Week 3 · Infrastructure & Hosting
- Day 15Introduction to AI Infrastructure — Hardware, Runtimes and Compute
- Day 16Local Model Execution — Running Open-Weight LLMs Securely with Ollama and vLLM
- Day 17Containerizing AI Workloads — Production Dockerfiles for Python APIs
- Day 18Docker Compose for Multi-Container AI Stacks
- Day 19Kubernetes for AI 101 — Pods, Deployments and Services for Model Serving
- Day 20Persistent Storage in Kubernetes — Managing State, Weights and Vector Indices
- Day 21High-Performance Networking — Ingress and Egress for AI Clusters
Week 4 · Enterprise Workflows
- Day 22Autonomous Agents — From Passive LLMs to Goal-Driven Execution
- Day 23Tool Use and Function Calling — Connecting LLMs to APIs, Databases and Shells
- Day 24Multi-Agent Orchestration — Supervisor, Worker and Evaluator Patterns
- Day 25Automated CI/CD — Automating the Software Lifecycle for AI Models
- Day 26Zero-Trust Security for AI: Sandboxing Ephemeral Execution & Model EgressComing soon · 2026-10-26 · 7 PM IST
- Day 27Observability & Tracing for Agentic Systems (Telemetry, Logs, and Metrics)Coming soon · 2026-10-27 · 7 PM IST
- Day 28Human-in-the-Loop Architecture: Machine Second, Human First in PracticeComing soon · 2026-10-28 · 7 PM IST
- Day 29Managing Technical Debt, Drift, and Model Governance in Enterprise ITComing soon · 2026-10-29 · 7 PM IST
- Day 30The 10-Year Horizon: Architecting IT Strategy for the AI-Native EnterpriseComing soon · 2026-10-30 · 7 PM IST
Day 25: Automated CI/CD — Automating the Software Lifecycle for AI Models
2026-10-25 · 8 min read
A normal unit test checks that a function returns an exact value. AI is non-deterministic: editing a system prompt, changing the temperature or pointing at a newer model can quietly reduce accuracy, add hallucinations or break the JSON your code depends on, and no exact-match test will notice. MLOps closes the gap by putting evaluation into the Git workflow.
In plain terms: A restaurant does not taste-test every dish by checking its weight. It has a tasting panel with a score sheet, and a new recipe only goes on the menu if the score does not drop.
1. The evaluation pipeline
Any pull request that touches prompt templates, RAG indexing or agent tools should trigger automatic checks before it can merge.
- Schema and lint tests. Assert that outputs follow the declared JSON schema and regex rules across a set of test inputs.
- Gold-standard suite. Run the pipeline against a version-controlled set of real edge cases and compare the pass rate with the last release.
- LLM-as-judge. Use a separate evaluator model to grade faithfulness, relevance and use of context, and flag a drop below the baseline.
2. GitOps and automated rollout
Release through GitOps, with a tool such as ArgoCD.
- Declarative infrastructure. Model settings, image tags and replica counts live as manifests in a Git repository. ArgoCD keeps the cluster in line with that repository, so a rollback is a revert of one commit.
- Canary rollouts. A new model version first receives a small share of real traffic, for example 5%, while error rate and latency are watched. If the numbers hold, the share grows step by step to 100%, and if a threshold is crossed the rollout reverts on its own. In the Argo ecosystem the canary itself is run by Argo Rollouts, which works alongside ArgoCD.
Below are the two main pieces. They assume a tests/evals/ folder with your gold cases, a helper called run_pipeline, and a judge model you provide. Treat the thresholds as starting points to tune.
# tests/evals/test_quality.py (run by CI with: pytest tests/evals)
import json
from pipeline import run_pipeline # your RAG or agent entry point
from judge import faithfulness_score # calls an isolated judge model
BASELINE = 0.88 # pass rate of the currently deployed version
CASES = json.load(open("tests/evals/gold_cases.json"))
def test_outputs_match_schema():
for case in CASES:
out = run_pipeline(case["input"])
assert set(out) >= {"answer", "sources"} # schema check
def test_quality_not_below_baseline():
passed = sum(faithfulness_score(c, run_pipeline(c["input"])) >= 0.8 for c in CASES)
assert passed / len(CASES) >= BASELINE - 0.02 # small tolerance for judge noise
# Argo Rollouts: a canary that shifts traffic in steps
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: model-api
spec:
replicas: 4
selector:
matchLabels: { app: model-api }
strategy:
canary:
steps:
- setWeight: 5
- pause: { duration: 10m } # watch error rate and latency here
- setWeight: 25
- pause: { duration: 10m }
- setWeight: 50
- pause: { duration: 10m }
- setWeight: 100
template:
metadata:
labels: { app: model-api }
spec:
containers:
- name: model-api
image: registry.example.com/model-api:1.5.0
For automatic rollback you attach an analysis that queries your metrics and fails the rollout when they cross a threshold. Automating testing and release turns AI deployments from manual experiments into repeatable, verifiable engineering.
Coming Up Next
Day 26: Zero-trust security for AI: sandboxing ephemeral execution and model egress.