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):- Projects / Suites — organize
- Baseline — active version, capture, reset
- Record — Start → Record/Stop; live step timeline
- Case detail — steps, asserts, ignore rules, approve / re-record
- Runs — step-level pass/fail diffs
Locked decisions
Deeper lock notes live in the repo at
docs/architecture-mvp.md.