Skip to content
pleach
Use cases

ISV (embedded vendor)

Embedding Pleach into a commercial software product you re-sell under your own brand. What v1 supports today, what v2 adds, and the master-agreement surface.

This page is for independent software vendors who embed Pleach in a commercial product and ship it to their own customers under their own brand, such as CRM add-ons or vertical SaaS with AI at the core.

If you use Pleach internally, even at scale on a multi-tenant SaaS surface, the multi-tenant SaaS agent page is the more direct fit. ISV-embedded means redistribution: your customer pays you, you pay nobody for the embedded engine, and Pleach travels with your product into your customer's deployment.

What v1 supports today

ISVs can embed every @pleach/* SKU into their commercial product as of v1.0.0.

  • License. Every SKU is licensed under FSL-1.1-Apache-2.0, the Functional Source License with Apache 2.0 as the future license. FSL-1.1 permits commercial use including bundling and re-sale. The Apache 2.0 transition fires automatically two years after each release.
  • Source availability. Every package's source ships in the published tarball, so customer security reviews (SCRM, SBOM, attestation) can read what they're running.
  • LICENSE and NOTICE in every tarball. Each SKU carries its own files, and every release is checked for both.
  • No call-home, no telemetry. Nothing the runtime does reaches back to a Pleach-controlled endpoint. The runtime is a library, not a service.
  • Provider neutrality. Your customers can point the embedded engine at the providers they already contract (Anthropic, OpenAI, Bedrock, Vertex, Azure, a private gateway). Your product doesn't mediate the inference contract.

If your embedded shape needs only those properties, you can ship today.

What to plan for

  • Rolling releases. v1 is rolling-release, with no long-term-support branch or backports yet. Pin the versions you ship. See LTS planning.
  • Support. Support is community and GitHub issues. There's no dedicated support tier or SLA.
  • Commercial terms. v1 ships under the FSL-1.1-Apache-2.0 LICENSE text. Bespoke terms such as volume pricing, revenue share or co-branding are negotiated directly.

If you need any of these for your deal, talk to us.

Quickstart — ISV embedding

The install is the same as any Pleach project. The ISV difference is the LICENSE compliance you carry through to your customer.

npm install @pleach/core @pleach/react
# Add whichever SKUs your embedded product needs:
npm install @pleach/observe       # if you instrument
npm install @pleach/compliance    # if your customers are regulated
npm install @pleach/gateway       # if you mediate inference for them

Inside your product, build the runtime as you would for any other deployment:

import { SessionRuntime } from "@pleach/core";

export function buildEmbeddedRuntime(req: YourRequest) {
  return new SessionRuntime({
    provider: yourCustomerProvider(req),
    storage:  yourCustomerStorage(req),
    plugins:  [yourEmbeddedPlugin],
    tenantId: req.endCustomerTenantId,  // your customer's customer
  });
}

When you publish your commercial product, three license obligations travel with it:

  • Preserve LICENSE and NOTICE from every embedded @pleach/* tarball. Don't strip them.
  • Surface FSL-1.1-Apache-2.0 in your product's "third-party software" disclosure. Most customers' procurement teams ask for one.
  • Honor the Apache 2.0 transition at +2 years per redistribution rights.

That is the full v1 ISV compliance surface.

When you need an actual master agreement

Some relationships need more than LICENSE text:

  • Volume pricing on @pleach/gateway or @pleach/observe because your product makes millions of inference calls per day.
  • A revenue share on FSL-licensed SKUs.
  • Pleach-signed indemnification, or a vendor contract showing a direct relationship with the upstream maintainers.
  • Co-marketing, such as joint case studies, conference presence or logo placement.

These conversations are bespoke today, and every ISV deal is negotiated one-off. Reach out via the contact channel in the README of any @pleach/* package.

Running many runtimes in one process

SessionRuntime is single-instance-friendly but carries module-level state. If your product runs many concurrent runtimes per process, tell us about the shape of it.