Self-hosted Decision Engine

Your rules.
Your server.
Your control.

Define complex business logic in a visual table. Deploy a live REST API in minutes. No recurring fees. No vendor lock-in. Runs on your own infrastructure.

POST /api/solve/discount-rules
// Send your data
{
  "customer_tier": "gold",
  "order_value": 340,
  "region": "EU",
  "first_order": false
}

// Get your decision · 1.4 ms
200 OK · MATCHED
"discount": "15%"
"shipping": "free"
"campaign": "loyalty-q2"
<2ms
Average decision time
Docker
Ships as container
Self
Hosted on your server
499
One-time licence

See it in action

From idea to live API
in under two minutes.

Ruledeck — live demo

Why Ruledeck exists

“The logic that drives your business should be owned by the people who understand it — not locked in a codebase waiting for an engineering sprint.”

Ruledeck was built by someone who spent years sitting between business, data and engineering teams — not writing the code, not signing off the strategy, but making sure the right things got built the right way. The frustration that kept coming up was always the same: decision logic that belonged to the business kept ending up in the codebase, and every change needed a developer.

Enterprise platforms exist that solve this well. They earn their price for the organisations that need everything they offer. For everyone else — teams that just need decision tables, a live API, and an audit trail — those tools were never really an option.

Ruledeck does roughly 80 percent of what those platforms do, for a fraction of the cost. It is built for the teams where the missing 20 percent was never on the requirements list. If that is you, it will probably do the job. If you need enterprise support, SOC2, or a vendor assessment package, it will not.

One thing worth saying: this was built with AI assistance, by someone who is not a developer. That is worth being honest about. AI is a tool. It depends entirely on the person using it and whether they understand the problem well enough to direct it. The domain knowledge here is real. The AI helped execute it.

Built on real-world experience

Designed by practitioners who have managed decision models at scale in high-volume financial services environments — not a generic workflow tool adapted after the fact.

Built to last

Test coverage across engine logic, API behaviour, security defaults, and performance under load. Full documentation ships with the product. Bugs get fixed. This is a maintained product, not a launch-and-forget release.

Production-hardened defaults

Security headers, brute-force login lockout, rate limiting, HttpOnly cookies, body size limits, and SQL injection protection — on by default.

Self-hosted, your infrastructure

Deploy on any server you control. No black-box SaaS, no data leaving your environment, no renewal surprises.

How it works

Five steps.
Up and running today.

STEP 01 · IT

Deploy in under 10 minutes

Create a .env file with your credentials and run docker compose up. Ruledeck starts, validates the licence, and is accessible in the browser. No build steps, no dependencies to install.

STEP 02 · IT

Connect your system once

Agree on field names with the business team — what data goes in and what comes back. Wire up a single API call from your existing system. That is the full integration. The business team owns everything from this point without touching the code again.

STEP 03 · BUSINESS

Build your logic as a table

Open Ruledeck in any browser. Add condition columns for the inputs your decision depends on — a customer category, an order value, a risk score, a product type, a region. Add result columns for what you want back. Each row is one rule. No code, no formulas, no IT ticket.

STEP 04 · BUSINESS

Test, then publish

Use the built-in testbench to run real inputs before going live. Debug mode shows exactly which row matched and why. Press Publish. Ruledeck creates a live API endpoint instantly. Every published version is saved — roll back in seconds if needed.

STEP 05 · BUSINESS

Iterate without engineering

Policy changed? New category to add? Threshold to adjust? Edit the table, verify in the testbench, publish. The update is live in seconds. Every change is logged with a timestamp — suitable for compliance evidence.

The decision loop

Input goes in.
Decision comes out.

Your existing system sends a JSON request with named fields. Ruledeck matches those fields against your rule table and returns the result. The field names in the request need to match the condition columns in your rule — that is a one-time agreement between IT and the business team.

IT connects the data pipeline once: decide which fields to send, wire up the API call, define what to do with the output. After that the business owns the logic entirely without touching the integration again.

The output fields are whatever your rule returns. Your system reads them by name and does whatever makes sense: route the customer, store the result, trigger the next step.

Any system that makes an HTTP request can call a rule
Field names in the request map directly to condition columns
Output fields come back by name — your system reads what it needs
Every call logged with input, output, matched row, and response time
Step 1
Your system sends
A POST request with named input fields matching your rule’s condition columns
POST /api/solve/order-pricing
"customer_tier": "gold"
"order_value": 340
"region": "EU"
"first_order": false
POST /api/solve/loan-eligibility
"credit_score": 720
"fraud_flag": false
"monthly_income": 3200
"bureau_hits": 0
POST /api/solve/leave-approval
"tenure_years": 3
"leave_type": "annual"
"days_requested": 5
"balance_remaining": 12
RULEDECK EVALUATES — top to bottom, first match wins
loan-eligibility
v3 · published · 5 rows
condition columns match request field names → result columns returned in response
# CONDITION — credit_score CONDITION — fraud_flag CONDITION — monthly_income CONDITION — bureau_hits RESULT — decision RESULT — approved_amount RESULT — rate RESULT — tenor RESULT — collection_bucket
1 ANY = true ANY ANY declined
2 ≥ 700 = false ≥ 3000 = 0 approved ✓ 12000 7.9% 36mo A1
3 ≥ 600 = false ≥ 2500 ≤ 1 approved 8000 11.9% 24mo B2
4 ≥ 500 = false ≥ 2000 ≤ 2 manual 5000 16.9% 12mo C3
5 ELSE ELSE ELSE ELSE declined
ROW 2 MATCHED — returns in < 2ms
Step 3
Your system receives
The matched row’s result columns returned by name. Read what you need, ignore the rest.
200 OK · matched: true · version: 3
decision
"approved"
approved_amount
12000
rate
"7.9%"
tenor
"36mo"
collection_bucket
"A1"

Who it’s for

Built for any team
making repeatable decisions.

Any team that makes the same kind of decision repeatedly — approvals, pricing, routing, eligibility — and wants to own that logic directly rather than waiting on engineering. Worth being clear about who it is not for: large enterprises with vendor assessment requirements, SOC2 needs, or dedicated support teams. Those are legitimate requirements and there are platforms built for them. This is not one of them.

Fintech · Lending · Insurance

Risk & credit teams

Change credit policies, eligibility criteria, or pricing rules without a developer. Test in your sandbox, verify outcomes, promote to production. Full audit trail for regulators.

Thousands to millions of decisions / month
Retail · E-commerce · Marketplace

Retail & operations teams

Shipping cost rules, discount eligibility, return policies, loyalty tier logic — all configurable in a table without touching code. Change a threshold in the morning and it’s live before lunch.

Any volume · Rapid iteration
HR · People ops · Internal tools

HR & internal process teams

Leave approval rules, onboarding routing, benefit eligibility, expense approval thresholds — your people team can own these directly without raising an IT ticket for every policy change.

Medium volume · Policy-driven
SaaS · Product · Growth

Product & growth teams

Feature entitlement, offer routing, plan-based pricing, A/B tested promotions — all configurable without code. Built-in split testing lets you run experiments with no extra infrastructure.

High frequency · Experiment-heavy
Any business · replacing Excel logic

Small & medium businesses

If your team makes decisions from a spreadsheet — discount approvals, order routing, quote calculations, eligibility checks — Ruledeck replaces that with a live API your systems can call automatically. No spreadsheet maintenance, no manual look-ups, no errors from outdated files.

Any size · Any industry

Features

Everything you need.
Nothing you don’t.

Visual rule editor

Build and edit decision tables in any browser. Business users can own their rules without touching code or spreadsheets.

Built-in testbench

Test any rule with real inputs before publishing. Debug mode shows exactly which row matched and why.

Version history

Every published version is saved with a timestamp. Roll back instantly if needed. Versions are pinnable via API.

Excel & JSON import / export

Rules can be imported from and exported to Excel or JSON. Migrate existing logic directly or share rules for sign-off in a format everyone can read.

A/B split testing

Built-in $random variable enables champion–challenger testing natively. No extra tooling.

Rule chaining

Chain multiple rules in sequence — eligibility then pricing, scoring then routing. Output of one step becomes input to the next.

Full audit trail

Every change — publish, edit, import, delete — is logged with timestamp, user, and rule version. Suitable for compliance review.

Test & production environments

Ships with two isolated instances — test and production — with a visible banner so users always know which environment they’re in.

Use cases

What kinds of decisions
can it run?

Credit & Approvals

Approve or decline applications based on scores, income, employment, and requested amount. Update policy overnight. Works for loans, rentals, memberships, and any approval flow.

Pricing & Offers

Return the right price, rate, or promotion based on customer segment, order value, or risk tier. A/B test pricing variants before full rollout — built in, no extra tooling.

Discounts & Promotions

Apply the right discount based on customer tier, basket size, campaign code, or first-purchase status. Handle stacking logic with chained rules. Update live without a code release.

Eligibility & Entitlement

Determine which products, benefits, or services a customer qualifies for. Insurance, healthcare, government, SaaS plan features. Rule changes in minutes, not sprints.

Routing & Workflow

Route requests, cases, or tasks to the right team or system based on type, value, SLA, or profile. Chain multiple rules for complex multi-stage flows.

HR & People Operations

Leave approval by tenure and balance, onboarding routing by role, benefit eligibility by contract type. Your HR team owns the rules directly — no ticket required.

Test & Production

Build safely.
Deploy with confidence.

Ruledeck ships with two completely isolated instances out of the box — a test environment and a production environment. Each has its own database, its own rules, and its own API.

The test environment shows a persistent amber banner so users always know where they are. Build and validate in test. Export to Excel. Import into production. No accidental edits to live rules.

Separate databases — test changes never affect production
Persistent banner shows current environment on every page
Start both with a single command
Promote rules by exporting from test and importing to production
TEST INSTANCE · :5174
localhost:5174
TEST ENVIRONMENT — changes here do not affect production
loan-eligibility-v2-experiment
draft
interest-rate-pricing
published
shipping-cost-calculator
published
PRODUCTION INSTANCE · :5173
localhost:5173
loan-eligibility
published
interest-rate-pricing
published
shipping-cost-calculator
published

Performance

Fast enough for
any workload.

Ruledeck handles real-time decisions without slowing down your customer-facing processes. For most teams, a single small server handles everything — no infrastructure team required.

Numbers measured on a standard laptop under automated load testing. A dedicated server will be significantly faster.

<2ms
Average decision time
End-to-end API response for a single rule evaluation. Fast enough for real-time checkout, loan approval, or fraud screening.
400k
Decisions per month on a €5 server
A single small cloud instance handles hundreds of thousands of decisions per month. Most teams never need more than one server.
10M+
Decisions per month at scale
For high-volume workloads, a small cluster is all that’s needed. No proprietary infrastructure, no vendor negotiations.

Data & Security

Your data
stays yours.

Unlike SaaS decision platforms, Ruledeck runs entirely within your own environment. No decision data, customer information, or business logic is ever sent to an external server.

  • Self-hosted deployment

    Install on your own server, data centre, or private cloud. You control the infrastructure and the data.

  • API key + session authentication

    Solve endpoints require a valid API key. The admin UI requires session authentication with brute-force lockout after 5 failed attempts.

  • Hardened by default

    Helmet security headers, HttpOnly/SameSite cookies, rate limiting, body size enforcement, and SQL injection protection ship enabled out of the box.

  • No usage telemetry

    Ruledeck does not collect usage data or analytics. No decision data, business logic, or customer information is ever transmitted to any external server.

  • GDPR / data sovereignty

    Data never leaves your servers, making regional data-residency compliance straightforward for regulated industries.

Audit log — live sample
2026-04-06 14:02
Admin login
2026-04-06 14:01
publish
shipping-cost-calculator · v4
2026-04-06 14:01
edit
discount-eligibility · updated
2026-04-06 14:00
solve
interest-rate-pricing · matched
2026-04-06 13:59
publish
leave-approval · v2 · 6 rows
2026-04-06 13:55
import
support-routing · from file

Every action — publish, edit, import, login — is logged with user, timestamp, and rule version.

Pricing

One price. Unlimited decisions.

Perpetual licence. No subscriptions. No recurring fees. No usage caps. No renewal. Everything included. Does roughly 80 percent of what enterprise decisioning platforms do, at a fraction of the cost. For teams where the other 20 percent was never a requirement, that is a reasonable trade.

ONE-TIME LICENCE
€499 once
Self-hosted on your own infrastructure. No subscriptions, no recurring fees, no usage limits. Deploy to production the same day.
Everything included
  • Visual rule editor
  • REST API with auth
  • Rule chaining
  • A/B split testing
  • Version history
  • Audit trail
  • Solve logs
  • Excel import / export
  • Test + production environments
  • Testbench
  • Scheduled activation
  • Docker deployment
Buy now — €499 →

Secure checkout via Lemon Squeezy. Instant delivery. Questions? hello@ruledeck.app

Your rules.
Your server.

One licence. Deploy today. No subscriptions, no usage limits, no recurring costs.