Get high-performance component orchestration with RuleGo, a lightweight framework for Go, ideal for startup founders, with 1.6k+ GitHub stars.
1,566 stars149 forksGoQuality 8/10Updated 7/22/2026100% free · open source
What it does
RuleGo is a lightweight framework for Go that enables high-performance component orchestration, allowing startup founders to efficiently manage and automate complex workflows and rules
Install / run
go get github.com/rulego/rulego
When to use it
•When building a Go-based application that requires scalable and performant rule-based decision making
•When integrating multiple components or services that need to be orchestrated and managed dynamically
•When developing a real-time system that requires fast and efficient processing of rules and events
Quick start
1Create a new Go file (e.g., main.go) and import the RuleGo package: `import ("github.com/rulego/rulego")`
2Define a rule using the `rulego.NewRule` function, specifying the condition and action: `rule := rulego.NewRule("example-rule", rulego.When("condition"), rulego.Then("action"))`
3Create a new engine instance and add the rule: `engine := rulego.NewEngine(); engine.AddRule(rule)`
4Start the engine and trigger the rule: `engine.Start(); engine.Trigger("example-event")`
5Verify the rule execution result: `result := engine.GetResult(); log.Println(result)`
Ready-to-paste prompt
go run main.go -rule "example-rule" -event "example-event" -condition "condition=value" -action "action=take"
Heads up: Make sure to handle errors properly when working with RuleGo, as the `rulego.NewEngine` function returns an error value that needs to be checked and handled, e.g., `engine, err := rulego.NewEngine(); if err != nil { log.Fatal(err) }`
Saves to your device
Topics
ai
automation
data-flow
edge-computing
go
intergrations
iot
ipaas
low-code
low-code-framework
mcp
mcp-client
mcp-server
rule-engine
rulego
workflow
workflow-automation
workflow-engine
What's inside — free to inspect
No purchase needed
Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.
10
top-level files
13
folders
4.9M
repo size
Apache-2.0
license
Key files
README_ZH.md
README.md
File tree
.github/
api/
builtin/
components/
doc/
endpoint/
engine/
examples/
node_pool/
server/
test/
testdata/
utils/
.gitignore
CONTRIBUTION_CN.md
CONTRIBUTION.md
go.mod
go.sum
LICENSE
README_ZH.md
README.md
rulego_test.go
rulego.go
Quick Actions
Details
Creator
rulego
Language
Go
Category
automation
Published
7/23/2023
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More automation tools founders pair with this one.