pleach
Integrate

Migrate to Pleach

Migration guides for the four most common starting points — AI SDK, LangChain, Anthropic Enterprise, OpenAI Enterprise.

Pleach composes underneath what you have today. The four migration guides below cover the most common starting points; each is structured the same way:

  1. When to migrate, when not to — concrete signals.
  2. What maps cleanly — the parts that translate 1:1.
  3. What doesn't — the parts that change shape.
  4. The minimum-viable migration — smallest diff that gets you to a working SessionRuntime.
  5. What you keep — provider, enterprise contract, custom tools, existing UI.

You can stop at any step. The runtime works with a single provider, no plugins, no audit adapter, no checkpointer. Add capabilities as you need them.

From an LLM SDK or framework

From an enterprise vendor contract

You don't replace the contract — Pleach runs underneath it. SSO, ZDR, Workspaces / Projects, dedicated capacity, prompt caching, and snapshot pinning stay where they are. What Pleach adds: a hash-chained AuditableCall row in your own Postgres, per-axis cost rollup inside one Workspace, and replay determinism across snapshots.

Compose, don't migrate

Sometimes the right call is to bridge, not migrate. The pages below cover the major composition patterns:

Version migrations (0.x → future 1.0)

Every shipping @pleach/* package is at 0.1.0 today under FSL-1.1-Apache-2.0. The 0.1.x → 1.0.0 jump is non-caretable — pin exactly. When the 1.0 cut lands, this page will host the codemod + per-SKU upgrade guide. See versioning for the current policy.

Not seeing your starting point?

The migration guides above are the most-asked patterns. If you're coming from a less common shape — CrewAI, AutoGen, LlamaIndex Workflows, OpenHands, Goose — the comparison page maps the capability overlaps row by row, and the getting-started path takes ~5 minutes regardless of starting point.

If a missing migration guide would actually move the needle for your project, open an issue on the @pleach/core repo — migration content is operator-prioritized, not speculatively written.

On this page