npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kubeagentix-ce

v0.4.0

Published

<div align="center"> <img src="docs-site/static/img/kubeagentix-ce-banner.png" alt="KubeAgentiX CE banner" width="760" /> </div>

Readme

KubeAgentiX CE

CI Security CodeQL Docs Pages GitHub stars License: Apache-2.0

KubeAgentiX CE is an open-source Kubernetes diagnostics copilot focused on one core workflow:

Guided RCA -> Safe Action Plan -> Skill-driven execution

It helps operators and developers diagnose Kubernetes incidents faster using explainable evidence from cluster data (events, logs, status, metrics) while preserving execution safety with policy-guarded command routing.

1-Minute Setup

npx kubeagentix-ce@latest

KubeAgentiX CE starts on http://localhost:4000 by default.

If this project helps you, please star the repo: https://github.com/kubeagentix/kubeagentix-ce

Key Features

  • Guided Quick Diagnosis (QuickDx) with confidence breakdown and evidence traces.
  • AI-assisted Chat with deterministic fallback behavior.
  • Terminal with dual modes:
    • Command mode (direct kubectl execution)
    • Natural Language mode (NL -> safe command suggestion -> edit -> execute)
  • Skill-driven Runbooks for structured remediation workflows.
  • Broker policy layer (allowlist, guardrails, typed errors, auditability).
  • Browser-first architecture with optional WASM-assisted analysis helpers.

Why CLI Tools for Agentic Ops (vs MCP-heavy/custom stacks)

KubeAgentiX CE is deliberately built around real CLI tools for agents (starting with kubectl) instead of requiring every capability to be re-implemented as MCP/custom tools.

  • Reuses existing kubeconfig, contexts, and plugin workflows operators already trust.
  • Lowers integration overhead and maintenance burden for DevOps-heavy environments.
  • Makes command preview + policy gating explicit before execution.
  • Keeps behavior observable with concrete commands and outputs.

MCP/custom tools are still useful where needed, but CLI-first gives a faster and more pragmatic path for Kubernetes operations.

Architecture

flowchart LR
  UI["React UI\n(Chat, QuickDx, Runbooks, Terminal)"] --> API["Express API"]
  API --> BROKER["Command Broker\n(policy + adapters)"]
  BROKER --> KUBECTL["kubectl / cluster tools"]
  API --> RCA["RCA Service\n(heuristic + agentic enrichment)"]
  RCA --> LLM["LLM Providers\n(optional)"]
  UI --> WASM["WASM Helpers\n(client-side scoring)"]

Quickstart

Prerequisites

  • Node.js 22+
  • pnpm 10+
  • kubectl installed and available on PATH
  • kubeconfig/context configured (~/.kube/config or KUBECONFIG)

Option A: Docker Compose (Secondary)

git clone https://github.com/kubeagentix/kubeagentix-ce.git
cd kubeagentix-ce
cp .env.example .env
docker compose up --build

Docker mode mounts your host kubeconfig from ${HOME}/.kube and runs kubectl inside the container. For local clusters that expose the API server on 127.0.0.1/localhost (for example kind), the container starts localhost TCP bridges to the host by default so kubeconfig can keep using local endpoints.

Optional Bootstrap CLI (Secondary)

If you prefer scaffolding into a local folder first:

npx create-kubeagentix-ce@latest

Option B: Local From Source

git clone https://github.com/kubeagentix/kubeagentix-ce.git
cd kubeagentix-ce
pnpm install
cp .env.example .env
pnpm dev

Build and Test

pnpm typecheck
pnpm test
pnpm build
pnpm e2e
pnpm --dir docs-site build

Environment Variables

See .env.example for full set. Typical variables:

  • PORT (default 4000)
  • ANTHROPIC_API_KEY
  • ANTHROPIC_AUTH_TOKEN (optional alternative to API key for Claude)
  • OPENAI_API_KEY
  • GOOGLE_API_KEY
  • VITE_USE_WASM_CORE

If no LLM keys are set, heuristic fallback paths remain available for core diagnosis/suggestion flows.

Troubleshooting

  • No kubectl found: For local mode, install kubectl and ensure it is on PATH. For Docker mode, rebuild the image: docker compose up --build.
  • No kubeconfig found: Configure cluster access in ~/.kube/config or set KUBECONFIG.
  • Docker + localhost cluster endpoint: If your kubeconfig uses localhost/127.0.0.1, keep KUBEAGENTIX_PROXY_LOCALHOST_KUBECONFIG=true (default) so the container can bridge localhost ports to the host endpoint.
  • Port already in use: Run with a different port: PORT=4100 npx kubeagentix-ce@latest

Documentation

  • User docs: docs-site/docs/users/
  • Developer docs: docs-site/docs/developers/
  • Docusaurus site: docs-site/

To run docs locally:

pnpm --dir docs-site install
pnpm --dir docs-site start

Security

  • Security policy: SECURITY.md
  • CI security checks include dependency review, vulnerability scan, secret scan, CodeQL, and SBOM generation.

Contributing

Contributions are welcome.

Roadmap (Public)

Near-term OSS focus:

  • Improve RCA precision and explainability.
  • Expand skills coverage and verification flows.
  • Strengthen multi-cluster context handling.
  • Improve observability integrations in a non-breaking way.
  • Add an optional NPX bootstrap flow for one-command local startup.

Community

  • GitHub: https://github.com/kubeagentix/kubeagentix-ce
  • Discussions and issues are the primary feedback channel.
  • Agentic DevOps Collective: https://agenticdevops.org/

If this project helps you, please star the repo: https://github.com/kubeagentix/kubeagentix-ce

Star History

Star History Chart

License

Apache License 2.0. See LICENSE.