rulego/rulego

⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

What it solves

RuleGo is a lightweight, high-performance rule engine designed to decouple business logic from core application code. It allows developers to build flexible systems that can respond to changing business requirements in real time without needing to restart the application.

How it works

It uses a component-based architecture where business logic is encapsulated into reusable nodes. These nodes are organized into "rule chains" (represented as Directed Acyclic Graphs), which define the flow of data processing. Users define these chains using a JSON DSL, and the engine can dynamically reload these definitions to update logic on the fly.

Who it’s for

It is designed for developers building low-code platforms, IoT edge computing solutions, data integration pipelines, automation workflows, and AI agent orchestrators.

Highlights

  • Dynamic Orchestration: Update business logic and rule chains in real-time without restarting the application.
  • Embedded or Standalone: Can be integrated directly into Go applications or deployed as independent middleware.
  • High Performance: Optimized for low-resource devices (like Raspberry Pi) using coroutine and object pools.
  • Extensible: Supports custom components and dynamic loading via Go plugins.
  • Rich Ecosystem: Includes dedicated component libraries for AI, IoT, CI/CD, and ETL, as well as a visual editor.

Related

  • Project
  • Project
  • Project
  • Project
  • Project