Pluggable.
Philosophical.
Powerful.
A diagnostic analytics platform
that learns every domain it enters.
Almost none of them do it well.
Multiple source systems. Manual spreadsheets. Tribal knowledge.
The person who knows what “normal” looks like retires or changes roles.
Every new domain, every new industry — the same six-month discovery.
The tooling doesn't transfer. The expertise doesn't accumulate.
What if the platform learned
from every domain it entered?
- An engine that knows how to ingest, validate, diagnose, and present — for any domain.
- Domain packs that encode what to look for and why — all declarative, all swappable.
- AI that brings subject matter expertise on demand — new domain, new conversation.
- A compound effect where each deployment makes the next one faster and richer.
The Platform
Three phases. Three stores. One continuous cycle.
Make. Explore. Evolve.
Build the database.
Validate everything.
Understand patterns.
Ask new questions.
Author new diagnostics.
Capture knowledge.
Evolve feeds back into Make. The cycle never ends.
Each turn produces a richer, more accurate analytical system.
jinflow make
Takes artifacts (CSVs, YAML definitions, contracts)
and produces a built DuckDB — the Knowledge Store.
Six compilers: probes, hypotheses, diagnoses,
SMEbits, BitBundles, registry.
jinflow make --tenant acme.warehouse_east
Workspace isolation. Never mutates source files.
Deterministic. Same artifacts in → same database out.
Deployable anywhere. Laptop, CI, cloud function.
Multi-tenant. Each tenant is an isolated DuckDB schema.
jinflow explore
Browse dimensions, taxonomy hierarchies,
probe findings, hypothesis verdicts,
diagnosis root causes, expert knowledge.
Human-readable interpretations.
Multi-lingual (EN/DE/FR).
No AI. Human exploration, human insight.
Desktop or web. macOS, Linux, Windows, browser.
Any DuckDB. Point it at any Knowledge Store.
Locale switching. Same data, different language.
jinflow evolve
Queries what make built.
Understands what explore revealed.
Authors the next generation of artifacts.
“Which entities drive the anomaly?”
“Write a probe for that pattern.”
Reads the database. Writes artifacts.
Suggest, validate, compile. Full authoring workflow.
Human confirms. AI proposes, human approves.
Tenant-isolated. AI sees only the assigned tenant.
Evolve writes artifacts.
Make builds them. Explore reveals what changed.
new probe YAML
compile + build
see new findings
refine thresholds
Every turn through the cycle refines understanding.
The system gets smarter because the artifacts get better.
The Architecture
Three stores. Compilers. The analytical pyramid.
Every piece of state has a home
CSVs, YAML definitions,
contracts, tenant configs.
Version-controlled.
Separate from engine code.
Built product of make.
Medallion layers, findings,
verdicts, expert knowledge.
Read-only for explore & evolve.
Build journal, instrument
lifecycle, compilation logs.
Strictly optional.
Everything works without it.
Clear ownership. No ambiguity.
artifacts
reads AFS
writes KLS
database
reads KLS
database
reads KLS
writes AFS
artifacts
rebuilds
AFS is the input to make. KLS is the output.
Evolve reads the output and writes the input. The cycle closes.
Medallion architecture with a diagnostic layer
any ERP export
structural ingestion
validated + typed
consumption contract
probes + verdicts
Bronze = structure. Silver = domain truth. Gold = consumption contract.
No silent filtering — invalid rows are flagged, not dropped, until Gold.
Source-system dispatch happens only in Bronze.
From Silver onward, everything is source-system agnostic.
YAML in. SQL out. Six compilers.
From data signals to root causes
Each layer adds interpretation and business context.
SMEbits float alongside — expert knowledge anchored anywhere.
Every tenant is an isolated world
- Schema isolation. Each tenant is a DuckDB schema. Resettable independently. No data leakage.
- Source-system dispatch. Same domain pack handles multiple ERPs. Column mapping happens once, in Bronze.
- Platform layer. UNION ALL across tenants for cross-tenant analytics. Opt-in.
- AI isolation. When AI assists (evolve), it sees only its assigned tenant. Never cross-schema.
- Snapshot. Freeze any tenant's state as an immutable, self-describing DuckDB file. Audit-ready.
Domain Packs
The pluggable expertise layer.
The engine doesn't know what an “invoice” is.
The domain pack does.
Six YAML → SQL compilers
Findings contract (10 standard columns)
Taxonomy engine (tree + closure table)
Explorer (discovery, interpretation, i18n)
Multi-tenant platform layer
Orchestration + rebuild scripts
Knows how. Knows nothing about why.
Source-system dispatch (column mappings)
Probe YAML definitions (business rules)
Hypothesis + Diagnosis YAMLs
SMEbits + BitBundles
Registry (tri-lingual display text)
Interpretation rules
Knows why. All declarative. All swappable.
A directory. YAML and JSON. No code.
domain-name/
entity schemas
diagnostic rules
business questions
i18n + registry
Self-contained. Versioned. Declarative.
The engine discovers and loads it via a manifest file.
Swap the directory → swap the domain.
The diagnostic patterns are universal
- Balance probes — compare two aggregates per entity. Usage vs billing. Received vs sold. Ordered vs delivered.
- Duplicate detection — same shape everywhere. Duplicate invoices, duplicate shipments, duplicate purchase orders.
- Trend analysis — rolling average drift. Material costs, lead times, defect rates. The math is identical.
- Mandatory item — “this entity must have that child.” Safety cert with equipment. Inspection with asset. Signature with contract.
- Taxonomy hierarchies — cost centres, product categories, regional structures. Same closure table, different labels.
Probe types across domains
| Probe Type | Healthcare | Retail | Manufacturing |
|---|---|---|---|
| balance | Usage vs billed | Received vs sold | BOM vs actual |
| mandatory_item | Implant with surgery | Core assortment | QC cert with batch |
| trend | Cost drift per month | Margin erosion | Scrap rate trend |
| distribution_outlier | Case cost outlier | Return rate anomaly | Yield deviation |
| duplicate | Duplicate billing | Duplicate invoice | Duplicate shipment |
| assessment | Case integrity | Store health | Line efficiency |
The compiler generates identical SQL structures.
Only the entity names and thresholds change.
Material/resource flows + financial reconciliation
AI as Subject Matter Expert
The framework is the engineering. AI is the domain knowledge.
Three roles, not one
New domain = new conversation.
Same framework.
engine
domain knowledge
contracts + probes + i18n
Instance
To enter retail: ask AI about inventory schemas, shrinkage patterns,
planogram compliance, margin erosion — generate the domain pack.
To enter pharma: ask AI about batch records, LIMS formats,
yield calculations, GMP compliance — generate the domain pack.
The framework stays. The expertise is injected.
Each domain pack makes the platform
smarter for the next one.
- Domain 1 reveals that balance probes need interpretation rules — context-dependent severity. The engine gains the interpretation layer.
- Domain 2 reveals that trend probes need seasonal adjustment. The DSL gains a
seasonalmodifier. All domains benefit. - Each domain's calibrated thresholds inform the next. “What does normal look like?” gets answered by data, not guesswork.
- AI accumulates cross-domain patterns. The framework gets better at every domain because it's been to others.
The Business
Open engine. Expert domain packs. AI-powered growth.
Three revenue layers
Open or source-available.
Drives adoption and trust.
The platform. Free to evaluate.
regulatory context, calibrated thresholds.
Subscription per tenant.
The expertise. The revenue.
a domain pack for a new industry.
AI-accelerated. Weeks, not months.
The growth engine.
Four layers of defensibility
- Regulatory knowledge. Every domain has its legal landscape. The domain pack encodes it. Not easily reproduced.
- Calibrated thresholds. What does “normal” look like? You can't guess this. You earn it from production data.
- Interpretation rules. The difference between noise and signal. Context-dependent severity that turns raw findings into actionable insight.
- Source-system expertise. Every ERP has quirks. Column naming conventions, edge cases, undocumented behaviors. Earned through ingestion, not documentation.
What jinflow believes
- Domain agnosticism. jinflow knows about artifacts, compilers, tenants, and layers — not about invoices, batches, or shipments.
- Engine / content separation. The engine ships as a versioned package. Domain content lives in a separate git repo — the AFS.
- DuckDB as the universal contract. Make writes it. Explore reads it. Evolve queries it. No other shared state.
- Workspace isolation. Make never mutates source directories. Temp workspace → compile → build → output.
- Cloud readiness. Same Python library locally and in Lambda. Different callers, same engine.
Boring where it matters. Sharp where it counts.
analytical database
SQL models + tests
compilers + validators
desktop + web
evolve + authoring
The framework
that learns every domain
it enters.
Highly automated. Deeply interactive.
AI brings the expertise. The engine makes it actionable.
Each deployment makes the next one faster.
Pluggable. Philosophical. Powerful.