Repository navigation
fried-catfish: Deterministic simulation engine, replay traces, and sandboxed rules #999
damariushayes
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey MiroFish community,
I’ve been building fried-catfish, a deterministic simulation engine and execution sandbox in Rust, with bridges for Python/Arrow and WebAssembly. Rather than trying to replace agent workflows or claim magic predictions, I built it to solve a more practical problem: making simulation runs repeatable, inspectable, and safe to checkpoint or replay without re-running everything live.
Public repo: https://github.com/damariushayes/fried-catfish
What I’m building and why
A lot of simulation setups get messy once you care about reproducing a run, inspecting state without accidentally mutating it, or replaying what happened step by step. In
fried-catfish, I focused on:BLAKE3Merkle roots,Philox4x32random generation, and copy-on-write state tables so running the same scenario and seed gives you the exact same state hash..simvaultsnapshots, reading columns zero-copy into Python/Arrow, and streaming Arrow IPC data for browser/worker pipelines.IntentTraceso you can replay decisions offline later.Where things stand right now
On my local CLI checks (
sim-cli), a 500-tick run replayed to the exact same Merkle root (dbb01bc3786fbe5b4eda1cfa8977460a6ab1e09a68192c9d0ad5c7864ed2f629), and a 2,000-tick benchmark finished in2.835 ms(~705k ticks/sec) on the sample scenario. That covers the core execution and replay loop—it doesn't by itself make agent reasoning smarter, just easier to audit and reproduce.Curious how you all handle this
If you're running multi-agent or multi-step simulations here:
All reactions