systems that cannot crash.
visually model your storage pipeline. catch cross-language bugs that single compilers miss.
curl -fsSL https://stokes.dev/install.sh | shrequires ibm bob 2.0 · macos · linux · windows (wsl)
works with
figma for storage pipelines.
design, connect, and inspect end-to-end dataflows across clickhouse tables, python etl workers, quicksilver kv caches, and rust l7 proxies. stokes studio catches mathematical boundary overflows before they reach production.
01 / spatial canvas
spatial dag architecture modeling.
replace fragile yaml specs and disconnected diagrams. visually connect analytical ddl schemas, stream topics, and fixed-capacity reverse proxy buffers on a continuous, low-latency 2d canvas with 24px baseline snapping.
02 / cross-boundary invariants
cardinality risk ratio visualizer.
individual compilers cannot see across language boundaries. stokes calculates the real-time ratio between upstream schema reflection and downstream memory allocations (c / b), flagging fatal buffer overflows before code commits.
03 / autonomous remediation
one-click ibm bob 2.0 patch synthesis.
dispatch autonomous subagents directly from the studio. bob synthesizes synchronized cross-boundary patches across clickhouse catalog qualification and dual-zone in-place quickselect in rust, dropping recovery time from 4 hours to 90 seconds.
terminal
one command, three compilers.
Stokes scans your SQL schemas, Python pipelines, and Rust services in a single pass. It finds where they disagree and tells you exactly what broke.
benchmarks
fits entirely in l1 cache.
The hot path does partial selection in-place on a fixed stack buffer. No heap allocations, no latency spikes, all 200 feature descriptors in 25 cache lines.
Lower is better. Nanoseconds per packet feature partition.
How the hot path avoids panics when schemas grow.
case study
the $5.4m/hr single-compiler blind spot.
Based on the Cloudflare November 18, 2025 outage. Three compilers (sqlfluff, mypy, rustc) each passed on their own. But a schema change added 80 extra columns that overflowed a fixed-size buffer downstream, taking the whole fleet offline.
Internal replica tables quietly project 280 features instead of the expected 200 into KV metadata.
Automated KV sync pushes dynamic config fleet-wide. Early restarts look like transient jitter.
The proxy's fixed [Feature; 200] buffer gets 280 entries. Worker threads panic, edge traffic drops to zero.
Stokes partitions the buffer: 128 core rules stay pinned, 72 adaptive features get Zone 1, 80 extras get safely dropped. No heap allocations.
faq
frequently asked questions
common questions about how stokes works, what it checks, and how to run it in ci.
what is stokes?+
what is stokes studio?+
how does stokes prevent cloudflare-style outages?+
why does it run inside ibm bob 2.0?+
what do the benchmark numbers mean?+
what is the boundary lockfile?+
ready to verify?
install the cli, point it at your repo, and add `stokes verify` to your ci pipeline. takes about two minutes.