OpsRadar
OROpsRadar Docs

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

  1. Discovers every workload โ€” Deployments, DaemonSets, StatefulSets, ReplicaSets, Jobs, CronJobs โ€” across every namespace in every kubeconfig context.
  2. Analyses each manifest with an AI backend: resource limits, probes, image pinning, high-availability posture, security.
  3. Detects the GitHub repository behind each workload from annotations or image tags (see GitHub Detection).
  4. Generates unified-diff patches and opens real GitHub PRs against the source file.
  5. 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):

OrderBackendSelected when
1Claude APIANTHROPIC_API_KEY is set (default model claude-opus-5)
2Claude CLIthe claude binary is on PATH (uses your existing login)
3Bob Shellthe 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

PropertyValue
Runs locallyYes โ€” no cloud, no SaaS
StorageSQLite (single file, defaults to ~/.opsradar/ops-radar.db)
AuthOptional API key (OPS_RADAR_API_KEY)
AI engineClaude API ยท Claude CLI ยท Bob Shell (auto-detected)
Cluster accessRead + operate; PRs never touch the cluster directly
PR targetAny 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, settings

Next steps