Skip to content
Python core API architecture

RuleFlow

Build cellular automata, string-rewriting systems, and multiway models with an expressive DSL. Define pattern substitutions, shifts, and state updates in just a few lines.

The RuleFlow source code was developed by humans, for humans. We reject AI code slop. Learn more about our AI policy here.

Interactive Studio

Step through execution frame-by-frame in a live terminal UI. Edit rules with instant reload, inspect space states, and trace cell lifespans without leaving your shell.

Explore the Terminal UI

Causal Analysis

See exactly how events connect over time. RuleFlow maps causal graphs, measures flow hierarchies, and exports interactive views to Gephi or your browser.

Learn about Causal Graphs

Ruleset Scaffolding

Build complex rulesets using FlowLang imbedded within our bootstrapped Python or WL environments.

View the FlowLang Docs

Extensible

Need more than the DSL? Subclass Cell, SpaceState, and Rule in Python to simulate 2D grids, hypergraphs, or custom dimensions. Once you're done, you can easily create a plugin so that your code is interactive with RuleFlow Studio.

Browse the Core Engine Docs