Skip to main content

Zem: Unified Data Pipeline Framework (ZenML + NeMo Curator + DataJuicer) for multi-domain processing

Project description

🚀 Zem

Version License ZenML MCP

Zem is a high-performance, unified data pipeline framework designed for the modern AI era. It seamlessly bridges ZenML's production-grade orchestration with specialized curation powerhouses like NVIDIA NeMo Curator and Alibaba Data-Juicer using the Model Context Protocol (MCP).


✨ Key Features

  • 🏗️ Config-Driven Power: Define complex, production-ready pipelines in single YAML files.
  • True Parallel DAGs: Execute independent processing branches concurrently using a custom ParallelLocalOrchestrator.
  • 🧠 Frontier LLM Integration: Smart data masking, classification, and summarization via Ollama or OpenAI.
  • 📊 Deep Observability: Real-time profiling, per-tool performance metrics, and a beautiful integrated dashboard.
  • 🔄 Adaptive Caching: Fine-grained, step-level cache control to optimize your development cycles.
  • 🔌 Cloud Native: Native support for S3, GCS, and Parquet with seamless export to Hugging Face Hub and Vector DBs.

🏗️ Architecture

graph TD
    YAML["📄 pipeline.yaml"] --> Client["🛠️ Zem CLI / Client"]
    Client --> ZenML["🌀 ZenML Orchestrator"]
    ZenML --> Parallel["⚡ Parallel Local Orchestrator"]
    Parallel --> MCP_Bridge["🔗 MCP Bridge"]
    
    subgraph "Specialized Servers (MCP)"
        MCP_Bridge --> Nemo["🦁 NeMo Curator (GPU)"]
        MCP_Bridge --> DJ["🧃 Data-Juicer"]
        MCP_Bridge --> LLM["🤖 Frontier LLMs"]
        MCP_Bridge --> Prof["📈 Profiler"]
    end
    
    subgraph "Storage & Sinks"
        Nemo --> S3["☁️ Cloud / Parquet"]
        DJ --> HF["🤗 Hugging Face"]
        LLM --> VDB["🌐 Vector DB"]
    end

🚀 Quick Start

1. Installation

git clone https://github.com/OAI-Labs/xfmr-zem.git
cd xfmr-zem
uv sync

2. Initialize a New Project

# Bootstrap a standalone project with a sample agent
uv run zem init my_project
cd my_project

3. Run Your First Pipeline

uv run zem run pipeline.yaml

4. Visualize & Inspect

# Open ZenML Dashboard
uv run zem dashboard

# Preview results with sampling
uv run zem preview <artifact_id> --sample --limit 5

📖 Guided Documentation

Topic Description Link
Core Concepts Understand the Zem architecture and MCP model. AGENTS.md
Pipeline YAML How to write and validate your pipeline configs. Standard Example
Advanced Parallelism Setup true local concurrency. Parallel Guide
LLM & Sinks Connecting to external AI stacks. Phase 4 Demo

🤝 Contributing

We welcome contributions! Whether it's a new MCP server, a performance fix, or a typo in the docs, feel free to open a Pull Request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

⚖️ License

Distributed under the Apache-2.0 License. See LICENSE for more information.


Built with ❤️ by the OAI-Labs Team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xfmr_zem-0.2.1.tar.gz (214.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xfmr_zem-0.2.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file xfmr_zem-0.2.1.tar.gz.

File metadata

  • Download URL: xfmr_zem-0.2.1.tar.gz
  • Upload date:
  • Size: 214.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xfmr_zem-0.2.1.tar.gz
Algorithm Hash digest
SHA256 52c11aaf5980dec58d5566bca276e282d8546e644648fe11b0e267f03c6d223d
MD5 154656db1c33b892053b8652aa240300
BLAKE2b-256 a0594c21837d641e5b54c122713e61653a2aee08de5cebbfa389e66a87e05444

See more details on using hashes here.

File details

Details for the file xfmr_zem-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: xfmr_zem-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xfmr_zem-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12bc5003183a98c05743dde9fd6c31b614f136f657dc8010cdbcfbd322687af0
MD5 f8217013e244a73ccc92ef40fb8747d6
BLAKE2b-256 c763445353486414155b9412fd2286ea1aded8609089bf8730897b1ee9579165

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page