ZenML is built for ML or AI Engineers working on traditional ML use-cases, LLM workflows, or agents, in a company setting.
At it's core, ZenML allows you to write workflows (pipelines) that run on any infrastructure backend (stacks). You can embed any Pythonic logic within these pipelines, like training a model, or running an agentic loop. ZenML then operationalizes your application by:
Automatically containerizing and tracking your code.
Tracking individual runs with metrics, logs, and metadata.
Abstracting away infrastructure complexity.
Integrating your existing tools and infrastructure e.g. MLflow, Langgraph, Langfuse, Sagemaker, GCP Vertex, etc.
Allowing you to quickly iterate on experiments with an observable layer, in development and in production.
...amongst many other features.
ZenML is used by thousands of companies to run their AI workflows. Here are some featured ones:
# Install ZenML with server capabilities
pip install "zenml[server]" # pip install zenml will install a slimmer client
# Initialize your ZenML repository
zenml init
# Start local server or connect to a remote one
zenml login
You can then explore any of the examples in this repo. We recommend starting with the quickstart, which demonstrates core ZenML concepts: pipelines, steps, artifacts, snapshots, and deployments.
Stop clicking through dashboards to understand your ML workflows. The ZenML MCP Server lets you query your pipelines, analyze runs, and trigger deployments using natural language through Claude Desktop, Cursor, or any MCP-compatible client.
💬 "Which pipeline runs failed this week and why?"
📊 "Show me accuracy metrics for all my customer churn models"
🚀 "Trigger the latest fraud detection pipeline with production data"
The MCP (Model Context Protocol) integration transforms your ZenML metadata into conversational insights, making pipeline debugging and analysis as easy as asking a question. Perfect for teams who want to democratize access to ML operations without requiring dashboard expertise.
🤖 Kitaru: Replay-Based Evals for AI Agents
Running AI agents in production and wondering whether the cheaper model would have held, or whether the new prompt fixes Tuesday's failure? Kitaru is our open-source sister project for agents: traces you can run, not just read.
Every run is a recording — wrap your agent once (PydanticAI today), or import the Langfuse traces you already collect
Replay is re-execution — the run happens again against your real code, with recorded tool calls answered from the recording, so nothing touches live systems
Fork with one thing changed — a cheaper model, a new prompt, the fix in your working tree — and trust the diff
Scale the decision — freeze real traffic into cohorts, run experiments, gate CI on the result
Self-hosted, by design — one small server on your infrastructure; replays execute on workers in your environment
The split is clean: ZenML is for ML pipelines, Kitaru is for agents.
Q: "Do I need to rewrite my agents or models to use ZenML?"
A: No. Wrap your existing code in a @step. Keep using scikit-learn, PyTorch, LangGraph, LlamaIndex, or raw API calls. ZenML orchestrates your tools, it doesn't replace them.
Q: "How is this different from LangSmith/Langfuse?"
A: They provide excellent observability for LLM applications. We orchestrate the full MLOps lifecycle for your entire AI stack. With ZenML, you manage both your classical ML models and your AI agents in one unified framework, from development and evaluation all the way to production deployment.
Q: "Can I use my existing MLflow/W&B setup?"
A: Yes! ZenML integrates with both MLflow and Weights & Biases. Your experiments, our pipelines.
Q: "Is this just MLflow with extra steps?"
A: No. MLflow tracks experiments. We orchestrate the entire development process – from training and evaluation to deployment and monitoring – for both models and agents.
Q: "What about cost? I can't afford another platform."
A: ZenML's open-source version is free forever. You likely already have the required infrastructure (like a Kubernetes cluster and object storage). We just help you make better use of it for MLOps.