AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Workflow Automation/
rulego
rulego logo

rulego

Active·★ 1.6k·Apache-2.0·Updated 2026-10-19
★ Essential★ Trending

RuleGo is a lightweight, high-performance, component-based rule engine and workflow orchestration framework written in Go. Designed with zero external middleware dependencies, it can be embedded directly into existing Go binaries as an SDK (`go get github.com/rulego/rulego`) or deployed as a standalone middleware service. Developers define directed rule chains in JSON DSL to filter, transform, enrich, and route messages across protocols including HTTP, MQTT, TCP/UDP, Kafka, gRPC, and cron schedules. By utilizing Go coroutine pools, object pooling, context isolation, and AOP hooks, RuleGo supports hot-reloading business logic and orchestrating LLM/agent tool chains or IoT edge pipelines without restarting the host process.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-19.

License
Apache-2.0
Latest release
v1.0.0 · 2026-10-19
Last commit
2026-10-19
Contributors
12
Forks
179
Open issues and PRs
4
First published
2023-07-23

Source: GitHub, npm and PyPI public APIs.

#Rule Engine#Go#Workflow Orchestration#IoT#Edge Computing
$ Install
$ go get github.com/rulego/rulego
↗ Visit site★ GitHub
01

Features

01Lightweight: No external middleware dependencies, efficient for IoT edge computing.
02High Performance: Leverages Go's performance, uses coroutine and object pools.
03Dual Mode: Supports embedded and standalone deployment.
04Componentized: Business logic is encapsulated in reusable components.
05Workflow Orchestration: Dynamic rule chain orchestration without application restarts.
02

Why choose it

+Zero external middleware dependencies; can be embedded directly into any Go application or run on resource-constrained IoT edge devices.
+Supports hot-reloading JSON rule chains and dynamic component orchestration without restarting the host service.
+Rich built-in endpoints and nodes for HTTP, MQTT, TCP/UDP, Kafka, JavaScript transforms, and external API/LLM integration.
03

Trade-offs

!Primarily targets the Go ecosystem; non-Go teams must interact with it via standalone HTTP/MQTT endpoints or JSON DSL.
!Complex JavaScript node scripting inside JSON rule chains requires careful testing compared to strongly typed native Go code.
05

Maintenance check

ActiveChecked: 2026-10-19
Last commit
2026-10-19
Commits, last 90 days
100+
Releases, last 90 days
2
Latest release
v1.0.0 (2026-10-19)
Open issues
4
Recent issues with at least one comment
20/24
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 16, 31, 22, 7, 9, 19, 10, 19, 7, 37, 13, 3

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #26 【需求收集】19 comments · 2024-06-12
  • #27 Seeking Collaborators to Participate in the Diverse Development of the RuleGo Project/寻找共同开发者参与 RuleGo 项目的多元化发展10 comments · 2024-06-18
  • #104 本地缓存建议有三个返回链路:正常,失败,异常3 comments · 2026-01-24
  • #61 [dbClient] node supports batch insert0 comments · 2025-03-20

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

04

Who it fits

Pick it if
  • You want a lightweight, zero-dependency rule engine and workflow orchestrator that embeds directly into a Go binary or runs on edge/IoT devices.
  • You need to hot-reload JSON rule chains across HTTP, MQTT, Kafka, TCP/UDP, and LLM endpoints without restarting the host process.
Look elsewhere if
  • You need distributed durable execution with database-backed state replay across node crashes; Temporal or Conductor are built for that.
  • Your team wants a visual SaaS automation tool with hundreds of OAuth connectors; choose n8n or Activepieces.
06

How it differs

conductor logovs conductor★ 32.4k

RuleGo is an ultra-lightweight Go library/server with zero external middleware dependencies, ideal for embedded and edge orchestration. Conductor is a heavy-duty Java 21+ distributed workflow server.

Full comparison →
n8n logovs n8n★ 208.3k

RuleGo embeds inside Go services and processes high-concurrency MQTT/HTTP/TCP streams via JSON rule chains; n8n is a standalone Node.js visual workflow platform.

Full comparison →
07

Compatibility

Go
Native
Verified via docs
HTTP
Supported
Verified via docs
MQTT
Supported
Verified via docs
Kafka
Supported
Verified via docs
08

Quick start

1
$ go get github.com/rulego/rulego
09

Use cases

↳Edge Computing: Preprocessing, filtering, aggregating data on edge servers.
↳IoT: Collecting device data, rule judgment, and triggering actions like alarms or linkages.
↳Application Integration: Connecting various systems or protocols, such as SSH, Kafka, databases, ChatGPT.
10

Alternatives

⚡Top VS:
VSn8n★208.3k→VSconductor★32.4k→VSsdk-go★989→VSdbos-transact-golang★860→
n8n logo
n8n★ 208.3k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
VSCompare→
conductor logo
conductor★ 32.4k
Conductor is an open-source, event-driven durable execution platform for microservices, AI agents and adaptive workflow graphs, with native LLM tasks, MCP tool calling and human approvals.
VSCompare→
sdk-go logo
sdk-go★ 989
Temporal Go SDK
VSCompare→
dbos-transact-golang logo
dbos-transact-golang★ 860
Lightweight Durable Golang Workflows
VSCompare→
conductor logo
conductor★ 12.8k
Conductor is a microservices orchestration engine.
VSCompare→
flow-like logo
flow-like★ 965
Flow-Like: Strongly Typed Enterprise Scale Workflows. Built for scalability, speed, seamless AI integration and rich customization.
VSCompare→
Flowise logo
Flowise★ 55.5k
Visual builder for AI agents and LLM workflows. Discontinued: the repository was archived in August 2026 and the project reached end of life on August 31, 2026.
VSCompare→
MindsHub (formerly MindsDB) logo
MindsHub (formerly MindsDB)★ 39.8k
MindsHub (formerly MindsDB) is an agent workspace for knowledge work and software development, with connected data sources, a model router across frontier and open models, open-source agent harnesses, and publishable artifacts.
VSCompare→
See all alternatives →

Featured in these lists

  • Self-Hosted AI Workflow Automation & Durable Execution: n8n, Activepieces, Temporal, Conductor & More

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs07Compatibility08Quick start09Use cases10Alternatives
rulego /
rulego
↗

Lightweight, embeddable Go rule engine and workflow orchestration framework for edge, IoT, and AI agents

1.6k179Apache-2.0
Last commit4d ago
StatusActive
CategoryWorkflow Automation
Contributors12
Latest releasev1.0.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.