evalvcr records LLM, agent SDK, and Model Context Protocol (MCP) interactions into open JSON cassettes (evalvcr.cassette.v1), scrubs secrets and PII automatically before touching disk, and replays them deterministically in TypeScript, Python (pytest), Docker, or GitHub Actions.
Key Guarantees
- Zero external runtime dependencies: Built exclusively on Node
>= 20and Python>= 3.10standard libraries. - Deterministic cross-language parity: TypeScript and Python share JCS-aligned canonical JSON, SHA-256 interaction fingerprints, 7-step scrubbing rules,
evalvcr.cassette.v1, andevalvcr.report.v1. - Pre-disk secret & PII scrubbing: Redacts auth headers, PEM keys, database passwords, Bearer/API tokens, SSNs, Luhn-validated payment cards, and email addresses before persisting or hashing.
- Strict drift detection:
strictmode catches prompt, tool-schema, or MCP parameter drift with structured field-level diffs. - Local-first storage & Web UI: Uses
node:sqliteon Node22.5+(with automatic JSON fallback on Node 20) and shipsevalvcr servefor local inspection, plus optional@evalvcr/storage-neonfor Neon PR-branch history.
Explore Live
- Interactive Playground: Inspect trace waterfalls, strict drift diffs, SARIF findings, CSV exports, and SVG badges locally in your browser (
connect-src 'none'). - Quickstart: Record your first cassette and enforce
--mode strictin under 2 minutes. - Packages: Available on npm, PyPI, and Docker Hub.