SmartFact compiles natural language into deterministic logic your application can evaluate. No AI at runtime. Full audit trail. Embeddable in your product.
Your customers describe rules in their own words. The compiler translates intent into verified, executable logic with a confidence score.
Compiled rules are pure JSON Logic. Evaluate locally in any language, or call our API. No AI involved at runtime — fast, predictable, auditable.
Every compilation, verification, and deployment is recorded. Version history, diff views, and exportable audit reports for compliance.
Tell SmartFact what data your customers' rules can reference — field names, types, descriptions. This is the vocabulary for rule authoring.
Drop an iframe or React component into your product. Your customers write rules, review the AI's interpretation, run test fixtures, and deploy — all within your UI.
When your application needs to check a rule, pass the data snapshot and get a boolean result. Evaluate locally with any JSON Logic library, or call our API.
{
"and": [
{ ">": [{ "var": "ticket.open_hours" }, 4] },
{ "===": [{ "var": "ticket.assigned_agent_count" }, 0] }
]
}
const result = jsonLogic.apply(rule, ticketData); // result: true → escalate
Three endpoints cover the full lifecycle.
Send natural language + catalog ID. Get back JSON Logic, confidence score, and a plain-language restatement.
Send a rule ID + data snapshot. Get a deterministic boolean result in under 5ms. Or evaluate locally — the compiled output is standard JSON Logic.
Auto-generate test fixtures from the compiled rule and field catalog. Run them, review results, catch mismatches before deployment.
Two lines to add rule authoring to your product.
<iframe
src="https://saas.smartfact.ai/embed?token={embed_token}"
width="100%"
height="600"
/>
import { SmartFactAuthor } from '@smartfact/react';
<SmartFactAuthor
token={embedToken}
onRuleDeployed={(rule) => handleDeploy(rule)}
theme={{ accentColor: '#2E75B6' }}
/>
Each of your customers gets isolated rules, audit history, and data. You manage them all from a single partner console.
We're onboarding partners now. Tell us about your use case and we'll set you up.
Get in touch