Introduction
OpsRadar โ Kubernetes operations intelligence with AI-generated, commit-ready fixes.
OpsRadar
OpsRadar is a local-first Kubernetes operations tool. It reads every context in your ~/.kube/config, scans your live clusters with an AI backend, and streams findings straight to your browser โ then closes the loop with one-click GitHub PRs that carry a commit-ready YAML fix.
The product's spine is a single chain: scan โ diagnose โ fix. OpsRadar doesn't hand you a report to action later; every finding leads to a patch.
What it does
- Discovers every workload โ Deployments, DaemonSets, StatefulSets, ReplicaSets, Jobs, CronJobs โ across every namespace in every kubeconfig context.
- Analyses each manifest with an AI backend: resource limits, probes, image pinning, high-availability posture, security.
- Detects the GitHub repository behind each workload from annotations or image tags (see GitHub Detection).
- Generates unified-diff patches and opens real GitHub PRs against the source file.
- Operates the cluster directly from the browser โ view YAML and logs, restart/scale/delete workloads, apply a fix, or open an interactive pod shell (see Cluster Operations).
Who it's for
Platform engineers and SREs who own Kubernetes infrastructure โ people who read YAML, run on-call shifts, and want findings that lead directly to a fix, not a dashboard to interpret.
The AI backend
OpsRadar is not tied to one model. On startup it auto-detects a backend in this order (override with AGENT_BACKEND):
| Order | Backend | Selected when |
|---|---|---|
| 1 | Claude API | ANTHROPIC_API_KEY is set (default model claude-opus-5) |
| 2 | Claude CLI | the claude binary is on PATH (uses your existing login) |
| 3 | Bob Shell | the bob binary is on PATH |
If none is available, cluster scanning is disabled until you configure one โ everything else still runs. See Configuration.
Key properties
| Property | Value |
|---|---|
| Runs locally | Yes โ no cloud, no SaaS |
| Storage | SQLite (single file, defaults to ~/.opsradar/ops-radar.db) |
| Auth | Optional API key (OPS_RADAR_API_KEY) |
| AI engine | Claude API ยท Claude CLI ยท Bob Shell (auto-detected) |
| Cluster access | Read + operate; PRs never touch the cluster directly |
| PR target | Any GitHub repository |
Architecture
~/.kube/config
โ
โผ
k8s.Manager โ one client per kubeconfig context
โ (parallel goroutines)
โผ
k8s.Scanner โ lists workloads + metrics per namespace
โ
โผ
github.Detector โ detects source repo from annotations / images
โ
โผ
agent.Backend โ Claude API / Claude CLI / Bob, parses JSON findings
โ
โผ
store.SQLite โ persists scans, targets, findings
โ
โผ
Fiber API โ SSE scan stream ยท REST cluster ops ยท exec WebSocket
โ
โผ
Next.js dashboard โ radar, findings, cluster browser, settingsNext steps
- Install & Run โ get OpsRadar running in a minute
- Configuration โ settings, environment variables, the AI backend
- Connect GitHub โ PAT, OAuth App, and PR generation
- Cluster Operations โ browse and operate clusters from the UI
- API Reference โ every HTTP endpoint