Open Source vs Hosted Decision Models: Drools, Camunda and DecisionRules Split Licence From Hosting
An open-source DMN engine can be self-hosted or managed, and a commercial one can run on your own servers. Choose the licence and the operator separately, then test one real decision.
Open source and hosted are two separate choices for a DMN decision engine: the licence of the code, and who runs it in production. Drools from Apache KIE is Apache 2.0 code that you embed in a Java application and operate yourself. Camunda 8 runs as a managed SaaS service or as Self-Managed software, and production Self-Managed use requires a paid Enterprise Edition. DecisionRules is commercial software that is sold as SaaS, as a private managed cloud or as a self-hosted container.
A learned decision model is a third kind of product. It picks the most likely action from a list instead of running rules that someone wrote. It belongs in the same evaluation only when the decision cannot be written down as rules.
A decision model can be written rules or a learned scorer, and each kind needs its own tests
A DMN model is a set of business rules in a standard notation. Decision tables, literal expressions and FEEL formulas map inputs to an output. The same inputs always give the same output, so a regression test can prove that a change did what it was meant to do.
A learned decision model works differently. It reads the situation as text, and sometimes as images, and it gives each allowed option a probability. It can be tested only statistically, on a sample of cases with known correct answers.
These two kinds of model need different checks. A rule engine is checked for correctness against written test cases. A learned model is checked for accuracy, for calibration (whether a 70 percent score is right about 70 percent of the time) and for coverage (the share of cases that it handles with confidence).
Seven separate terms describe what a decision product is and who runs it
It is easy to treat "open source" and "hosted" as opposites. The following definitions keep the choices apart.
- A DMN rule model is an executable set of decisions written in the Decision Model and Notation standard.
- A learned decision model is a trained model that scores a list of allowed options and returns probabilities.
- Open-source code is source code under a licence such as Apache 2.0 or MIT that allows use, change and redistribution.
- An open-weight or adapter release publishes trained weights, or small LoRA adapters that change a base model, under a stated licence.
- A commercial licence is a paid right to use software, often with production use restricted to paying customers.
- Self-hosting means that your team runs the software on its own servers or cloud account.
- Managed hosting means that the vendor runs the software and you call it over the network.
Any licence can be combined with either kind of hosting. The table shows how the four products in this guide combine them.
| Product | Licence of the software | Who can run it | Who runs production |
|---|---|---|---|
| Drools (Apache KIE) | Apache 2.0 | Your team | Your team |
| Camunda 8 | Camunda License v1 source; proprietary binaries | Camunda (SaaS) or your team | Camunda, or your team with Enterprise Edition |
| DecisionRules | Commercial | DecisionRules or your team | Either, by plan |
| TOD (Parsec) | Apache-2.0 adapters on a Gemma 4 base | Parsec's API or your GPUs | Either |
Drools runs the full DMN standard inside your Java application
Apache KIE's DMN page lists "full runtime support for DMN models at Conformance level 3, meaning 100% of the features in the Standard." According to the same page, version 10.2.0, released in April 2026, added DMN 1.6 and passes 99.9 percent of the DMN test kit. The code is under the Apache License 2.0, and the project is still incubating at the Apache Software Foundation.
The Drools 10.1.0 user guide describes the usual way to run it. You "typically embed knowledge assets directly into a project," load the model through DMNRuntime and call evaluateAll. The decision then runs in the same process as your application, with no network call. A change to a rule takes effect after you redeploy, unless you pull the rule package through Maven and scan for updates. Teams that do not use Java can wrap the decision in a Kogito microservice with REST endpoints.
The cost of this freedom is that your team owns every operational task. Drools has no vendor that patches it, monitors it or answers an incident at night.
Camunda 8 moves operations to Camunda only on SaaS
Camunda's SaaS documentation for version 8.10 calls it "a fully managed, cloud-based service" in which "maintenance and scaling is handled by Camunda." Customers can turn on automatic patch updates. Camunda encrypts cluster data at rest and backs up the state of its components on a regular basis.
Self-Managed reverses that split. The 8.8 documentation puts it plainly: "You are responsible for deploying, scaling, securing, maintaining, and updating the entire Camunda stack." Camunda supplies Helm charts and guides for Kubernetes on AWS, Azure, Google Cloud and OpenShift.
Self-Managed is not open source in the usual sense. According to Camunda's licence page for version 8.6 and later, the core source code is under the Camunda License v1, and the compiled software is proprietary. The page adds, "To use the software in production, purchase the Camunda Self-Managed Enterprise Edition." The Desktop Modeler is the exception, under the MIT licence.
On the decision side, Camunda's modeling documentation covers DMN 1.3 decision tables, literal expressions and business knowledge models. A business rule task calls a decision and can bind to the latest version, to the version deployed with the process, or to a version tag. That binding can pin a process to an earlier decision version after a bad rule change.
DecisionRules sells the same engine in three hosting models
DecisionRules is commercial software and is not open source. Its FAQ lists Public Cloud, Private Managed Cloud and Self-Hosted deployments. In the public cloud, "infrastructure and automated scaling are managed for you." The self-hosted option runs "the same modern, containerized application in your own environment," on AWS, Azure, Google Cloud or Kubernetes.
The self-hosted pricing page sums up the split as "You bring the platform, we bring the engine." The customer supplies the hosting, a MongoDB-compatible database and Redis. Self-hosted prices are given only by quote.
DecisionRules puts its weight on rule governance. Its FAQ describes rules that are "fully versioned with snapshots," instant rollback to a previous version, and audit logs that store each rule call with its inputs and outputs. On the public-cloud price list, audit logs and space versioning with rollback are listed only for the Premium plan. The FAQ does not mention DMN, and it gives JSON as the export format.
Following the DMN standard does not make a model portable
The DMN standard helps a model move between engines, but the Drools documentation lists several ways that it can still fail to move. Drools adds FEEL functions that are not in the standard, and its strict-conformance switch that disables them is off by default. It renames the standard's or() and and() list functions to any() and all(). Its editor saves some DMN 1.1 and 1.3 models as DMN 1.2.
Version support also differs. Drools' runtime runs DMN up to 1.6, while Camunda's modeler documentation covers DMN 1.3. DecisionRules exports JSON rather than DMN. A model that uses any engine-specific feature therefore needs to be re-tested on each engine where it will run.
TOD is a learned option scorer, and it does not replace a rule engine
Parsec's TOD is an example of a learned decision model. The release that is published on Hugging Face is a set of LoRA adapters on Google's gemma-4-12B-it, plus a ModernBERT-base retriever. The adapters are Apache-2.0. The base weights are not included, and the repository instructs users to accept the Gemma 4 licence on Hugging Face before downloading them.
Its contract is narrow. A call to predict(state, options, question, images) returns one probability for each option that you supply, and the probabilities add up to 1. Parsec's TOD page states that it generates no free text and invents no actions. A confidence gate lets TOD handle the turns that it is confident about and passes the rest unchanged to the existing language model.
That contract leaves four jobs in separate places:
- Scoring the options is the only job that TOD performs.
- Filling in the arguments for the chosen action, such as an order number, is not part of the contract that is documented.
- Checking permissions before an action runs stays in your application or your rule engine.
- Executing the action stays in your own code.
Serving it yourself needs a CUDA GPU in bf16. The repository warns that sdpa attention gives wrong results on this base model and that bitsandbytes int8 quantisation should not be used. Hosted access through Parsec costs $0.30 per 1,000 decisions, according to its TOD page, and that fee is separate from the cost of the fallback model. On the public JevBench test, the same page reports 84.4 percent accuracy for TOD against 86.2 percent for the untrained base model, so training lowered accuracy in this release. Parsec also offers custom tuning of decision models, but its page gives no price and names no deployment options.
The operating duties fall to whoever runs production
Every deployment has the same list of duties. The hosting choice, not the licence, sets who owns each one. Each duty below has a documented owner in some products and a negotiable one in others.
- Upgrades are yours on Drools and Camunda Self-Managed. Camunda SaaS offers automatic patch updates.
- Monitoring and incidents fall to your team on any self-hosted option. A vendor handles them on SaaS only within the terms of its SLA. DecisionRules lists a 99 percent uptime SLA on its Free and Lite plans and a customizable one on Premium, which must be negotiated.
- Security of the runtime sits with whoever runs it. Camunda documents encryption at rest on SaaS, and DecisionRules claims ISO 27001 certification and a SOC 2 audit.
- Backups are documented by Camunda for SaaS. For self-hosted DecisionRules, the backup of the MongoDB database that you supply is your job.
- Rule or model changes and rollback use version binding in Camunda, snapshots in DecisionRules, and redeploys or Maven versions in Drools. A learned model needs a stored copy of the previous weights and its test results.
- Audit traces are a product feature in DecisionRules Premium. In Drools and in a self-hosted learned model, you build the logging yourself.
A first-year cost worksheet needs five lines, and the licence fee is only one of them
A cost worksheet for any route needs five lines: licence or API charges, compute, engineering to build and integrate, monthly maintenance, and fallback calls for a learned model. The example below fills in those lines for 10,000 decisions a month, which matches the call quota of the DecisionRules Lite plan. List prices come from each vendor's page. The engineering rate and hours are assumptions, and a pilot should replace them with measured hours.
The assumptions are as follows:
- Engineering time is valued at an assumed $100 an hour.
- Building and testing a Drools service is assumed to take 60 hours, and maintaining it 6 hours a month.
- Integrating a hosted service is assumed to take 20 hours.
On those assumptions, the first year costs the following amounts:
- Running DecisionRules Lite costs €450 a month, billed annually, which is €5,400 a year before VAT. Integration adds $2,000 once. Audit logs and rollback need Premium, which is priced by quote.
- Embedding Drools carries no licence fee. Building it costs $6,000 and maintenance costs $600 a month, which comes to $13,200 in the first year. The extra compute inside an existing Java service has not been measured.
Camunda 8 is left out of the arithmetic because its documentation gives no price. A learned model adds per-decision fees or GPU hours, plus the cost of every call that falls back to the parent language model.
A short pilot on one real decision settles the choice
No one has published a like-for-like measurement of decision quality, latency, throughput, rollback or traceability for these products on one workload. A pilot on one of your own decisions answers the question more reliably than any comparison table.
- Pick one decision that matters, and collect a few hundred past cases with known correct outcomes as a regression set.
- Write the decision as DMN and run it on the engines that you are considering.
- Measure decision quality as agreement with the correct outcomes. For a learned model, record calibration and coverage separately from accuracy.
- Measure latency and throughput at your expected peak, with the network included for hosted options.
- Change one rule, deploy it, roll it back, and time both steps.
- Check that every decision can be traced to its inputs, its rule or model version and its output.
- Record the engineering hours spent, because they are usually the largest cost.
The results lead to four choices. If the decision can be written as deterministic rules and the regression set passes, use a rule engine. Choose Drools if your team can run Java services, and choose Camunda or DecisionRules if you want the vendor to run them. If the decision is a choice among many actions from free text, test an unmodified learned model first, behind a confidence gate. Consider custom tuning only if the pilot shows a measured gap, because tuning does not by itself improve decision quality. If your team cannot staff upgrades, monitoring and incidents, pay for managed hosting whatever the licence.
Sources
- Apache KIE, DMN: https://kie.apache.org/drools/dmn/
- Apache KIE, Drools 10.1 DMN documentation: https://kie.apache.org/docs/10.1.x/drools/drools/DMN/index.html
- Camunda 8 SaaS: https://docs.camunda.io/docs/components/saas/
- Camunda 8 Self-Managed (8.8): https://docs.camunda.io/docs/8.8/self-managed/about-self-managed/
- Camunda, Licenses: https://docs.camunda.io/docs/reference/licenses/
- Camunda, DMN modeling: https://docs.camunda.io/docs/components/modeler/dmn/
- Camunda, Business rule tasks: https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/
- DecisionRules, FAQ: https://www.decisionrules.io/en/faq/
- DecisionRules, Public cloud pricing: https://www.decisionrules.io/en/pricing/public-cloud/
- DecisionRules, Self-hosted pricing: https://www.decisionrules.io/en/pricing/self-hosted/
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, Decision models: https://parseclab.ai/solutions/decision-models/
- Hugging Face, parsecai/tod: https://huggingface.co/parsecai/tod
- GitHub, TOD repository: https://github.com/daseinlabs/tod
- Hugging Face, google/gemma-4-12B-it: https://huggingface.co/google/gemma-4-12B-it