ContractSutra AI
Know if your OpenAPI change will break consumers before you ship. Offline, deterministic, and honest about what it cannot prove.
npx contractsutra-ai compare --before v1.json --after v2.json --out reports
123/123automated tests passing
20/20gold-corpus scenarios agree
2000fuzz cases, 0 failures
0runtime dependencies
Read the documents
Executive summaryContractSutra AI v0.2.1 tells engineering teams whether a change to an OpenAPI document can break the clients Functional specificationOffline. Deterministic (same inputs give byte-identical findings). Bounded input size and nesting. Atomic fileArchitecture before.json --+ +--> contract-diff.json / .sarif.jsonTechnical referencecontractsutra validate --spec <openapi.json>User guidenode --version # must be 22 or newerCompatibility rulesGuiding principle: a provider must keep accepting old valid requests and keep satisfying old promised responseSecurity and privacyIt makes after-the-fact edits detectable. It does not prove who produced the files, and an attacker who can reTest report and proofRecorded 2026-11-22 on Node v24.15.0, win32 x64. Regenerate with npm run proof. Raw files are in [docs/proof](Legal and governanceThis page is a plain-language summary for transparency. It is not legal advice; consult counsel for your situaOperations and release1. npm test, npm run lint, npm run demo, npm run proof all green locally.Roadmap and FAQIs this an OpenAPI linter? No. It compares two versions and reports compatibility risk.Sample reports and resultsReal generated Markdown, HTML, SARIF, JSON and audit files.
Limits, stated up front
- Compares specifications, not running services.
- JSON OpenAPI only; no YAML, GraphQL, AsyncAPI or protobuf yet.
- Consumer mapping is self-declared; generated test cases are
NOT_RUNtemplates. - The audit is automated self-verification, not a certification.