Skip to main content

Product thesis

Alibi.AI is a living contract of API side effects: record ordered inbound API calls plus all in-span state mutations and selective reads, then verify against that contract. Failures surface cross-team drift; resolve by approve, re-record, or fix.

Domain model

Architecture (V1)

SDK

  • alibi.init({ project, plugins }) — few lines to adopt.
  • Env mode: ALIBI_MODE=off|record|verify (default off = zero overhead).
  • Sandbox traffic marker (header and/or tenant).
  • Framework middleware first: Express and FastAPI.
  • Plugin contract: snapshot · observe (mutations + reads) · diff · restore.

Control plane

Surfaces (one job each):
  1. Projects / Suites — organize
  2. Baseline — active version, capture, reset
  3. Record — Start → Record/Stop; live step timeline
  4. Case detail — steps, asserts, ignore rules, approve / re-record
  5. Runs — step-level pass/fail diffs
Primary visual: step timeline, not a metrics dashboard.

Locked decisions

Deeper lock notes live in the repo at docs/architecture-mvp.md.