The simulator

It does not model CroakOS. It runs it.

The simulator substitutes the environment (the machines, the wire, the links, the origin) and runs the shipping code inside it: the discovery, the route planner, the semantic proxy and daemon, and the real CroakOS binaries, one fdf-ram and one fdf-client per member.

members, one memory200real fdf-client sessions
pairs verified, every one40,0000 wrong
cold start to full memory6.3–6.4 sat 1, 5 and 20 exits
an event in the memory48–64 msthen every path checked again

From the gate run of 15 November 2026: s_scale_tier.py at S=200, E=1, 5, 20.

What you can explore

Formation, routing, roles, split and recovery.

Formation at scale

Two hundred members join one memory, each writes its own facts, every node derives the same graph, and the verification plan walks all 40,000 ordered pairs, hop by hop, in the route tables the planner wrote.

The hardware topologies

Twenty topologies recorded on real machines (chains, rings, stars, snowflakes, ponds, three-site meshes, radio links), converted to the facts those machines write. On the hardware, every pair was reached; here, every pair must be too.

Across sites, through the hub

Nine of those topologies span sites. Every pair between sites must cross the region hub, and no pair inside a site may. Run of 15 November: 238 of 238 between sites through the hub.

Routing by speed

Generated trees, meshes and forests where the generator states every path independently of the planner, and the exit is chosen by uplink speed, not hops. The path must match, hop for hop.

Events

A link down, an egress lost and back, a child moving, three rounds of churn, a member’s RAM link cut past its keepalive. After each one, the complete verification runs again against the new expectation.

Slow links

Every member’s session over a shaped link: WAN, Wi-Fi, 4G, geostationary, HaLow, with and without loss. Every bearer down to geostationary (256 kb/s) and lossy HaLow holds its session.

Applications

Ribbit-LISP against lispers.net, both unmodified, over central, edge and slow-edge links. PyTorch collectives through the backend. A door through the semantic path.

The data plane

The semantic proxy and daemon unmodified behind simulated origins: template learning, the return channel, connection lifetime under thread churn, the codec’s compliance.

Regression

Learned baselines, replayed failure scenarios, and cases kept from failures, such as the stranded-member case fixed on 15 November.

region hubfdf-hub A_gw A_w1 B_gw B_end1 B_end2 C_hub C_s1 C_s2 site A LANsite B chainsite C star WireGuard to the hub
topo_asym_three_sites, as the simulator ran it on 15 November 2026 with real fdf-ram and fdf-client processes over mixed simulated links. All 64 pairs reached; all 42 pairs between sites go through the hub, for example A_w1 → A_gw → hub → B_gw → B_end1, and no pair inside a site does. This hardware topology once had a WireGuard mesh between the gateways. In CroakOS the sites meet only through the hub.
Run it

One Linux machine, from a checkout.

Build the CroakOS binaries once, then run the whole gate or one tier.

cd opt/fdf/src/fdf-source/rinab bash tools/build.sh && bash tools/build_static_host.sh && bash tools/build_static_clients.sh cd ../../../../frognet_semantic export PYTHONPATH=$PWD FROGNET_PROXY_ROOT=$PWD FROGNET_BIN_ROOT=$PWD/../../usr/local/bin python3 simulation/run_all.py # the whole gate python3 simulation/s_scale_tier.py --bin ../fdf/src/fdf-source/rinab/build/static --S 200 python3 simulation/s_topo_tier.py --bin ../fdf/src/fdf-source/rinab/build/static --only topo_asym_three_sites --links mixed --out /tmp/st

The topology tier writes a verification plan per topology and step, verify-<topology>-<step>.tsv: every source, every destination, the path taken, the expected path and the verdict. The LISP tier needs the Ribbit-LISP package built and lispers.net unpacked (LISP_PKG, LISPERS_DIR); the door tier needs MariaDB.

The tiers

What the gate runs.

Status of the last run, tier by tier: SIM_STATUS.md · the runner: run_all.py
tierwhat it exercises
1the model: the algorithm, topologies, lifecycle, churn, invariants
2, 2bthe real route planner and committer over 23 topologies; reroute, black hole, partition
Rregression against learned baselines; failure-scenario replay
3CroakOS discovery from memory: S=200; the hardware and generated topologies with their events and slow links; Ribbit-LISP against lispers.net
4the real kernel in network namespaces; IS-IS loop persistence
5the semantic proxy data plane: decisions, keying, the return channel, database connection lifetime
Ccodec compliance: JSON, XML, HTML, text round-trips and security
Tphysical transport and socket sets; a door through the semantic path
D, DAFthe discovery pathway oracles; discovery by the DAF model over the hardware baselines
Where it connects

From the architecture to the scenario that runs it.

to seerun
formation and discoverys_scale_tier.py
routing between sites through the hubs_topo_tier.py --only topo_asym_three_sites
split, egress loss, re-homings_topo_tier.py --only forest
slow links and bearerss_topo_tier.py --only bearers
Ribbit-LISPlisp_slow_tier.py
PyTorch collectivescollective_tier.py
Where to next

Choose your way in.

See it working

Demonstrations, recordings and the simulator’s runs. Nothing to install.

Watch

What could I use it for?

Thirteen systems already built on it, from AI training to emergency operations.

See the uses

Try it

Run the simulator on one Linux machine, or form a network with two.

Try it

How does it work?

CroakOS explained as one computer: memory, roles, held reads, splits and recovery.

How it works

Work with John

Bring your system, its contract and its tests. Assessments, conversions, training.

Work with John