ZEN Engine: A Cross-Platform Business Rules Engine Powered by Rust

This repository profile is provided by osrepos.com, an open source repository discovery platform.

ZEN Engine: A Cross-Platform Business Rules Engine Powered by Rust

Summary

ZEN Engine is an open-source, cross-platform Business Rules Engine written in Rust. It provides native bindings for various languages like NodeJS, Python, Go, and JVM, enabling developers to integrate powerful decision-making logic into their applications. The engine utilizes the JSON Decision Model (JDM) for defining and executing complex business rules efficiently.

Repository Information

Analyzed by OSRepos on October 19, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

ZEN Engine is an open-source, cross-platform Business Rules Engine (BRE) meticulously crafted in Rust. It provides robust native bindings for a wide array of programming languages, including NodeJS, Python, Go, Kotlin (JVM), and Java, allowing seamless integration of complex decision-making logic into diverse applications. At its core, ZEN Engine is designed to load and execute JSON Decision Models (JDM), offering a standardized and efficient way to define and manage business rules. This powerful engine empowers developers to build intelligent, adaptable systems with ease.

Installation

Getting started with ZEN Engine, especially with its Rust core, is straightforward. For Rust projects, you can add zen-engine as a dependency in your Cargo.toml file.

[dependencies]
zen-engine = "0"

For other supported platforms, native bindings are available and can be integrated via their respective package managers:

  • NodeJS: Install via npm.
  • Python: Install via pip.
  • Go: Integrate using Go modules.

Refer to the official documentation for detailed installation instructions for each platform.

Examples

The following Rust example demonstrates how to load a JSON Decision Model and evaluate it using the ZEN Engine. This snippet showcases the simplicity and power of integrating the engine into your Rust application.

use serde_json::json;
use zen_engine::DecisionEngine;
use zen_engine::model::DecisionContent;

async fn evaluate() {
    let decision_content: DecisionContent = serde_json::from_str(include_str!("jdm_graph.json")).unwrap();
    let engine = DecisionEngine::default();
    let decision = engine.create_decision(decision_content.into());

    let result = decision.evaluate(&json!({ "input": 12 })).await;
}

This example initializes a DecisionEngine, loads decision content from a JSON file, creates a decision, and then evaluates it with a given input.

Why Use It?

ZEN Engine stands out as an excellent choice for implementing business rules due to several key advantages:

  • Cross-Platform Compatibility: With native bindings for Rust, NodeJS, Python, Go, Kotlin (JVM), and Java, ZEN Engine offers unparalleled flexibility, allowing you to use it across your preferred technology stack.
  • High Performance: Built on Rust, known for its speed and memory efficiency, the engine delivers high-performance rule execution, crucial for demanding applications.
  • JSON Decision Model (JDM): It leverages JDM, a clear and structured JSON-based format for defining decision models, making rules human-readable, maintainable, and easily shareable.
  • Rich Decision Logic: Supports various node types like Decision Tables, Switch Nodes, Function Nodes, Expression Nodes, and Decision Nodes, enabling the creation of highly complex and dynamic decision flows.
  • Modularity and Reusability: The ability to invoke and reuse other decision models promotes modular design, reducing redundancy and improving maintainability in large systems.
  • Open-Source: Released under the MIT License, ZEN Engine is free to use, modify, and distribute, fostering community collaboration and transparency.

Links

Explore ZEN Engine further through these official resources:

Related repositories

Similar repositories that may be relevant next.

Start-Technologies: Monorepo for StartOS and Self-Hosting Solutions

Start-Technologies: Monorepo for StartOS and Self-Hosting Solutions

August 13, 2026

Start-Technologies is the comprehensive monorepo by Start9Labs, featuring StartOS as its flagship product. This open-source Linux distribution enables users to run personal servers, facilitating the self-hosting of various services for enhanced data ownership and privacy. It integrates a robust Rust backend, an Angular frontend, and a unique diff-based database for reactive state synchronization.

open-sourceself-hostingpersonal-server
Cortex-Mem: A Production-Ready Memory Framework for Autonomous AI Systems

Cortex-Mem: A Production-Ready Memory Framework for Autonomous AI Systems

August 12, 2026

Cortex-Mem is a production-ready, AI-native memory framework built in Rust, providing intelligent long-term memory for autonomous systems. It features a hierarchical three-tier memory architecture for efficient information management, from extraction and search to automated optimization. This framework empowers AI agents to remember, learn, and personalize interactions across sessions, transforming stateless AI into context-aware partners.

RustAImemory-management
CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

August 9, 2026

CubeSandbox, developed by TencentCloud, is a high-performance, secure sandbox service built on RustVMM and KVM, designed specifically for AI agents. It offers ultra-fast startup times, hardware-level isolation, and high-density deployment, making it ideal for scalable and secure agent execution environments. The service is also fully compatible with the E2B SDK for seamless integration.

agentscontainersandbox
StringWars: Benchmarking High-Performance String Processing in Rust and Python

StringWars: Benchmarking High-Performance String Processing in Rust and Python

July 21, 2026

StringWars is a comprehensive GitHub repository dedicated to benchmarking performance-oriented string processing libraries in Rust and Python. It meticulously compares various operations, including substring search, hashing, and edit distances, across both CPUs and GPUs. This project serves as an invaluable resource for developers seeking to identify the fastest and most efficient solutions for critical string manipulation tasks, particularly those leveraging modern SIMD instructions and GPU acceleration.

benchmarkstring-processingRust

Source repository

Open the original repository on GitHub.

6 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️