Automic VaultAutomic Vault

brew

Install k8sgpt with Homebrew, Nix

Scanning your k8s clusters, diagnosing, and triaging issues in simple English. Version 0.4.36 via Homebrew; verified 2026-07-10. Also installable with nix: nix profile install nixpkgs#k8sgpt.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install k8sgpt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#k8sgpt

nixpkgs package indexes · pkgs/by-name/k8/k8sgpt/package.nix · source: api.github.com

overview

Package summary

Scanning your k8s clusters, diagnosing, and triaging issues in simple English

Commands and aliases

  • k8sgpt

history

Project history and usage

K8sGPT is a Kubernetes diagnostics CLI that combines cluster analysis with large-language-model backends, turning Kubernetes failure signals into plain-English explanations. In package-manager culture it sits at the meeting point of cloud-native operations and the 2023 wave of AI-assisted developer tooling.

Project history

The public GitHub repository was created in March 2023 under the k8sgpt-ai organization. The project describes itself as a tool for scanning Kubernetes clusters, diagnosing and triaging issues in simple English, with analyzers that encode SRE experience.

K8sGPT moved quickly from a standalone CLI idea into a broader cloud-native project surface. The documentation covers getting started flows, integrations, and operator-style use, while the repository and project site present the tool as a Kubernetes-first assistant rather than a general chatbot wrapper.

Adoption history

CNCF accepted K8sGPT as a Sandbox project on December 19, 2023. That milestone gave the tool a recognizable governance and discovery channel in the same ecosystem as Kubernetes, Helm, Prometheus, and other operational packages.

Homebrew and Nix packaging made the CLI easy to install into local Kubernetes troubleshooting workflows. Its adoption pattern is typical of modern cloud-native CLIs: operators install a small binary, point it at kubeconfig-backed clusters, and then decide which AI backend or integration is appropriate for their environment.

How it is used

K8sGPT is commonly used as an interactive diagnostic layer for Kubernetes clusters. Users run the CLI against live cluster resources, review analyzer output, and optionally use configured AI providers to explain or triage the findings.

Because its credentials and backend settings can live in the same user-level YAML configuration, the package has an operational security dimension: it is not just a read-only formatter, but a tool that may combine Kubernetes access with AI provider credentials.

Why package nerds care

For package nerds, K8sGPT is a snapshot of the moment when AI tools became normal enough to be packaged beside kubectl-adjacent utilities. It is small, Go-based, cloud-native, and interesting precisely because it translates high-context cluster state into a single local command.

Its CNCF Sandbox status also matters: Homebrew formulae for CNCF-adjacent projects often become the fastest path for operators to try experimental infrastructure tools without committing to a cluster add-on first.

Timeline

  • 2023-03: Public GitHub repository created.
  • 2023-04: Early v0.1.x and v0.2.x releases published.
  • 2023-12-19: Accepted into the CNCF Sandbox.

Related projects

  • K8sGPT belongs near kubectl, k9s, Lens, Prometheus, and Kubernetes operator tooling in a package taxonomy. Its related project surface includes the K8sGPT operator, Kubernetes analyzers, and AI provider integrations rather than Kafka-style data-plane tools.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:cluster

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.k8sgpt.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.k8sgpt.yaml

executables

Installed executables

CommandKindExposureNote
k8sgptcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version0.4.36
manager updated2026-07-10
local dataok
upstreamcurrent
latest detectedv0.4.36

https://github.com/k8sgpt-ai/k8sgpt

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:k8sgpt
Version0.4.36
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/k8sgpt
Homepagehttps://k8sgpt.ai/
Repositoryhttps://github.com/k8sgpt-ai/k8sgpt
Upstream docshttps://docs.k8sgpt.ai/
LicenseApache-2.0
Source archivehttps://github.com/k8sgpt-ai/k8sgpt/archive/refs/tags/v0.4.36.tar.gz
Last updated2026-07-10T16:07:12Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namek8sgpt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

k8sgpt

nix profile install nixpkgs#k8sgpt
  • normalized package name match
  • Matched by: K8sgpt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/k8/k8sgpt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment