Academy › Projects › Project 4
Project 4: AI SRE / AIOps Agent
Problem: on-call engineers drown in alerts. Build an agent that detects anomalies in metrics and logs, explains a probable root cause and suggests (or runs, with approval) a runbook.
Architecture:
Metrics/Logs (Azure Monitor / Prometheus / Log Analytics)
→ Anomaly Detector (statistical: z-score, IsolationForest; multivariate: point, contextual, collective)
→ Alert enrichment → SRE Agent (LangGraph)
tools: query_logs(KQL), get_metrics(), get_recent_deployments(), search_runbooks(RAG)
→ RCA summary → Teams/Slack → [Human approve] → Runbook action (restart, scale) via automation
Step by step:
- Generate synthetic metrics (CPU, latency, errors) with injected anomalies.
- Implement the detectors: a rolling z-score (point), seasonal baseline (contextual), IsolationForest (multivariate).
- Write the read-only tools first (logs, metrics, deployments).
Checking your access…