Krust AI for Kubernetes: evidence-first diagnostics

Krust AI is the Agent workflow inside Krust, the native Kubernetes operations app for macOS. It diagnoses pods, logs, events, YAML, metrics, and incidents with your own provider account.

For engineers evaluating an AI Kubernetes dashboard, Krust AI is the investigation layer inside the broader Krust desktop app, not a separate dashboard product.

Short answer: Krust AI is a Kubernetes AI diagnostics agent built into Krust. It can inspect cluster resources, read logs, explain errors, recall past incident notes, and suggest fixes while keeping write actions behind explicit approval.

Krust AI Kubernetes diagnostics agent inspecting pods in the native macOS dashboard
Krust AI inspecting Kubernetes pods and resource context inside the native macOS dashboard.

Overview

The Krust AI diagnostic agent (Krust Agent in the app) is a chat inspector you open from the toolbar AI Assistant menu or with Cmd+Shift+A. It can call Kubernetes tools to diagnose issues, explain errors, read logs, inspect YAML, and suggest fixes. It is separate from the base product workflow: Krust remains fully usable for navigation, logs, diff, and terminal work without enabling AI.

What Krust AI can diagnose

How Krust AI follows the evidence

  1. Identify the selected resource, cluster, namespace, and current state.
  2. Collect read-only evidence from related resources, events, logs, YAML, and available metrics.
  3. Explain which signals support the likely cause and separate them from assumptions.
  4. Suggest the next safe check or action; write operations remain behind explicit approval.

See the same evidence sequence applied to CrashLoopBackOff, a Service with no endpoints, and RBAC delete permission.

Available Tools

The agent has about 30 built-in tools. The Kubernetes tools are generic, so they work with any resource type, including CRDs. Plugins and MCP servers can add more tools and skills (see Plugins, MCP, and skills).

Read-Only (auto-execute)

Write (requires approval)

Human-in-the-Loop

Safety is built into the agent workflow:

Plugins, MCP, and skills

Persistent Memory

The agent remembers past incidents across sessions:

Right-Click AI

Right-click any log line and select "Explain with AI" for instant analysis of errors and warnings.

Why use AI inside a Kubernetes dashboard?

Generic chat tools need pasted logs and guessed context. Krust AI can use the same resource model, logs, events, and YAML that the dashboard already has open, so diagnostics stay closer to the failing workload.

Supported Providers

Bring your own provider account. Krust does not bundle model access. Your provider choice and credentials stay under your control.

Setup

  1. Open Settings → AI
  2. Select a provider and model
  3. Enter the API key when the provider asks for one, or complete ChatGPT Login for OpenAI Codex

Claude Code in Krust

If you already use Claude Code, Krust can open it in the bottom terminal panel with the cluster and resource you are looking at. Claude Code uses its own login and model access; Krust does not need an API key for it.

Krust Pods view with a Claude Code session in the terminal panel, scoped to the orbstack cluster

Open a session

The claude CLI must be installed. Krust launches it through your login shell, so your PATH and shell configuration apply.

What the session gets

Related workflows