LibreAI / Automation / rulego
// automation ยท rulego/rulego

rulego

Lightweight Go rule engine for composing fast, embedded automation flows.

๐Ÿ’Ž Hidden gemโ˜… 1.6k starsโ‘‚ 159 forksApache-2.0updated 2026-09
โ–ฆ visual โ€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

rulego is an open-source automation project by rulego (rulego/rulego on GitHub). It has 1,616 GitHub stars and 159 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 30 September 2026.

Repository
rulego/rulego
GitHub stars
1,616
Forks
159
License
Apache-2.0
Last updated on GitHub
30 September 2026
Category
Automation
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Add the library

    Pull RuleGo into your Go project as a dependency.

  2. Define components

    Describe each processing step as a reusable component.

  3. Chain the rules

    Wire components into rule chains with branching logic.

  4. Run embedded

    Execute the engine inside your own service or edge device.

// features

Why people love it

Embedded design

Runs inside your Go app, not as a separate server.

High performance

Built in Go for low-latency, high-throughput flows.

Component orchestration

Compose reusable nodes into chains and graphs.

Edge and IoT ready

Light enough for gateways and edge devices.

Data flow support

Handles message routing and transformation.

Apache 2.0

Permissive license for commercial embedding.

Advertisement
// run it

Run it yourself

  1. Step 1 โ€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/rulego/rulego.git
    cd rulego
  2. Step 2 โ€” Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 โ€” Run it

    Follow the project's launch command โ€” Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Is RuleGo a standalone server?

No, it is an embeddable framework that runs inside your own Go service.

Is rulego free for commercial use?

Apache 2.0 licensed โ€” commercial use allowed with attribution.

How does it compare to n8n?

RuleGo is a code-level Go library for embedded flows; n8n is a visual workflow server.

Do I need to know Go?

Yes, RuleGo is a Go framework, so Go knowledge is required.

Is it good for IoT?

Its lightweight embedded design and topics around edge computing suggest yes.

// keep exploring

Similar tools

Automation

kestra

Event Driven Orchestration & Scheduling Platform for Mission Critical Applications

โ˜… 29.0k starsApache-2.0
View guide โ†’
Automation

prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.

โ˜… 24.0k starsApache-2.0
View guide โ†’
Automation

airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

โ˜… 47.0k starsApache-2.0
View guide โ†’
Automation

crw

Self-hosted automation: fast, lightweight firecrawl/tavily alternative in rust..

โ˜… 1.1k starsAGPL-3.0
View guide โ†’
Automation

flowbaker

No-code workflow automation with a Go-powered execution engine.

โ˜… 205 starsApache-2.0
View guide โ†’
Automation

sudocode

Lightweight agent orchestration tooling that lives inside your repo.

โ˜… 293 starsApache-2.0
View guide โ†’
// alternatives

Alternatives in Automation

The most-starred other Automation projects in the LibreAI catalogue โ€” the realistic shortlist if rulego is not the right fit.

Get rulego

Free and open โ€” grab the source, star the repo, and start creating.