# GoogleCloudPlatform/kubectl-ai

AI powered Kubernetes Assistant

Repository: https://github.com/GoogleCloudPlatform/kubectl-ai
Canonical: https://ross.abutalabs.com/products/kubectl-ai
Language: Go
License: Apache-2.0
License Family: permissive
Topics: ai, assistant, cli, kubernetes
Last push: 2026-07-15T19:33:23+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 77, longevity 42
- inputs: {"age_days": 590, "days_push": 49, "days_rel": 159, "gap_med": 7, "n_releases_24m": 30}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7558, forks 716 (observed 2026-08-28T04:10:01.632205+00:00)

## What it is
kubectl-ai is an AI-powered Kubernetes assistant that translates natural-language user intent into precise kubectl operations. It is a Go CLI tool and kubectl plugin supporting multiple LLM providers including Gemini, OpenAI, Bedrock, and local models via Ollama or llama.cpp.

## Use cases
- check how my nginx app is doing in the cluster
- manage kubernetes using natural language
- troubleshoot kubernetes pods with an ai assistant
- use a local llm to operate my k8s cluster
- run an mcp server for kubernetes operations
- install a kubectl ai plugin via krew

## When to choose
- you want natural-language interaction with Kubernetes clusters
- you need a kubectl plugin that supports many LLM providers including local models
- you want an MCP client/server for Kubernetes tooling

## When to avoid
- you need fully automated, non-interactive cluster management without LLM costs
- your environment forbids sending cluster context to external AI providers
- you are not using Kubernetes

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, agent-framework, llm-inference, mcp, developer-tools
- domain: developer-tools, artificial-intelligence, large-language-models
- platform: windows, cli, go
- tags: kubernetes, kubectl-plugin, ai-assistant, natural-language-operations, llm, command-line, devops, linux, macos

## Member repositories
- GoogleCloudPlatform/kubectl-ai (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:01.632205+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:22.489738+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/kubectl-ai (fetched 2026-08-28T04:10:01.632205+00:00, sha c19d6ea04744)
- Data as of 2026-08-30T08:39:29.467469+00:00.
