Back to projects
End-of-Year Project
2026

KubeMind

AI-Driven Kubernetes Incident Analysis & Observability Platform

Final-year capstone project — an AI-powered platform that analyzes Kubernetes incidents by correlating cluster events, application logs, and resource metrics. Uses specialized AI agents to investigate failures, identify potential root causes, and generate structured incident reports and postmortems.

KubernetesPythonFastAPINext.jsLangChainLangGraphPrometheusLokiPromtailKafkaMongoDBDockerGrafana

3+

AI agents

3

Incident scenarios evaluated

3

Observability signals

Postmortems

Incident output

Context

Troubleshooting Kubernetes incidents often requires engineers to investigate events, application logs, and resource metrics across different observability tools. Connecting these signals manually can be time-consuming and makes identifying the root cause of failures more difficult.

Problem statement

"How can AI agents correlate Kubernetes events, logs, and metrics to help engineers investigate incidents, identify relevant evidence, and produce actionable postmortem reports?"

Architecture

  • 1FastAPI backend for incident analysis and service orchestration
  • 2Kafka-based event pipeline using the kube-events topic
  • 3Prometheus for metrics collection and Loki with Promtail for log aggregation
  • 4Specialized AI agents for analyzing Kubernetes events, logs, and metrics
  • 5LangChain and LangGraph for agent orchestration, shared incident state, and cross-signal correlation
  • 6MongoDB for incident-related data and analysis results
  • 7Next.js dashboard for presenting incident investigations and reports
  • 8Docker and Minikube for containerized development and Kubernetes testing

Key features

Kubernetes event pipeline

Built an event-processing pipeline that captures Kubernetes events and publishes them to Kafka for downstream incident analysis. Tested against failure scenarios including CrashLoopBackOff, ImagePullBackOff, and OOMKilled pods.

Multi-agent incident investigation

Developed specialized agents to analyze logs, metrics, and Kubernetes events. Coordinated their execution through LangGraph, maintaining shared incident state and combining their findings into a unified investigation.

Cross-signal correlation

Implemented a correlation agent that brings together evidence from different observability signals to support incident diagnosis and help explain the context behind Kubernetes failures.

Automated incident reporting

Generated structured incident reports and postmortem-style summaries from the agents' findings, making investigation results easier to review and understand through the platform dashboard.

Observability and scenario testing

Integrated Prometheus, Loki, and Promtail to provide metrics and logs for incident analysis. Evaluated the approach across three controlled incident scenarios and compared OpenAI, Gemini, and Ollama-based models.

Technical challenges

Correlating heterogeneous observability data — addressed through specialized agents and a correlation agent that combines findings from events, logs, and metrics.

Coordinating multi-agent investigations — addressed with LangGraph orchestration and shared incident state.

Evaluating model suitability for incident analysis — addressed by comparing OpenAI, Gemini, and Ollama across three controlled incident scenarios.

What I learned

  • Kubernetes troubleshooting using events, logs, and resource metrics
  • Building multi-agent AI workflows with LangChain and LangGraph
  • Event-driven architecture with Kafka and observability pipelines
  • Designing incident investigation workflows and structured postmortem generation
  • Evaluating LLMs for infrastructure troubleshooting tasks

Interested in working together?

I am open to an end-of-studies internship opportunity starting February 2027.