Skip to main content

enkindler CLI

Command-line interface for the Enkindler AI operations dashboard. Manages AKS deployments, Helm platforms, integrations, and cluster resources from your terminal.

Patterned after az and databricks — designed to be ergonomic for both humans and AI agents.

Install

Current release: 0.11.0

pip install --upgrade enkindler

Works on macOS, Linux, and Windows (Python 3.10+).

Quick start

# Sign in: generate a CLI token on the dashboard's /cli-token page, then paste it
enkindler login --token

# Or the browser convenience flow (requires the cluster's Entra loopback redirect URI)
enkindler login

# Verify the session
enkindler whoami

# List your deployments
enkindler deployment list

Namespaces

One workload (app, platform, or CronJob) is allowed per namespace. Workload create commands (deployment create, helm install, cronjob create) require --namespace <full-aks-namespace> — the full name, already workspace-prefixed as <workspace-slug>-<name> (e.g. workspace finance → finance-invoices). The backend rejects names outside the active workspace.

Pre-flight a namespace before creating (checks both workload occupancy and the admin-managed restricted-namespaces denylist; exits 1 if taken):

enkindler namespace occupancy                               # occupied namespaces in the workspace
enkindler namespace occupancy --namespace finance-invoices  # single-candidate check

Platform admins manage the denylist with enkindler settings update --set 'RESTRICTED_NAMESPACES=finance-legacy,shared-infra' (system namespaces like default and kube-system are always restricted). A workload's namespace is immutable after creation.

Command groups

Noun Purpose
login / logout / whoami / health Session and liveness
config Local cluster profiles and the active workspace
deployment AKS app workloads: create/scale/env/rollback, Entra identity, API permissions, security groups
helm / platform Helm releases, repos, image builds, privileged release ops
app Run a workload's own API via its source-generated contract
cronjob Scheduled workloads
pipeline Build pipelines, runs, ACR repository claims
cluster Live Kubernetes introspection (nodes, pods, logs, metrics)
integration ACR, DevOps, GitHub App, Key Vault, MySQL, database providers, Log Analytics
github Template-provisioned repositories via the platform GitHub App
workspace / namespace Workspaces, members, deployment policy, namespace pre-flight
analytics Usage overview, governance, per-workload metrics, Report Center
model / alerting / user Model registry, alert rules and channels, RBAC
settings Platform settings, audit log, auth proxy, monitoring, platform GitHub App
system / self / privacy Readiness preflights, component versions, data-subject erasure

Commands that call the API take --cluster/-c, --api-url, and --workspace/-w. login, logout, whoami, and the local config verbs take only the subset they use; see each command's --help. Platform-wide reads that span workspaces take --global (platform Admin).

Analytics and reports

enkindler analytics overview -w 1 --start 1756684800 --end 1757289600
enkindler analytics governance -w 1
enkindler analytics timeseries app 17 --bucket 1h        # JSON series

# Queue a CSV snapshot, poll it, download it
enkindler analytics report create -w 1 --section usage --start 1756684800 --end 1757289600
enkindler analytics report get 9
enkindler analytics report download 9 -o usage.csv

Configuration

Config and the cached JWT live at:

OS Path
macOS ~/Library/Application Support/enkindler/config.toml
Linux ~/.config/enkindler/config.toml
Windows %APPDATA%\enkindler\config.toml

Override the backend URL with --api-url https://... on any command, or set ENKINDLER_API_URL in the environment.

Architecture

  • Backend exposes an OpenAPI spec at /api/openapi.json (the contract).
  • Commands are hand-written against that spec and call the API through Client; the spec is snapshotted in tests/openapi.snapshot.json so tests catch field drift, and its x-cli-hints name the command for each operation.
  • Auth uses backend-issued tokens: sign in to the web dashboard, generate a CLI token at /cli-token, and paste it at the enkindler login --token prompt. A browser OAuth (PKCE) flow is available via plain enkindler login on clusters whose Azure app registration allows loopback redirects.

Development

python -m venv .venv && source .venv/bin/activate  # or `.venv\Scripts\activate` on Windows
pip install -e '.[dev]'
pytest
ruff check .

License

MIT

Metadata

Release files for enkindler 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enkindler 0.11.0
File Size Uploaded Provenance Actions
enkindler-0.11.0.tar.gz 97.9 kB Without provenance Details for enkindler-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enkindler 0.11.0
File Interpreter ABI Platform Actions
enkindler-0.11.0-py3-none-any.whl Python 3 none any Details for enkindler-0.11.0-py3-none-any.whl

Total release size: 207.0 kB

Release files / enkindler-0.11.0.tar.gz

Download URL enkindler-0.11.0.tar.gz
Size 97.9 kB
Tags Source
SHA-256 checksum
How to use checksums
53e7224fa74fb0f15c24f1184d2c9b365757fa35a90292eb901895033c502333
BLAKE2b-256 checksum
How to use checksums
f4b47c2b0b436c742386737c3d3ebbc128252299cf2b067b87487390045e7fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / enkindler-0.11.0-py3-none-any.whl

Download URL enkindler-0.11.0-py3-none-any.whl
Size 109.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b95223afdd245469ad1ac350a30b06e9322d74c849a0ca6275bf904473a8fd8
BLAKE2b-256 checksum
How to use checksums
04701f50fd701242c01b7945f291f66820ce34d68b80bfc87082df2e7e7d1234
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for enkindler 0.11.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page