Visual Invariant Atlas · $0.00 LLM tokens · Deterministic AST

Swap github.com for kavachlabs.dev

Extract SQL constraints, state machines, transport offset hazards, and replay-verified contracts from any public stateful repository in under 3 seconds.

Replay-Verified Gold Showcases

Production stateful engines mapped from source AST and proven across mutated retry, redelivery, and clock-skew schedules.

PaymentsReplay-Verified (188/188)

Open-source Rust payments switch: Euclid routing DSL compiler, surcharge math, and multi-currency minor/major unit conversion.

3 BUGSHS1: VirInterpreterBackend Numeric NotEqual Double-Negation · HS2: IEEE-754 f64 Surcharge & Compounding Tax Overcharge · HS3: CLF 4-Decimal 100x Scaling & BHD 3-Decimal Truncation
188/188variants
3invariants
rust · ★ 45.9kPayments
kavach-host
WorkflowsReplay-Verified (158/158)

Distributed, fault-tolerant task queue and DAG workflow scheduler. Zero-memrepo capture over pgproto3 and v1repo.

3 BUGSHT1: Sticky Mode Bypasses Required Worker PCI Labels · HT2: BatchScheduler Partial Commit Leaks unackedSlots · HT3: DAG Operator Bypasses Multi-Group AND Event Gates
158/158variants
6invariants
go · ★ 8.3kWorkflows
kavachpgx
TradingReplay-Verified (150/150)

High-performance algorithmic trading platform and event-driven execution engine in Rust.

3 BUGSN1: OrderManager OUO Partial-Fill Hedge Under-Sizing · N2: OrderMatchingEngine Overwrites Total Quantity on OUO Fill · N3: Single-Currency MarginAccount Skips Foreign FX Liquidations
150/150variants
3invariants
rust · ★ 31.7kTrading
kavach-host
BillingReplay-Verified (132/132)

Cloud-native usage metering and credit entitlement engine. Zero-memrepo replay across 8 Ent Postgres repos and ClickHouse HTTP.

3 BUGSO1: Recurring Grant Snapshot Resume Double-Credit · O2: Entitlement Balance History 2x Overage Inflation · O3: Multi-Reset Scheduled Grant Pairing Failure
132/132variants
3invariants
go · ★ 2.5kBilling
kavachpgxkavachhttp
LedgersReplay-Verified (104/104)

Open-source double-entry financial ledger. Zero-memstore capture over real PostgreSQL datasource and Gin HTTP handlers.

3 BUGSB1: Repeated-Identifier Split Overwrite & Misdirection · B2: Mixed Fixed + Percentage Split Over-Allocation · B3: Sync Atomic Bulk Split Rollback Drop
104/104variants
5invariants
go · ★ 598Ledgers
kavachpgxkavachhttpkavachredis
LedgersReplay-Verified (79/79)

Programmable Numscript multi-asset ledger engine with atomic settlement proposals, chart validation, and v2 mirror translation.

3 BUGSF1: Skipped Duplicate Order Leaks Metadata Budget · F2: CreateLedger Chart-of-Accounts Validation Bypass · F3: v2-to-v3 Mirror Pre-Epoch Timestamp uint64 Underflow
79/79variants
5invariants
go · ★ 1.5kLedgers
kavach-go
BillingReplay-Verified (64/64)
getlago/lagoevents-processor

Open-source metering and usage-based billing engine. Zero-memrepo v0.2 capture across Kafka, Redis, and PostgreSQL.

3 BUGSL1: Non-Atomic Kafka Emit Before Retryable Redis Check · L2: BadgerDB Cache vs SQL date_trunc Boundary Mismatch · L3: IEEE-754 Unix Float Timestamp 1ms Subtraction Drift
64/64variants
3invariants
go · ★ 10.9kBilling
kavachkgokavachrediskavachpgx
Zero-Auth Public MCP · Streamable HTTP

Query cached invariant graphs from any coding agent

Connect Claude Code, Cursor, VS Code, Codex, or Antigravity to https://mcp.kavachlabs.dev/mcp for atlas_list_invariants, atlas_trace_invariant, and atlas_export_contract.

Run in your shell to register the remote HTTP server globally.

claude mcp add --transport http kavach-atlas https://mcp.kavachlabs.dev/mcp
Private Repos · 0 Upload

Run the exact same engine locally on private services

Runs 100% offline over your local repository with zero telemetry and zero source upload, opening the identical 5-column interactive invariant explorer. Also exposes kavach mcp locally over stdio.

brew install kavachlabs/tap/kavach && kavach map --auto --open