# Landscape (/docs/landscape)



A regulated review asks the same questions of every system that produces a
record: who did it, when, can the record be changed, can it be reproduced,
and can one person be erased from it. This page starts from those
questions, then places each category of tool against them: observability
platforms, gateways, durable-execution runtimes, agent frameworks and
coding-agent toolkits.

Pleach is the agent runtime whose every model call is a typed, hash-chained,
replayable row in your own database. It is a library, not a validated system
or a certification. It gives you evidence mechanisms; validation, procedures
and signatures stay with you. The topic mapping, including what
you still provide, is on [21 CFR Part 11 and ALCOA+](/docs/compliance/part-11-alcoa).

A hash log, a time-stamp client and a scrubber are each something you could
add beside your own loop. What is hard to get that way is one record whose
answers still agree after a stream abort, parallel tool calls, a rollback
and an erasure. Weigh that part most. The rest is graded in both directions.

<Callout>
  Competitor findings on this page reflect the tools we reviewed as of 2026-06 to 2026-08, depending on the row, and may have changed since. Each row states its month.
</Callout>

## What a reviewer asks for [#what-a-reviewer-asks-for]

Each row is a question a reviewer under 21 CFR Part 11, ALCOA+, HIPAA,
GDPR, the EU AI Act or SOC 2 puts to the record. The mechanism column says
what Pleach provides and whether it's on by default. The field column
summarises the graded rows below, which carry the detail and the month.
These are mechanisms that support a requirement, not a claim that your
system meets it.

| The reviewer asks                                               | Requirement it supports                            | Pleach mechanism                                                                                                                                                                          | Default                                                       | Where the field lands (as of 2026-06 to 2026-08)                                                                                             | Rows      |
| --------------------------------------------------------------- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| Can a record be changed without anyone knowing?                 | Part 11 · ALCOA+ · HIPAA · EU AI Act · SOC 2       | Each call row carries the previous row's hash, and a verifier names the first row that doesn't match. The event log has its own chain. The [WORM tier](/docs/worm) makes both append-only | Chain on. HMAC chaining needs your key. WORM is opt-in        | None of the observability or gateway tools we read chain the call log. Governed proxies keep a tamper-evident trail on the vendor's side     | 1         |
| Is every attempt on the record, including one that ended early? | ALCOA+ · Part 11 · EU AI Act                       | One row per provider dispatch on the built-in providers, retries included, and an attempt that ends in an abort or error still writes its row                                             | On                                                            | Span trees in an analytical store, with sampling expected                                                                                    | 5         |
| When did it happen, by a clock you trust?                       | ALCOA+ · Part 11                                   | Each row's recorded time. The event log can be time-stamped by an authority you choose, and call rows can be anchored the same way                                                        | Recorded time built in. Anchoring is opt-in, on your schedule | Not graded on this page                                                                                                                      | —         |
| Can you show what the agent did, again?                         | Supports Part 11; validation itself stays with you | Replay of a recorded turn against its record, naming the first divergence; [family-lock](/docs/family-lock) keeps the record inside one model family                                      | Built in                                                      | Durable execution journals the output as an opaque step result; LangGraph's replay re-fires the model; eval tools re-generate and score      | 2, 3      |
| Does a rollback or a fork hide what came before?                | Part 11 · ALCOA+                                   | A rollback writes a chained row rather than removing history. A fork splices the stream at an event                                                                                       | On                                                            | LangGraph forks at the super-step boundary; Mastra resumes at a step id                                                                      | 6, 18     |
| Who approved this action?                                       | EU AI Act · Part 11 · ALCOA+                       | [Approval gates](/docs/interrupts) on tools; each decision is a chained row with its actor, linked to the call it gated                                                                   | Opt-in per tool                                               | Not graded on this page                                                                                                                      | —         |
| Where does the record live, and who can read it?                | Part 11 · ALCOA+ · HIPAA · SOC 2                   | Rows in your own Postgres, queryable with SQL, with tenant-scoped queries and row-level security policies plus a check for them. No telemetry phone-home                                  | Rows in your DB built in. RLS check opt-in                    | Langfuse, LangSmith and Braintrust self-host into a proprietary store; Logfire gives SQL in its cloud; MLflow gives SQL on your own Postgres | 8, 12, 13 |
| How long is it kept?                                            | Part 11 · GDPR · EU AI Act                         | Retention removes whole event-log chains and call-row sessions past the period you set, and skips anything under a legal hold                                                             | Opt-in, no default period                                     | Not graded on this page                                                                                                                      | —         |
| Does personal data reach the record?                            | GDPR                                               | Call rows pass through a PII redactor. Compliance profiles add scrubbers, which can delegate to Presidio                                                                                  | Redactor on. Profiles opt-in                                  | Table stakes: Presidio is the engine, and most tools delegate to it                                                                          | 20        |
| Can you erase one person and keep the chain?                    | GDPR · HIPAA                                       | [Crypto-shredding](/docs/compliance/gdpr-erasure): per-subject keys encrypt their fields, destroying the key erases the data, and every row hash keeps verifying                          | Opt-in: wire a key store                                      | Deleting rows by user id is common; erasure that keeps a tamper-evident chain was not solved in the products we read                         | 14        |

Two related pieces carry no clause above because they are experimental: a
recipe that runs anchoring on the interval you set, and linking a fork's
first row to its parent's hash, which you turn on. See
[Attestation](/docs/attestation) and [time-travel](/docs/time-travel).
What each mechanism leaves to you (validation, signatures, identity,
anchoring schedule, archival copies) is on
[the Part 11 page](/docs/compliance/part-11-alcoa).

## Where each category of tool lands [#where-each-category-of-tool-lands]

The field we ran: Helicone, Langfuse, LangSmith, Portkey, LiteLLM,
OpenRouter, OpenMeter, MLflow, Logfire, Braintrust, Datadog, Arize Phoenix,
LangGraph, Temporal, Inngest, CrewAI, pi, and the OpenTelemetry GenAI
conventions, against twenty capabilities Pleach claims. General ops
platforms and compliance review platforms were added in 2026-11; neither
changes a grade. By category:

* **Observability platforms** (Helicone, Langfuse, LangSmith, MLflow,
  Logfire, Braintrust, Datadog, Arize Phoenix). Every tracing tool captures
  tool calls as spans, into span trees with sampling expected. Between them
  they cover per-tenant cost (Helicone, Datadog), score diffs across runs
  (Braintrust, LangSmith, Langfuse) and PII hooks (Langfuse, LangSmith). As
  of 2026-08, none of the ones we read chain the call log (rows 1, 5, 13,
  16, 17, 19, 20). General ops platforms (2026-11) take model-call traces with
  token counts, and don't chain them either.
* **Gateways and metering** (Portkey, LiteLLM, OpenRouter, Cloudflare,
  Vercel AI Gateway, OpenMeter). They carry per-request cost and tenant
  tags, and LiteLLM owns a spend row in your Postgres. A governed proxy's
  audit trail sits on the vendor's side of the wire (rows 1, 10, 11, 16).
* **Durable-execution runtimes** (Temporal, Inngest, Restate). They make a
  run resumable and journal the model's output as an opaque step result
  (rows 2, 18).
* **Agent frameworks** (LangGraph, Mastra, CrewAI). LangGraph is the
  checkpointing reference and forks at the super-step boundary; Mastra
  suspends and resumes at a step id. Telemetry-on-by-default is the norm
  (rows 6, 8, 15, 18).
* **Coding-agent toolkits** (pi). An event stream for tool execution and a
  navigable session tree (rows 17, 18).
* **Compliance review and archiving** (2026-11). Their AI flags
  content and a named person decides; archived records sit on WORM storage.
  The trail records the review action, not the model calls behind the flag
  (rows 1, 5). See [comparison](/docs/comparison).
* **Standards** (the OpenTelemetry GenAI conventions). They made tool-call
  spans table stakes. The open question for a reviewer is the row shape the
  span lands in, not the capture (row 17).

⚠ &#x2A;*A correction to an earlier version of this page.** The first pass
graded the twenty rows against observability platforms, gateways and
durable-execution runtimes only, with no coding-agent toolkit.
[pi](https://pi.dev) (`pi-ai`, `pi-agent-core`, `pi-tui`, `pi-telemetry`)
is now included. It changes the *evidence* for two Tier 3 rows without
changing their verdict. A "we didn't find it" grade is only as good as the
field it was run against.

## The twenty capabilities, by tier [#the-twenty-capabilities-by-tier]

Most of what an agent runtime can do, some other tool already does. Three
tiers say which, ordered by how much of the capability is structural to
`@pleach/core` versus available elsewhere:

* **Structural**: the shape is the audit row, and we didn't find it
  shipping as a first-class concept in the tools above. Reach for Pleach
  *for these*.
* **Assembled here**: the pieces exist across two or three products; Pleach
  is the one place they're one primitive. The wedge is the combination.
* **Table stakes**: commodity. If you already have one of the tools below,
  you have the capability. Don't switch runtimes for these.

"We didn't find it" is absence of evidence across the public docs we read,
not proof that nothing exists. Each row names the mechanism, so you can
check it against your own stack. A row with no month of its own falls in the
2026-06 to 2026-08 window noted above.

## Tier 1: Structural to the audit row [#tier-1-structural-to-the-audit-row]

Here the substrate's row shape is the differentiator.

| # | Capability                                     | As of              | Where the field lands                                                                                                                                                                                                                                                                                                                                                | What's different in Pleach                                                                                                                                                                                                                                                                               |
| - | ---------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | **Tamper-evident hash chain over the LLM log** | 2026-08            | None of the LLM-observability or gateway tools we read ship a hash chain over the call log. Governed-proxy control planes advertise "tamper-evident audit trails," but that trail lives on the vendor's side, not in a database you own. The mechanism is proven elsewhere (AWS CloudTrail digest chaining, `immudb`, Sigstore Rekor), but none are LLM-call-shaped. | Call rows are hash-chained by default and the event log is chained too. A verifier names the first row that doesn't match, so a backfill or removed row shows when you verify. See [hash chain](/docs/hash-chain).                                                                                       |
| 2 | **Replay of the agent path**                   | 2026-06 to 2026-08 | Three things get called "replay." Durable-execution platforms (Temporal, Inngest) journal the model output as an opaque step result. LangGraph's own docs say replay re-fires LLM calls and "may return different results." Eval tools re-generate and score.                                                                                                        | A recorded turn replays from its record, valid only against the same version and request fingerprint. Strict mode reports whether repeated replays agree and where they first differ; a request the record can't serve fails with an error. See [determinism](/docs/determinism).                        |
| 3 | **Family-lock as a replay-integrity guard**    | 2026-06            | As of 2026-06, none of the frameworks we reviewed name "this replay is only valid against the same model family" as an enforced constraint. The adjacent idea (Temporal's non-determinism guard, eval-tool `seed` pinning) is about code version or sampling, not provider family.                                                                                   | The lock keeps the record inside one model family; fallback stays in that family and never silently widens. See [family-lock](/docs/family-lock).                                                                                                                                                        |
| 4 | **Subagent cost rolled up to the parent turn** | 2026-06 to 2026-08 | Observability tools capture child-span tokens, then reconstruct cost by walking the trace tree at query time. Agent runtimes' own trackers document the gap, where a parent turn can under-report child spend.                                                                                                                                                       | Child spend at any depth rolls up to the parent turn as a stored value, so per-customer billing is one grouping. Each call row carries its cost, and says why when it's absent. See [subagents](/docs/subagents).                                                                                        |
| 5 | **One typed row per provider call**            | 2026-06 to 2026-08 | The market emits span *trees* into an analytical store, with sampling expected. MLflow is the closest neighbor (one row per trace), but it's per-trace, not per-decision, and not framed to join billing.                                                                                                                                                            | On the built-in providers, every provider dispatch, retries included, writes one row, no sampling (a provider that doesn't declare per-attempt rows keeps one row per call). See [the AuditableCall row](/docs/auditable-call-row).                                                                      |
| 6 | **Event-granular session fork**                | 2026-06            | LangGraph forks at the super-step / node boundary, the finest grain among the frameworks we reviewed as of 2026-06. Mastra suspends and resumes at a step id. None of the frameworks we reviewed forks mid-step at an arbitrary event.                                                                                                                               | A fork splices the original event stream at an event, not a node boundary. See [time-travel](/docs/time-travel).                                                                                                                                                                                         |
| 7 | **Same primitives, two adoption paths**        | 2026-06 to 2026-08 | The brownfield hook (wrap an existing loop) and the greenfield runtime both exist, but as different products. Inngest's `step.ai.wrap` adds durability; LangSmith adds tracing; OpenRouter's `@openrouter/sdk` `callModel` adds routing and automatic tool execution; none writes the *same* audit primitive the full runtime does.                                  | Pointed at Postgres (or any ledger you pass), the hook over an existing loop writes a chained row to the same table and chain as the full runtime, an on-ramp rather than a separate tool. Tags and the full sub-agent path are copied only when you opt in. See [adoption paths](/docs/adoption-paths). |
| 8 | **Trust posture as a stated contract**         | 2026-06            | Telemetry-on-by-default is the norm in agent frameworks. As of 2026-06, none of the frameworks we reviewed package the four promises into one named commitment.                                                                                                                                                                                                      | No telemetry phone-home, no remote license check, no account to run, no retroactive paywall via the license clock: stated, and scoped to the runtime package. See [ownership](/docs/ownership).                                                                                                          |
| 9 | **Language-agnostic wire contract**            | 2026-06 to 2026-08 | Multi-language tooling means either N parallel SDKs over an inter-agent protocol (Google ADK + A2A) or N clients of one central server (Temporal). Neither is two reference implementations holding one contract honest.                                                                                                                                             | The contract pins the HTTP+SSE shapes and the row layout. A Go implementation is planned; a Go reference consumer already reads the SSE frames and checkpoint envelopes. See [language-agnostic contract](/docs/language-agnostic-contract).                                                             |

## Tier 2: Assembled here [#tier-2-assembled-here]

Each of these exists in the field, split across separate products. Pleach's
claim is that they're one primitive in the audit row, not that no one else
has the pieces.

| #  | Capability                                           | As of   | Where the pieces live                                                                                                                                                                                                                                                                                                                                          | What the combination buys                                                                                                                                                                                                          |
| -- | ---------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 10 | **Cost joinable to a billing schema in your own DB** | 2026-06 | LiteLLM owns the spend row in your Postgres; OpenMeter does the billing join and Stripe sync. Neither carries agent-aware shape (turn, subagent depth, tool name).                                                                                                                                                                                             | One row you own *and* can join, agent-shaped, without a second metering pipeline.                                                                                                                                                  |
| 11 | **Per-turn cost as a queryable field**               | 2026-06 | Per-*request* cost is a first-class inline field (OpenRouter `usage.cost`, Cloudflare, Vercel). OpenRouter's `@openrouter/sdk` `callModel` loop accumulates `totalCost` and a `maxCost` stop condition caps a run, but that total is in-memory guardrail state, not a persisted column. A turn that fans out into many calls is still a query-time `GROUP BY`. | Every row carries its turn beside its cost, so the turn, not the request, is the unit you group by.                                                                                                                                |
| 12 | **Ledger written to your destination**               | 2026-06 | "Ship OTLP spans to a trace backend" is commodity (OpenLLMetry, the OTel collector). Writing the audit *ledger* into your existing operational Postgres / Supabase, with Memory as a peer for tests, is not the shipped shape.                                                                                                                                 | BYO-DB adapters write the row where the rest of your business data already lives. See [storage](/docs/storage).                                                                                                                    |
| 13 | **SQL-queryable ownership**                          | 2026-06 | Logfire gives you full SQL, in their cloud. MLflow gives you SQL on your own Postgres. Langfuse / LangSmith / Braintrust self-host means your infra, but a proprietary store, not joinable rows.                                                                                                                                                               | The row is in your database, queryable with ordinary SQL, joinable to the tables next to it. See [the audit ledger](/docs/audit-ledger).                                                                                           |
| 14 | **Erasure that coexists with the chain**             | 2026-06 | "Delete rows by user id" is common. Erasure that preserves a tamper-evident chain (crypto-shred the subject, keep the hash) was not solved in any of the products we read as of 2026-06; the tension is real.                                                                                                                                                  | Crypto-shredding encrypts a subject's fields under their own key, destroys the key, and signs the erasure. Every row hash keeps verifying. To encrypt, you provide a key store. See [GDPR erasure](/docs/compliance/gdpr-erasure). |
| 15 | **Sessions, graph, and channels together**           | 2026-06 | Sessions are universal. A graph runtime is common. The three as co-equal, surfaced primitives is essentially only LangGraph today, and there "channels" is an internal compilation detail.                                                                                                                                                                     | All three are documented developer primitives on one substrate. See [graph](/docs/graph) and [channels](/docs/channels).                                                                                                           |

## Tier 3: Table stakes [#tier-3-table-stakes]

Commodity. If you already run one of the tools named, you have the
capability. Pleach ships these because the substrate needs them, not
because they're differentiated.

| #  | Capability                          | As of              | Already shipped by                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -- | ----------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 16 | **Per-tenant cost allocation**      | 2026-06 to 2026-08 | Helicone (`Helicone-User-Id`), Portkey metadata, LiteLLM (`x-litellm-customer-id`), Vercel AI Gateway, Cloudflare, Datadog, OpenMeter. A metadata tag and a `GROUP BY`.                                                                                                                                                                                                                                                               |
| 17 | **Tool-call audit capture**         | 2026-06 to 2026-08 | The OpenTelemetry GenAI conventions and OpenLLMetry made tool-call spans table stakes. Every tracing tool captures them, and so does the harness cohort natively: `pi-agent-core` emits tool-execution events on its own stream, and `pi-telemetry` models them as spans. What stays Tier 1 is the *row shape* the capture lands in (row 5), never the capture.                                                                       |
| 18 | **Checkpointing / resumable state** | 2026-06 to 2026-08 | LangGraph is the reference; Temporal / Inngest / Restate do it as durable execution; Mastra snapshots on suspend. pi arrives from a third direction: a session *tree* with `branch()` / `branchWithSummary()` / `navigateTree()`, plus `compact()` for history summarisation. That is message-tree navigation rather than graph-state snapshots. (Forking mid-step at an arbitrary *event* remains Tier 1, row 6, a different claim.) |
| 19 | **Regression diff engine**          | 2026-06 to 2026-08 | Braintrust, LangSmith, Langfuse, Promptfoo, DeepEval all diff scores across runs. (Checking a replay against its record event-for-event is Tier 1, row 2, a different claim.)                                                                                                                                                                                                                                                         |
| 20 | **PII redaction at the boundary**   | 2026-06 to 2026-08 | Microsoft Presidio is the detection engine; Langfuse, LangSmith, LiteLLM, Portkey are hooks that mostly delegate to it. `@pleach/compliance` `Scrubber`s do the same and can delegate too. Pleach's default PII redactor on call rows is on; the compliance profiles are opt-in.                                                                                                                                                      |

## If you already run a runtime [#if-you-already-run-a-runtime]

If you run the AI SDK, LangGraph, the OpenAI Agents SDK, Mastra or your
own loop, the case for moving onto the record is four interactions it keeps
together. Each is shipped in source and not on npm yet:

1. **A row for each attempt that still closes when the stream aborts.** Yes
   on the built-in providers, sub-agent retries included; a provider that
   doesn't declare per-attempt rows keeps one row per call.
2. **A chain that holds while parallel tools and sub-agents finish out of
   order.** Call rows are chained by default. To keep one order under
   parallel writers, you provide a store that supports compare-and-set; the
   bundled memory, SQLite and Postgres stores do.
3. **Resume and fork without obscuring the chain.** A rollback writes a
   chained row rather than removing history. Linking a fork's first row to
   its parent's hash is experimental, and on by default with the current
   event-log chain format. A resumed turn keeps its same-model retry budget
   within the same runtime; across runtimes, you pass the spent retry count
   as `priorSameModelRetries`.
4. **Replay that needs the record, while scrub and erasure need it gone.**
   The ledger is redacted by default. Wire a key store and call rows are
   sealed per subject, then shredded with their row hash still verifying.
   Replay runs against the record and names the first request that drifted,
   with decision and synthesize steps marked blind.

Any one of these is a side module you can add beside your loop; holding all
four on one record is what gets hard. Each host page (for example
[the AI SDK](/docs/migrating-from-ai-sdk) or [Mastra](/docs/with-mastra))
grades what your runtime already does natively, and
[adoption paths](/docs/adoption-paths#choose-your-path) says whether to keep
your loop or let core drive the turn.

## The short version [#the-short-version]

Four sentences to carry to a reviewer or a buyer:

1. Per-tenant cost is table stakes. Don't sell it as new.
2. The differentiated shape is the **row**: one typed, hash-chained row per
   provider dispatch (retries included on the built-in providers), in your
   own database, with subagent spend already rolled to the turn.
3. **Replay from the record** plus **family-lock** is the pair the rest of
   the field doesn't ship. Replay re-serves the recorded turn and names the
   first divergence instead of re-firing the model, and the lock keeps that
   record inside one model family.
4. Everything else here is real, but it's a combination of parts you could
   assemble yourself. Pleach is the assembly, not the only source of the
   parts.

Not regulated? The same rows answer everyday questions about which model
served a call, what it cost and whether a recorded row was removed later.
See [what the rows still give you](/docs/comparison#not-regulated-what-the-rows-still-give-you).

<Cards>
  <Card title="Part 11 and ALCOA+" href="/docs/compliance/part-11-alcoa" description="By topic: the mechanism, its default, your QMS's part, and gaps in Pleach." />

  <Card title="SEC and FINRA rules" href="/docs/compliance/sec-finra" description="Graded by topic, with your firm's part kept apart from gaps in Pleach." />

  <Card title="Comparison" href="/docs/comparison" description="The axis-by-axis matrix against the AI SDK, LangChain, LlamaIndex, Mastra, and the observability cohort." />

  <Card title="The AuditableCall row" href="/docs/auditable-call-row" description="The row shape that Tier 1 is built on: what it carries and what you can join it against." />

  <Card title="Ownership" href="/docs/ownership" description="The four trust commitments, and what they are and aren't scoped to." />

  <Card title="When to reach for something else" href="/docs/comparison#when-to-reach-for-something-else" description="The honest case for the AI SDK, a harness, or a durable-execution platform instead." />
</Cards>
