ZenML
$ zenml Official Med RiskZenML (zenml) standardizes ML and LLM pipelines across local runners, Kubernetes, Vertex AI, and SageMaker. Listing and inspection commands support --output=json (or ZENML_DEFAULT_OUTPUT=json), and component registrations run non-interactively when -i is omitted and flags are supplied explicitly.
pip install zenml zenml binds directly to local Python pipeline code, Docker builds, and stack secrets while exposing clean --output=json inspection.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Consistent --output=json (-o json) and ZENML_DEFAULT_OUTPUT=json across query commands, plus explicit flags that bypass -i interactive prompts.
--output=jsonandZENML_DEFAULT_OUTPUT=jsonsupported on list commands- Headless auth via
ZENML_STORE_URLandZENML_STORE_API_KEY
Supports scoped API keys and local workspace .zen isolation, though destructive stack/model delete commands lack a --dry-run preview.
- Separates local
.zenstate from remoteZENML_STORE_URL - No global
--dry-runon delete or remote stack mutations
Installable via pip install zenml across macOS, Linux, and Windows, though Python dependency tree and Click startup add moderate latency.
- Standard PyPI package with optional server/dashboard extras
Covers stack composition, service connectors, pipeline run tracking, model registry, and artifact inspection in one CLI.
- Unifies stacks, pipelines, models, and service connectors
Official ZenML repository (zenml-io/zenml) under Apache-2.0 with active release cadence.
- First-party
zenml-io/zenmlrepo under Apache-2.0
Auto-generated Click CLI reference on docs.zenml.io and descriptive --help subcommands.
- Dedicated CLI reference at docs.zenml.io/reference/cli-reference
Security, Auth & Guardrails
Stores global server configs and tokens in the OS user config directory (zenml login) or reads ZENML_STORE_URL and ZENML_STORE_API_KEY env vars.
Apache-2.0 open-source CLI and core; ZenML Pro managed control plane offers paid team tiers.
# ZenML CLI (zenml) Agent Rules - Always pass `--output=json` (or set `ZENML_DEFAULT_OUTPUT=json`) when listing stacks, components, or runs. - Never pass `-i` (interactive mode) on `zenml stack register` or `zenml service-connector register`. - Authenticate headlessly with `ZENML_STORE_URL` and `ZENML_STORE_API_KEY` rather than browser `zenml login`.
Agent-Ready Command Recipes
Safe Read-Only Queries
zenml stack list --output=json
Emits configured stacks and component IDs in structured JSON for agent parsing.
zenml pipeline runs list --output=json
Returns recent pipeline run statuses, timestamps, and stack references as JSON.
Controlled Writes & Previews
zenml init
Creates a local .zen tracking directory in the current workspace without modifying remote servers.
Strengths for Agents
- + Global
--output=jsonandZENML_DEFAULT_OUTPUT=jsonmake list and inspection output machine-parseable. - + Explicit flag syntax avoids
-iinteractive wizards during CI and agent execution.
Caveats & Pitfalls
- ! Python CLI startup takes noticeable time due to Pydantic/SQLModel imports.
- !
zenml logindefaults to browser auth unlessZENML_STORE_API_KEYis configured.