MCPSERV.CLUB
rulego

RuleGo

MCP Server

Lightweight Go rule engine for real‑time orchestration

Active(80)
1.3kstars
1views
Updated 13 days ago

About

RuleGo is a high-performance, component‑based rule engine written in Go that can be embedded or run standalone. It enables dynamic, low‑code orchestration of business logic across IoT, edge computing, workflows and data integration scenarios.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

RuleGo – A High‑Performance, Component‑Based Rule Engine for AI Workflows

RuleGo is a lightweight Go engine that lets developers embed rule‑based logic directly into their applications or expose it as a standalone service. By turning business rules into reusable components, it removes the need for custom code when adapting to changing requirements. For AI assistants that must react to real‑time data streams, RuleGo offers a deterministic, low‑latency execution path that can be orchestrated on the edge or in the cloud.

The core value of RuleGo lies in its dual deployment mode. In embedded form it becomes a first‑class citizen inside any Go program, enabling AI agents to trigger rule chains in response to prompts or sensor data without leaving the runtime. In standalone mode it acts as a middleware layer, providing rule‑engine APIs that can be called by language models or other services. This flexibility lets teams ship new business logic without redeploying entire applications—a critical advantage when AI models need to adapt quickly to evolving user requests.

RuleGo’s component model turns every piece of business logic into a plug‑in: message switches, JavaScript filters, HTTP or MQTT pushers, email senders, and more. These components can be linked into rule chains that execute in sequence or parallel, and the engine supports nested sub‑chains for reuse. Dynamic loading via Go plugins means new components can be added on the fly, and an AOP mechanism allows developers to inject cross‑cutting concerns (logging, metrics, security) without touching the core chain. This modularity is especially useful for AI agents that must integrate with diverse APIs, perform data enrichment, or trigger downstream actions.

In practice RuleGo shines in scenarios where AI assistants must orchestrate workflows across IoT devices, edge gateways, or microservices. For example, a conversational agent could ingest sensor data, apply a rule chain that filters anomalies, enriches the payload with contextual metadata, and then pushes alerts to MQTT topics or triggers HTTP callbacks—all without custom code. Similarly, in low‑code platforms RuleGo can expose a visual designer that lets non‑developers build and deploy AI‑powered business processes.

Overall, RuleGo offers developers a fast, deterministic, and highly extensible rule engine that plugs seamlessly into AI pipelines. Its lightweight footprint makes it ideal for edge computing, while its rich component library and dynamic orchestration capabilities give AI assistants the agility needed to respond to changing business rules in real time.