Platform architecture
How the four layers of the Better Data platform connect: Loop Engine, Commerce Gateway, SCM/DCM modules, and Signal Tags.The four layers
| Layer | What it does | OSS | Hosted |
|---|---|---|---|
| Loop Engine | Governs decisions — AI, human, and automation | @loop-engine/* · loopengine.io | loops.betterdata.co |
| Commerce Gateway | Connects LLMs to commerce data | @betterdata/commerce-gateway · commercegateway.io | gateway.betterdata.co |
| SCM/DCM modules | Supply and demand chain operations | @betterdata/scm-*, @betterdata/dcm-* | app.betterdata.com |
| Signal Tags | Physical product authentication | @betterdata/signal-tags-schema · tagd.sh | verify.betterdata.co |
How they connect
OSS vs hosted
Every layer is available as Apache-2.0 open source (self-hostable). The hosted platform adds:- Multi-tenant isolation
- AI-assisted demand intelligence and forecasting
- Industry Pack policy overlays (Healthcare, Pharma, Retail, Manufacturing, Food & Beverage, Construction)
- Compliance reporting (DSCSA, EU FMD, FDA UDI/FSMA, and related regimes)
- Enterprise SLA and support
The loop model
Everything important in the platform is modeled as a loop: a governed workflow with named actors, guard policies, evidence, and an audit trail. Examples:- Procurement loop — AI recommends → guard evaluates → human approves → PO executes
- Quality loop — Signal Tag scan → verification → quarantine or release
- Returns loop — RMA request → inspection → disposition