
incubator-kie-drools
Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java
The Lens
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 freeFree 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.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
License: Apache License 2.0
Use freely. Patent grant included.
Commercial use: ✓ Yes
About
- Owner
- The Apache Software Foundation (Organization)
- Stars
- 6,267
- Forks
- 2,586
Explore Further
More tools in the directory
RxJava
RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
48.2k ★awesome-copilot
Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
35.4k ★nixpkgs
Nix Packages collection & NixOS
25.2k ★