> ## Documentation Index
> Fetch the complete documentation index at: https://betterdatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

# Open Source overview

Better Data ships **Apache-2.0** packages that form the building blocks of the **Commerce Chain Optimization (CCO)** platform. You can run them standalone or adopt the **hosted** stack for SLA, AI intelligence, and compliance reporting.

## The OSS layers

| Layer                | Packages / sites                                                                        | Role                                                                      |
| -------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| **Loop Engine**      | `@loop-engine/*` · [loopengine.io](https://loopengine.io)                               | Governed workflows, actors, guards, audit                                 |
| **Commerce Gateway** | `@commercegateway/commerce-gateway` · [commercegateway.io](https://commercegateway.io)  | LLM tool surfaces (MCP, OpenAI, Grok, etc.)                               |
| **SCM / DCM**        | `@betterdata/scm-*`, `@betterdata/dcm-*` · [commercechain.io](https://commercechain.io) | Operational supply and demand chain services                              |
| **Signal Tags**      | `@signal-tags/*` · [tagd.sh](https://tagd.sh)                                           | SDK, schema, verification, and generation for verifiable product identity |

## License

All published OSS listed here is **Apache-2.0**, including an explicit **patent grant** — the license tier most enterprises expect for healthcare and pharma procurement review.

Release artifacts include **SBOM** (CycloneDX) generation where configured in CI.

## npm scopes (at a glance)

| Scope                                   | What it is                                                       |
| --------------------------------------- | ---------------------------------------------------------------- |
| `@loop-engine/*`                        | Loop runtime SDKs and tooling                                    |
| `@betterdata/*`                         | SCM, DCM, loop definitions, shared Better Data platform packages |
| `@commercegateway/*`                    | Commerce Gateway OSS runtime family                              |
| `@signal-tags/*`                        | Signal Tags — SDK, schema, verify client, generate               |
| `commerce-registry-protocol` (unscoped) | Registry protocol spec (npm meta + spec files)                   |

<Note>
  Some docs and examples still say `@commerce-gateway/*`; prefer **`@commercegateway/commerce-gateway`** for new work. See [commercegateway.io](https://commercegateway.io).
</Note>

## Self-host or hosted

Every OSS package is **self-hostable**. The Better Data **hosted** platform composes the same contracts with:

* Multi-tenant isolation
* Managed verification (**verify.betterdata.co**), gateway (**gateway.betterdata.co**), loops (**loops.betterdata.co**), and app shell (**app.betterdata.com**)
* Industry Packs and proprietary control-plane services

Contact **[hello@betterdata.co](mailto:hello@betterdata.co)** for hosted packaging.

## Where to go next

* [Surface contract (C8)](/reference/surface-contract) — names, URLs, owners, diagram rules
* [MCP surfaces](/reference/mcp-surfaces) — gateway-console, Registry MCP, hosted gateway MCP
* [SCM packages](/oss/scm-packages)
* [DCM packages](/oss/dcm-packages)
* [Loop definitions](/oss/loop-definitions)
* [Signal Tags](/oss/signal-tags)
* [Domain contracts](/oss/contracts)
* [Platform architecture](/getting-started/platform-architecture)
