SAYACHECORE

Decision Engine

One layer where every policy lives.

Build, simulate, approve and roll back risk policies — rules and models together — without losing the audit trail.

PlannedInteractive sample in /demo
Decision workflow builder · P-FR-12Illustrative — sample policy
Eventupi.payFeaturesvelocity · graphRule: new payeeamount ≥ ₹25,000Model scorefraud-gbm-demo v0.3STEP_UPscore ≥ 0.80REVIEWhuman checkpointALLOWscore < 0.50≥ 0.800.50 – 0.80< 0.50

The core problem

Why this is hard today

01

Policies are scattered across codebases

Each product team encodes its own rules, so the same customer is treated differently across onboarding, payments and lending.

02

Changes are slow and risky

A threshold edit needs an engineering release and gives no preview of its impact before it reaches customers.

03

Nobody can say why a decision happened

When a customer or supervisor asks, reconstructing the rule, model and data behind one decision is a project.

Solution overview

One layer where every policy lives.

The Decision Engine is the central layer that every module calls. Policies are versioned data — rules, thresholds, branches, model calls and provider calls — authored in a visual builder or a sandboxed expression language. Changes are simulated against historical decisions, approved by a second person, rolled out in stages and reversible in seconds. Every decision stores the exact policy and model versions that produced it.

Where Decision Engine sitsArchitecture concept

1. Your systems

  • Core banking
  • LOS / LMS
  • Payments / PSP
  • Apps & web

2. Data Intelligence

  • Ingest
  • Entities
  • Features
  • Consent & lineage

3. Decision Engine

  • Draft
  • Simulate
  • Backtest & A/B
  • Approve

4. Decision Engine

  • Policy
  • Rules + models
  • Reasons
  • Decision record

5. Work & outputs

  • Outcome to your system
  • Case Management
  • AI Agent Hub
  • Audit trail

Capabilities

What Decision Engine is designed to do

Each capability is labelled with its real status. “Available in demo” means you can try a simulated version in the sample console.

  • Rules engine

    Available in demo

    Deterministic, sandboxed, non-Turing-complete expressions evaluated with a full trace.

  • Policy builder

    Available in demo

    A visual canvas for conditions, branches, provider calls, model calls and human checkpoints.

  • Decision workflows

    Planned

    Orchestrate multi-step decisions across onboarding, fraud, credit and AML with timeouts and fallbacks.

  • ML model integration

    Planned

    Call versioned models as nodes in a policy and compose their scores with rules and thresholds.

  • Policy testing

    Available in demo

    Run sample payloads and see which rules fired, in what order, and why.

  • Backtesting

    Planned

    Replay stored decisions against a draft policy to measure outcome changes before release.

  • Version control

    Available in demo

    Immutable versions, diffs, owners, comments and a complete change history.

  • Controlled deployment and rollback

    Planned

    Shadow mode, staged rollout, change-freeze windows and one-step rollback.

  • Explainability

    Available in demo

    Reason codes, rule trace and feature contributions stored on every Decision Record.

Workflow

From trigger to feedback

An illustrative flow. Each step is configurable, logged and reversible by policy.

  1. 1

    Draft

    Author a policy visually or in the expression language.

  2. 2

    Simulate

    Preview outcome changes on stored decisions.

  3. 3

    Backtest & A/B

    Compare against history; run challengers in shadow.

  4. 4

    Approve

    Maker-checker review with a clear diff.

  5. 5

    Staged rollout

    Release to a percentage or segment first.

  6. 6

    Monitor & roll back

    Watch outcome mix; revert instantly if needed.

Inside the engine

Policies are data. Activating one is a governed event.

A policy defines conditions, thresholds, model calls and fallbacks. It is versioned, simulated and approved before it can touch a customer — and every decision remembers which version produced it.

Policy expression (illustrative)Concept — syntax not final
policy P-FR-12 version 8 (draft)
  when event.type == "upi.pay"
   and payee.first_seen_days < 1
   and event.amount >= 30000
  then
    score = model("fraud-gbm-demo", "0.3", features)
    if score >= 0.80       -> STEP_UP
    elif score >= 0.50     -> REVIEW   # human checkpoint
    else                   -> ALLOW
  on_timeout(model, 80ms) -> REVIEW    # fail-safe, never silent
Decision record (illustrative)Sample — synthetic
{
  "decision_id": "DEC-D-000481",
  "outcome": "STEP_UP",
  "policy": "P-FR-12@v7",
  "model": "fraud-gbm-demo@0.3",
  "score": 0.83,
  "reasons": ["NEW_PAYEE_BURST", "DEVICE_CLUSTER_LINK",
              "AMOUNT_ZSCORE_HIGH"],
  "evidence": ["E-1042", "E-1043", "E-1051"],
  "latency_ms": 112,
  "created": "sample"
}

Maker-checker

Authors cannot approve their own changes. Approvals carry a name, a time and a comment.

Shadow mode

A new policy or model scores live events without affecting outcomes, so its behavior can be compared first.

Instant rollback

Revert to any earlier version in one step. The change history keeps every version and who activated it.

Use cases

Scenarios this module is built for

Illustrative scenarios with fictional details. They describe designed behavior, not customer results.

Scenario 1

Tune a payments threshold

A draft raises the new-payee threshold. The simulation shows 0.3 points more reviews and 0.2 points fewer step-ups across last month’s decisions, so the approver can decide with evidence.

Scenario 2

Champion–challenger models

A new model scores every event in shadow for two weeks before it is allowed to influence any outcome.

Scenario 3

Seasonal policy

A festival-season ruleset is scheduled to activate on a date and revert automatically afterward.

Scenario 4

Policy drafting by language

An author describes a rule in plain language; the system proposes a draft diff that must be simulated and approved before use.

Integration context

Works with what you already run

Connectors are adapters. None of the providers below is named because none is a confirmed relationship.

  • All SAYACHECORE modules

    Onboarding, fraud, credit and AML modules call the engine through one decision API.

    Planned
  • Developer APIs

    REST decision API and webhooks for outcomes.

    Planned
  • Event streaming

    Event-triggered decisions from Kafka-compatible streams.

    Planned

Security and governance

Controls designed in

These are design requirements for this module. SAYACHECORE holds no security certifications today; see the Security page for the audit roadmap.

  • Maker-checker: authors cannot approve their own changes
  • Every decision records policy, rule and model versions
  • Change history and instant rollback
  • Natural-language drafts are never activated automatically

See Decision Engine on a decision of your own.

Tell us your workflow. We will tailor a walkthrough around it, using fictional data.