Skip to content

trimset documentation

trimset keeps the thresholds on a decision model's probabilities true. It logs every decision, joins the outcome when it arrives, compiles a policy with a stated guarantee, and lets your app apply the approved policy locally. It is open source (Apache-2.0) and self-hosted: one docker compose up, Postgres underneath.

Alpha

The docs follow the code. Pages for drift alerts, shadow models and the review queue arrive with those features.

Start here

  • Quickstart

    From a first call to a policy deciding in your code, with a stand-in model. No account needed.

  • Self-hosting

    What runs, TLS, every setting, backups and upgrades.

  • SDK interface

    gate(), log_exchange(), outcome() and the algorithm gate() applies.

  • API reference

    Every endpoint, rendered from the OpenAPI contract that CI checks the server against.

How it works

How it fits together shows the pieces and the flows between them. The decisions behind it are written down, one per page. The statistics (calibration, the compiler and its guarantee) are in ADR 0005 and ADR 0006, with sources in research.