Decisions you can trace.
dizzjs is a deterministic inference engine for knowledge models that AI helps author, humans verify and that runs without AI, in Node.js or the browser. It derives traceable findings from incomplete data and asks for exactly the next fact it needs.
Why dizzjs
Rule-based reasoning, rebuilt for the age of AI.
Expert systems were reliable but expensive to build. Language models are fast to build with but hard to verify. dizzjs uses AI where it is strong, to draft rules and tests, and keeps every decision deterministic, versioned and explainable.
Asks the next best question
Missing data is normal, not an error. dizzjs returns every finding it can already derive and names the facts that would still change a decision.
One value, one rule
Every value has exactly one rule and every result exactly one derivation. No conflict resolution, no hidden order effects. The trace is the explanation.
Made for AI, runs without it
Rules, tests and schemas are machine-readable JSON. AI drafts them, the build verifies them, experts approve them. At runtime, AI agents can call dizzjs as a deterministic tool.
Stateless and private
Each evaluation depends only on the model and its input. It scales horizontally, runs in the browser and works with anonymized data.
How it works
From guideline to verified model.
A dizzjs model is a graph of typed information units and the rules that derive them. Each rule can cite its source, each rule has its tests, and every evaluation leaves a complete trace.
Model
Describe knowledge as elements and rules, with references to the guideline they implement.
Draft with AI
Let AI propose rules and tests as JSON files that the schemas describe.
Verify
The build checks structure, references and tests. Experts review and approve.
Evaluate
The engine derives findings, asks for missing facts and explains every result.
A rule
Small, readable, testable.
A rule declares the facts it needs and how it derives its value. If a fact is missing, the rule waits, and dizzjs turns the gap into a question instead of a guess.
// src/generator/Bmi.json { "requires": ["Height", "Weight"], "expression": "round(value('Weight') / (value('Height') / 100) ** 2, 2)" } // evaluation without Height { "findings": { }, "questions": { "Height": 1.0 } }