kubectl-ai - AI Developer Tools Tool
Overview
kubectl-ai is an open-source, AI-powered kubectl extension from GoogleCloudPlatform that translates natural-language intent into concrete Kubernetes operations and interactive diagnostics. It can run as a kubectl plugin or standalone binary, supports interactive chat and single-command modes, and can accept stdin for multiline queries or piped inputs to automate cluster tasks. The tool emphasizes safety and transparency by showing tool call outputs and letting users review generated kubectl or bash commands before execution. ([github.com](https://github.com/GoogleCloudPlatform/kubectl-ai?utm_source=openai)) Designed for cluster operators and SREs, kubectl-ai integrates with multiple LLM providers (Gemini/Vertex AI, OpenAI, AWS Bedrock, Ollama, llama.cpp and others) and provides session persistence, metaquery handling, and terminal UI improvements to streamline debugging, log analysis, and resource management. It also exposes MCP (Model Context Protocol) server/client modes to share or consume tool capabilities and includes k8s-ai-bench — a benchmark suite for evaluating LLMs on Kubernetes tasks. These capabilities are documented and maintained in the project repository. ([github.com](https://github.com/GoogleCloudPlatform/kubectl-ai?utm_source=openai))
GitHub Statistics
- Stars: 7,259
- Forks: 679
- Contributors: 52
- License: Apache-2.0
- Primary Language: Go
- Last Updated: 2026-01-23T23:27:41Z
- Latest Release: v0.0.29
Repository activity and community health indicate an active open-source project with cross-contributions and recent releases. According to the project repository, kubectl-ai has a substantial contributor and release history and documents active development patterns such as frequent fixes, new features, and evaluation tooling. Recent release notes show incremental feature additions (for example v0.0.27 patch notes) and enhancements to tracing, evals, and server modes. The project is Apache-2.0 licensed and maintained in the GoogleCloudPlatform organization. ([github.com](https://github.com/GoogleCloudPlatform/kubectl-ai?utm_source=openai)) Repository metrics (stars, forks, contributors, and last-commit date) supplied in the project context signal healthy community engagement: 7,259 stars, 679 forks, 52 contributors, Apache-2.0 license, with development activity as recently as January 23, 2026 (last commit). These figures reflect steady contributor involvement and ongoing maintenance.
Installation
Install via docker:
Quick (curl) install (Linux/macOS): curl -sSL https://raw.githubusercontent.com/GoogleCloudPlatform/kubectl-ai/main/install.sh | bashInstall as kubectl plugin via Krew: kubectl krew install aiManual (download binary): tar -zxvf kubectl-ai_Darwin_arm64.tar.gz; chmod a+x kubectl-ai; sudo mv kubectl-ai /usr/local/bin/Docker build (local): git clone https://github.com/GoogleCloudPlatform/kubectl-ai.git && cd kubectl-ai && docker build -t kubectl-ai:latest -f images/kubectl-ai/Dockerfile .Docker run example (web UI + Vertex AI): docker run --rm -it -p 8080:8080 -v ~/.kube:/root/.kube -v ~/.config/gcloud:/root/.config/gcloud -e GOOGLE_CLOUD_PROJECT=my-gcp-project kubectl-ai:latest --llm-provider vertexai --ui-listen-address 0.0.0.0:8080 --ui-type web Key Features
- Natural-language to kubectl translation with reviewable commands before execution.
- Supports many LLM providers: Gemini/Vertex AI, OpenAI, AWS Bedrock, Ollama, llama.cpp, and local models.
- Session persistence with list, resume, new, and delete session operations for multi-turn context.
- MCP server/client modes to expose or consume external tools and aggregate toolsets.
- k8s-ai-bench benchmarking suite to evaluate LLMs on standardized Kubernetes tasks.
Community
Active open-source community with measurable engagement: 7,259 stars, 679 forks, 52 contributors, Apache-2.0 license, and ongoing commits and releases. The project maintains release notes and changelogs documenting feature additions (terminal UI improvements, tracing, eval enhancements, MCP features), and contributors submit fixes and new providers. Community interaction happens through GitHub issues, PRs, and releases; maintainers publish changelogs and contributor lists in releases. For authoritative details and release history, see the repository and releases pages. ([github.com](https://github.com/GoogleCloudPlatform/kubectl-ai?utm_source=openai))
Key Information
- Category: Developer Tools
- Type: AI Developer Tools Tool