Open Source

Get started.

Install ZenML, run a pipeline on your laptop, then point the same code at your own cloud. Open source, no lock-in.

Looking for Kitaru? Replay and regression-test your agents from its own start page.

Build your first pipeline

  1. 01

    Install ZenML

    Get ZenML up and running in minutes. You just need to install it

    bash
    pip install 'zenml[local]'
  2. 02

    Track inputs and outputs

    Wire two steps into a training pipeline. ZenML tracks every input and output as a versioned artifact:

    python
    from sklearn.base import ClassifierMixin
    from sklearn.datasets import load_iris
    from sklearn.svm import SVC
    from zenml import step, pipeline
    
    
    @step
    def load_data() -> tuple[list, list]:
        X, y = load_iris(return_X_y=True)
        return X, y
    
    
    @step
    def train_model(X: list, y: list) -> ClassifierMixin:
        # The returned model is versioned + tracked as an artifact automatically.
        return SVC().fit(X, y)
    
    
    @pipeline
    def training_pipeline():
        X, y = load_data()
        train_model(X, y)
    
    
    if __name__ == "__main__":
        training_pipeline()
  3. 03

    Run your pipeline locally

    Run it locally. The pipeline executes, artifacts are versioned, and the run shows up in your dashboard.

    bash
    python run.py

Built on a Robust Client-Server Architecture

ZenML is a metadata layer on top of your existing infrastructure, meaning all data and compute stays on your side.

ZenML system architecture diagram showing connections between five main components: ZenML Client (Development Environment), ZenML Server, Database, MLOps Infrastructure (Cloud, Kubernetes, on-prem), and MLOps Tools (Experiment tracker, model deployer)

Start with one of our ready-made projects

Everything you need to replicate a production-grade use case: demo, video, blog, and code.

Your Complete ZenML Learning Toolkit

Dive deeper into ZenML with comprehensive documentation, development tools, hands-on tutorials, and a thriving community of ML and AI engineers ready to help you succeed.

Ready for
the next level?

Run AI workflows or agent replays on a managed control plane. RBAC, audit logs, and dedicated support.