K8s Observability
Enables AI agents to directly inspect Kubernetes infrastructure and query Prometheus and Loki for enhanced telemetry and diagnostics.
This Python server bridges AI agents with Kubernetes and its observability stack (Prometheus and Loki), eliminating the need for manual copy-pasting of `kubectl` and `curl` outputs into chat. It allows AI agents to directly call tools to retrieve pod status, query metrics, search logs, and even perform automated health diagnostics. The server also includes a powerful mock mode, generating realistic synthetic data for testing prompts and agent reactions without requiring a live cluster, making it ideal for developing and integrating AI-powered SRE workflows.
Key Features
01Automated pod health diagnosis with suggested actions and health scoring
02Prometheus metric querying (instant and range PromQL)
030 GitHub stars
04Direct Kubernetes resource inspection (namespaces, pods, events, logs)
05Loki log querying (LogQL)
06Mock mode for testing with synthetic Kubernetes and observability data
Use Cases
01Developing and testing AI agent capabilities for infrastructure monitoring without a live environment
02Automating Kubernetes troubleshooting and incident response with AI agents
03Integrating real-time observability data into AI-powered SRE tools