Marimo Notebooks¶
The runnable notebooks in this repository are marimo notebooks stored as Python files.
They can be opened interactively or executed as scripts.
Interactive Use¶
Open a notebook with:
Marimo tracks dependencies between cells. When a cell is skipped with mo.stop(...), downstream cells that depend on it are also skipped.
Script Use¶
Run a notebook as a script with:
The notebooks use CLI-backed configuration through apply_cli_overrides(...). Command-line keys use kebab case, and notebook config keys use snake case.
For example:
uv run python notebooks/matrix/chicken/experiments_mo.py \
--run-ippo=true \
--run-ippo-shielded=false \
--num-runs=1 \
--timesteps=64
Working Directory¶
Notebooks normalize their working directory to the project root during setup. This keeps relative paths such as exports/... stable whether the notebook is launched from the repo root, an editor, or a script runner.
Common Notebook Families¶
World-model notebooks:
Opponent-model notebooks:
Experiment notebooks:
Play and inspection notebooks:
Diagram notebooks live under notebooks/diagrams/.