AI agents · OpenClaw · self-hosting · automation

Quick Answer

Best AI Tools for Kubernetes Troubleshooting in 2026

Published:

The short answer

Use HolmesGPT to investigate incidents, K8sGPT to scan clusters for problems, and kagent to build your own agents that run inside Kubernetes. On Azure, Azure SRE Agent is the managed option. All three open-source tools are Apache-2.0 and had releases in the last six weeks; versions and activity below were read from each GitHub repository on November 23, 2026.

HolmesGPTK8sGPTkagentkubectl-aiAzure SRE Agent
What it isIncident investigation agentCluster scanner + LLM explanationsFramework for K8s-native agentsNatural language → kubectlManaged SRE agent
Latest release0.47.0 (Nov 22, 2026)v0.4.41 (Oct 21, 2026)v1.0.1 (Nov 12, 2026)v0.0.31 (Mar 27, 2026)New capabilities in preview (Ignite, Nov 2026)
LicenceApache-2.0 (CNCF sandbox)Apache-2.0Apache-2.0Apache-2.0Commercial (Azure)
GitHub stars~4,000~8,350~4,500~7,600—
Beyond KubernetesYes (VMs, cloud, databases, SaaS)NoVia MCP toolsNoAzure + multicloud investigations
Runs asCLI, in-cluster operatorCLI, operator, MCP serverController + UI + CLICLIAzure service
Pick it forRoot cause from alertsFast health scanCustom agents with GitOpsAd-hoc commandsAzure-centric teams

Picks in detail

HolmesGPT — root cause from an alert. HolmesGPT runs an agentic loop over live observability data: built-in toolsets cover Prometheus, Grafana, Datadog, Kubernetes, Splunk (via MCP) and VictoriaMetrics, and any REST API can be added. It pulls alerts from AlertManager, PagerDuty, OpsGenie or Jira and writes its analysis back; Slack and Microsoft Teams work through Robusta. Its new operator mode runs health checks in the background — scheduled checks and deployment verification — so an investigation can start before a human notices. Memory limits per tool and server-side filtering keep large query results out of the model’s context.

K8sGPT — the quickest scan. brew install k8sgpt, point it at a cluster, run k8sgpt analyze --explain. Its analyzers encode common failure patterns (crash-looping pods, failed scheduling, broken services) and the LLM turns them into plain-English explanations. The k8sgpt-operator runs scans continuously in-cluster, and a serve mode exposes K8sGPT over MCP so a coding agent or chat client can call it.

kagent — build your own. kagent defines agents as Kubernetes resources: a system prompt, tools, sub-agents and an LLM configuration, shareable through an AgentTemplate. It ships an MCP server with tools for Kubernetes, Istio, Helm, Argo, Prometheus, Grafana and Cilium, exposes gRPC, A2A and MCP APIs, and supports OpenTelemetry tracing. Choose it when you want agents managed with the same GitOps flow as your workloads.

kubectl-ai — fine for ad-hoc use. It translates requests into kubectl operations interactively, but releases stopped in March 2026; do not build a process on it.

Azure SRE Agent — the managed route on Azure. At Ignite (November 17, 2026) Microsoft announced preview capabilities including customer-managed keys, Entra Agent ID and Agent 365 integration, cross-agent communication, Microsoft Teams integration and multicloud investigations.

How to choose

  1. “Why did this alert fire?” → HolmesGPT.
  2. “What is broken in this cluster right now?” → K8sGPT.
  3. “We want agents that operate the platform, under GitOps” → kagent.
  4. “We are all-in on Azure and want it managed” → Azure SRE Agent.

Start every tool read-only: give it a service account that can get, list and watch but not delete or patch, and add write actions only after reviewing its suggestions for a few weeks. For incident-response platforms beyond Kubernetes, see best AI SRE agents for incident response; for the wider tool landscape, best AI DevOps tools.

Last verified: November 23, 2026.

Sources