Hivemind
A Kubernetes operator that turns a Prometheus alert into a GitHub PR with an LLM-generated root-cause report.
A Prometheus alert fires and Alertmanager POSTs it to the operator's webhook receiver, which creates an IncidentTriage custom resource in the alert's namespace. The reconciler drives that CR through a phase machine, fanning out three evidence agents concurrently with an errgroup: one fetches pod logs, one queries Prometheus for resource trends, and one matches the alert against a ConfigMap of runbooks.
A synthesizer agent then combines their outputs into a root-cause summary and recommended fix, and the operator opens a GitHub PR with the full report — before anyone has opened a terminal. All LLM calls go through any OpenAI-compatible backend: a local Ollama by default, or a hosted provider like Groq.
Built in Go with kubebuilder v4, and open-sourced under MIT. Stack: Go, Kubernetes, Prometheus, and Helm.
stack
Go · Kubernetes · kubebuilder · Prometheus · Helm · LLM Agents · Operator Pattern · Ollama / Groq