# Which SKU do I need? (/docs/which-sku)



The `@pleach/*` surface is the set of packages in the
[Packages](/docs/packages) table, including `@pleach/observe` in alpha,
the not-yet-published cloud transports, and the reserved
`@pleach/trust-pack`.
Most projects need **three or four**: `@pleach/core` plus two or
three siblings — commonly `@pleach/react`, `@pleach/compliance`,
`@pleach/gateway`, `@pleach/eval`, or `@pleach/replay`, depending
on what you're building. The packages are branches grafted onto one
lattice — pick the branches that carry weight for what you're
building, leave the rest for later. This page maps what you're
building to the shortest install list, plus a one-line reason
for each. If you're not sure, start with the first row —
`@pleach/core` alone covers more cases than you'd guess.

## The shortest answer [#the-shortest-answer]

| You want                                            | Install                                                                             | Read                                                                                               |
| --------------------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| **A streaming chat handler in 5 lines**             | `@pleach/core`                                                                      | [Getting started](/docs/getting-started)                                                           |
| **A chatbot with a working UI**                     | `@pleach/core`, `@pleach/react`                                                     | [`recipes/simple-chatbot`](/docs/recipes/simple-chatbot)                                           |
| **RAG over your knowledge base**                    | `@pleach/core`, `@pleach/react` (+ your vector store)                               | [`recipes/rag-chatbot`](/docs/recipes/rag-chatbot)                                                 |
| **An agent with tools**                             | `@pleach/core` (tools ship at `@pleach/core/base-tools` + `@pleach/core/tools`)     | [Tools](/docs/tools), [`@pleach/base-tools`](/docs/base-tools)                                     |
| **A coding agent (SWE-bench-shaped)**               | `@pleach/core`, `@pleach/coding-agent`, `@pleach/sandbox`                           | [`@pleach/coding-agent`](/docs/coding-agent)                                                       |
| **A multi-tenant SaaS with per-tenant cost rollup** | `@pleach/core`, `@pleach/gateway`                                                   | [Multi-tenant](/docs/multi-tenant), [Gateway](/docs/gateway)                                       |
| **OTel-instrumented observability**                 | `@pleach/core` (OTel is built in); `@pleach/observe` (alpha) adds destination plugs | [`@pleach/observe`](/docs/observe)                                                                 |
| **PII / PHI scrubbing for HIPAA / GDPR / PCI-DSS**  | `@pleach/core`, `@pleach/compliance`, `@pleach/compliance-contract`                 | [Compliance](/docs/compliance), [Scrubbers](/docs/scrubbers)                                       |
| **Regression-grade evals against the audit log**    | `@pleach/core`, `@pleach/eval`, `@pleach/replay`                                    | [`@pleach/eval`](/docs/eval), [`@pleach/replay`](/docs/replay)                                     |
| **An MCP server backed by Pleach sessions**         | `@pleach/core`, `@pleach/mcp`                                                       | [`@pleach/mcp`](/docs/mcp)                                                                         |
| **A LangChain / LangGraph adapter layer**           | `@pleach/core`, `@pleach/langchain`                                                 | [`@pleach/langchain`](/docs/langchain), [Migrating from LangChain](/docs/migrating-from-langchain) |

The recipes column on the right is the canonical worked example
for each row. Most of them are under 100 lines of glue over
`@pleach/core`.

## Shortcuts by shape [#shortcuts-by-shape]

If "what are you building?" is too narrow a question, here are
seven common shapes the runtime is built around. Each maps to a
recipe in `@pleach/recipes` and a SKU bundle.

### SaaS adding a chat tab [#saas-adding-a-chat-tab]

A typical multi-tenant web app that wants a chatbot tab. You own
your auth, your DB, your billing. Add Pleach without touching any
of them.

**Install:** `@pleach/core`, `@pleach/react`
&#x2A;*Recipe:** [`simpleChatbot`](/docs/recipes/simple-chatbot)
&#x2A;*Reach for next:** `@pleach/observe` (alpha) once you want
per-tenant cost rollup.

### Vertical agent (specific tools, specific knowledge) [#vertical-agent-specific-tools-specific-knowledge]

You're shipping an agent for a specific domain — legal review,
medical coding, ops triage — with a curated tool set and a
knowledge base. Not generic ChatGPT-shaped.

**Install:** `@pleach/core` (baseline tools + the tool contract ship inside it at `@pleach/core/base-tools` and `@pleach/core/tools`)
&#x2A;*Recipe:** [`verticalAgent`](/docs/recipes/vertical-agent)

### Compliance-bound (regulated industry) [#compliance-bound-regulated-industry]

HIPAA, GDPR, PCI-DSS, SOC 2. You need scrubbers on inbound
content, audit attestation on every call, and a hash chain you
can prove to a regulator.

**Install:** `@pleach/core`, `@pleach/compliance`,
`@pleach/compliance-contract`
&#x2A;*Recipe:** [`compliantChatbot`](/docs/recipes/compliant-chatbot)
&#x2A;*Reach for next:** `@pleach/replay` once you need
chain-verifier attestation.

### On an existing Anthropic / OpenAI Enterprise contract [#on-an-existing-anthropic--openai-enterprise-contract]

You already have an Anthropic Enterprise or OpenAI Enterprise
contract — SSO, ZDR, Workspaces / Projects. You want per-axis
cost rollup *inside* one Workspace without a new vendor.

**Install:** `@pleach/core`, `@pleach/gateway` (+ `@pleach/observe`, alpha)
&#x2A;*Recipe:** [`enterpriseAgent`](/docs/recipes/enterprise-agent)
&#x2A;*Read first:** [Migrating from Anthropic Enterprise](/docs/migrating-from-anthropic-enterprise)
or [Migrating from OpenAI Enterprise](/docs/migrating-from-openai-enterprise).

### Multi-tenant platform (per-customer BYOK + billing) [#multi-tenant-platform-per-customer-byok--billing]

You're running multiple customer agents on the same substrate,
with per-customer BYOK, per-customer policies, and per-customer
billing.

**Install:** `@pleach/core`, `@pleach/gateway`,
`@pleach/compliance`
&#x2A;*Recipe:** [`enterpriseAgent`](/docs/recipes/enterprise-agent)

* [Multi-tenant SaaS agent](/docs/multi-tenant-saas-agent).

### Subagent swarm (bounded fan-out under a root turn) [#subagent-swarm-bounded-fan-out-under-a-root-turn]

A root agent that spawns N specialist sub-agents and reconciles
their answers, with a per-root-turn cost ceiling. Common shape
for research, planning, and refactor agents.

**Install:** `@pleach/core`, `@pleach/recipes`
&#x2A;*Recipe:** [`subagentSwarm`](/docs/recipes/subagent-swarm)

### Regression-grade eval lab [#regression-grade-eval-lab]

You want fixture-driven eval against the audit log with replay
determinism and Welch t-test scoring. CI-runnable, not
notebook-shaped.

**Install:** `@pleach/core`, `@pleach/eval`, `@pleach/replay`
&#x2A;*Recipe:** [`evalLab`](/docs/recipes/eval-lab)

## When you don't need a sibling SKU [#when-you-dont-need-a-sibling-sku]

`@pleach/core` already ships these in the substrate; you don't
need a sibling for them:

* **Session lifecycle, channels, checkpointing.** Built-in.
* **Storage adapters** (Memory / IndexedDB / Supabase). Built-in.
* **Family-lock, model resolution matrix, transport selection.** Built-in.
* **`AuditableCall` row + event log + hash chain (schema-side).** Built-in. The verifier (`verifyChainForChat`) lives in `@pleach/core/eventLog`; `@pleach/replay` consumes it.
* **OpenTelemetry spans (session.turn, llm.invocation, etc.).** Built-in. `@pleach/observe` (alpha, not yet on npm) adds destination plugs (Postgres, Supabase, OTel, memory; a Pleach Hosted destination isn't available yet); core ships the OTel emission.
* **Plugin contract.** Built-in. Authoring conventions in [Plugin authoring standards](/docs/plugin-authoring-standards).
* **The four-stage lattice + singleton synthesize seam.** Built-in invariants enforced by lint on the core repo.

## Quick "do I install this?" gut-checks [#quick-do-i-install-this-gut-checks]

A few SKUs get asked about more than others. Short answers:

* **`@pleach/base-tools`** — &#x2A;*deprecated; don't install.** The
  tools (math, datetime, scratchpad, unit\_convert, text\_search,
  opt-in url\_fetch, …) now ship inside `@pleach/core` at
  `@pleach/core/base-tools`. Import from there — zero extra install.
* **`@pleach/tools`** — &#x2A;*deprecated; don't install.** The tool
  contract + Zod helpers + queryable registry now ship inside
  `@pleach/core` at `@pleach/core/tools` (and
  `@pleach/core/tools/unified`). Import from there.
* **`@pleach/sandbox`** — install if you're running untrusted
  code (coding agent, user-supplied scripts). Ships the contract plus
  adapters for an HTTP stream wire shape, HTTP polling, a local
  child process, and AWS ECS Fargate; per-vendor packages aren't shipped.
* **`@pleach/recipes`** — install if you want
  high-level factories (`simpleChatbot`, `ragChatbot`,
  `compliantChatbot`, `verticalAgent`, `subagentSwarm`,
  `enterpriseAgent`) instead of wiring `SessionRuntime` from
  scratch.
* **`@pleach/trust-pack`** — reserved name. Not shipping code
  today. Don't install.

## Where to go next [#where-to-go-next]

<Cards>
  <Card title="Packages" href="/docs/packages" description="The canonical per-SKU status table — versions, links, contract status." />

  <Card title="Recipes" href="/docs/recipes" description="End-to-end runnable patterns — Next.js chat, OTel, multi-tenant, compliance." />

  <Card title="Comparison" href="/docs/comparison" description="How @pleach/core compares to the AI SDK, LangChain, LlamaIndex, Mastra, and to agent harnesses." />

  <Card title="Adoption paths" href="/docs/adoption-paths" description="Three entry points keyed to what you already run — an audit-row hook, core grafted over your existing loop, or a fresh runtime." />
</Cards>
