K8sHolmes
A self-hosted platform for investigating Kubernetes environments. Ask a question in plain words. K8sHolmes frames it, finds out what it may read, chooses from a catalog of investigative capabilities, gathers evidence, tests explanations, and answers with findings that cite their evidence, say what they could not know, and respect what your team has already decided is intentional. Reports are computed from the records. You bring the model; code does the deciding.
Status: 0.1.0, the first release, with all four milestones of the accepted design built. The design is in design/current.md (§19 says what is implemented); why it looks like this is in design/README.md and the owner's brief, design/history/0001-owner-brief.md.
What it does
- Investigates any question, not a fixed list: which services look unused, which alerts are missing, what we overlook, what broke without an alert, whether the environment is isolated, the likely path of a failure, what changed before a problem, what a failure would affect, whether the last change helped.
- Runs tools under a code gate. A catalog of capabilities with clear purposes, validated inputs, permissions, classes (inspect, probe, change) and coverage; browse, scope, test and audit them; add your own through a documented extension mechanism. What may run is never decided by the model.
- Keeps evidence with coverage. Everything read is recorded with its source, query, time and hash, and says whether it observed something, observed its absence, had no data, or cannot answer. "Unused", "isolated" and "traced" are never claimed without the source that could know.
- Separates observation, hypothesis and reviewed conclusion, cites evidence for and against, states uncertainty and missing information, and never prints invented confidence numbers.
- Remembers your decisions. Accept a finding as intentional with its exact scope, explanation, approver, review date and reconsideration triggers; later investigations apply it precisely and never to anything else. Keep scoped knowledge (ownership, criticality, maintenance windows, constraints) and see where it influenced a conclusion.
- Reports from records: live summaries, final reports, incident reviews, reliability and monitoring reviews, comparisons between runs; every number computed; shareable, permission-controlled; Markdown and JSON downloads.
- Follows through: findings move from open to acknowledged, accepted risk, fixed and verified; proposals state their intended effect and verification; a verification reruns the checks and compares before and after.
- Recurs quietly: save a question with its scope and schedule; later runs report what changed, not what stayed the same.
- Your model, visibly: any OpenAI-compatible endpoint, tested for connectivity, tool calling, streaming and structured replies, with limits, budgets and usage shown, and no silent switching.
- A calm interface: graphite surfaces, ivory text, copper for actions, a geometric H mark; the question first, the answer next, everything else behind tabs and inspectors.
Install and run
Python 3.11 or newer:
pip install k8sholmes
k8sholmes demo # a recorded environment and an offline investigator; no cluster, no model
k8sholmes serve # http://127.0.0.1:8800/ ; sign in as demo / demo-password
For your own environment: start serve on a fresh home, open the setup link it prints to create the first
administrator, then in Settings connect an environment (a kubeconfig context on this host; only its name is
stored), add your OpenAI-compatible model endpoint and run its capability tests, and grant roles. Real
environments need kubectl on the PATH; K8sHolmes only ever runs its read-only verbs. The command line
investigates too: k8sholmes investigate "Why is api restarting?" --env demo. Runnable, explained
examples are in examples/; the user documentation starts at
docs/README.md.
How this is being built
Specified by a human; designed and built by AI against a written design and tests; every decision is reviewed by a human. The design history is in design/changes/ and design/decisions.md. Contributors: CONTRIBUTING.md; AI coding tools: AGENTS.md.
License
Apache-2.0. Copyright 2026 Bahman Shadmehr.
Metadata
Release files for k8sholmes 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| k8sholmes-0.1.0.tar.gz | 314.1 kB | With provenance | Details for k8sholmes-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| k8sholmes-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for k8sholmes-0.1.0-py3-none-any.whl |
Total release size: 509.8 kB
Release files / k8sholmes-0.1.0.tar.gz
| Download URL | k8sholmes-0.1.0.tar.gz |
|---|---|
| Size | 314.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65fe4f311b6d3ef1f3f0239eafc7a871f5380a66ec6af6b113e965a6fbf1dc35
|
|
BLAKE2b-256 checksum How to use checksums |
14e52a710d1bdb3c8288ca4ee0dd5ab0657a3e31f83e68d29edad3309d172488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logRelease files / k8sholmes-0.1.0-py3-none-any.whl
| Download URL | k8sholmes-0.1.0-py3-none-any.whl |
|---|---|
| Size | 195.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60402f8d96bffcaff8ef4a3f765184e651c5121c549b9223d707b74f4a926ffe
|
|
BLAKE2b-256 checksum How to use checksums |
2e5802f3fa8002c8d12cd66841c9268bf1a6acd0e047fea31cdaadf7074cf5a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for k8sholmes 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for k8sholmes-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.