Alternatives / drools
What is Drools?
Drools is an open source business rules engine from the Apache KIE community. It targets the JVM and is widely used to externalise decision logic from application code. Rules are typically written in Drools Rule Language (DRL), spreadsheet-style decision tables, or guided decision tables in KIE authoring tools, then executed by the Phreak inference engine (successor to the classic Rete algorithm).
Drools fits enterprise patterns where teams already run Java or Kotlin backends and want a mature rules stack: versioned rule assets packaged as KJARs, deployment through KIE into Spring or Kogito services, and a large body of practitioner knowledge. It also supports DMN for decision models. It excels at high-throughput pattern matching over large fact models, such as fraud scoring, underwriting workflows, and operational routing.
DRL can be opaque to business stakeholders. Effective-dated or historical rule behaviour is not a first-class language feature and is often implemented in application code. Operating Drools at scale means JVM infrastructure, specialist skills, and governance tooling many organisations assemble around the engine. It remains a solid choice when JVM-centric execution and Phreak-based inference are required.
Drools vs Lemma
Lemma is an open, declarative rules language designed to be read by the people who own the policy, not only by engineers. Specifications mirror how rules are written in documents, and the engine returns step-by-step explanations alongside outcomes. Temporal versioning is built in: you evaluate against an effective date without maintaining parallel rule sets in code.
Lemma compiles to portable runtimes (including WebAssembly) so decision logic is not locked to a JVM monolith. Lemma tends to win when explainability, effective dating, and business-readable specifications matter as much as raw inference throughput.
A complete, more comprehensive comparison is coming soon. In the meantime, if you are weighing Drools against Lemma for a specific programme, schedule a call with our founder Ben Rogmans to discuss when Lemma is the superior solution.