Tools/apache/incubator-kie-drools

incubator-kie-drools

Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java

6.3k+3/wkemergingJavaApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jun 2026

Drools pulls your business logic out of your code and into rules anyone can read. It's a rule engine for Java: instead of burying "if the order is over $500 and the customer is new, flag it for review" inside a tangle of if-statements, you write it as a rule, and Drools evaluates thousands of them fast. Apache licensed, fully free, and it's the JVM standard for this job.

This is a library you embed, not a service you run, so there's no server to babysit. The work is upstream: you model decisions in DRL or DMN, wire up the KIE setup, and keep the rule sets sane as they grow. That part takes real discipline. A few hundred rules is manageable. A few thousand with no governance becomes its own kind of spaghetti, just in a different file.

If you're on the JVM and your decision logic changes faster than your release cycle, this is the tool. Solo devs and small teams rarely need it, plain code is simpler until the rules multiply. Larger teams with analysts who own the logic, insurance pricing, fraud checks, loan approvals, are exactly who it was built for.

The catch is the learning curve. DRL is its own language, the docs are dense, and the project now sits under Apache incubation after Red Hat handed it over, so momentum is steady rather than exciting. Budget time to learn it before you bet a system on it.

Free vs Self-Hosted vs Paid

fully free

Free tier: Everything. Drools is Apache-2.0, the full engine is open source with no gated features.

Self-hosted: It's a library you pull in through Maven or Gradle, so "hosting" just means it runs inside your own Java app. No separate infrastructure to stand up.

Paid: None from the project. Red Hat sells a commercial build (Red Hat Decision Manager) with support and tooling layered on top, but the open source Drools is the complete engine.

Completely free and open source. Red Hat sells a supported commercial build, but the OSS engine is the whole thing.

Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
84/100 · A
Adoption23/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Active community: 2,585 forksOrganization account (3137 public repos)Notable author: 23,126 followers

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
The Apache Software Foundation (Organization)
Stars
6,286
Forks
2,593

Explore Further

More tools in the directory