Examples
Murk ships with three Python example projects demonstrating different spatial backends and RL integration patterns.
| Example | Space | Demonstrates |
|---|---|---|
| heat_seeker | Square4 | PPO RL, diffusion physics, Python propagator |
| hex_pursuit | Hex2D | Multi-agent, AgentDisk foveation |
| crystal_nav | Fcc12 | 3D lattice navigation |
There is also a Rust example:
| Example | Demonstrates |
|---|---|
| quickstart.rs | Rust API: config, propagator, commands, snapshots |
Running the Python examples
# Install murk first
cd crates/murk-python && maturin develop --release && cd ../..
# Run an example
cd examples/heat_seeker
pip install -r requirements.txt
python heat_seeker.py