Skip to content

Runnable examples ​

These examples are small projects you can operate, not isolated configuration fragments. They live under examples/ and use only a shell and Python 3. They do not contact external hosts, require credentials, or modify anything outside their own directory.

Start from the repository root after building or installing Kranz.

Which example should I choose? ​

If you want to learn…Use
How everything fits together in one projectMoonFlight
The keyboard and basic service lifecycleProcfile
Custom log processors, viewers and run-aware searchLog tools playground
How a real kranz.yaml is structuredNative YAML
Docker/SSH-style resources that survive KranzDetached lifecycle
Work that must succeed before a service startsPrerequisites
One action replacing copied command variantsAction parameters
Whether your existing Process Compose file worksProcess Compose
How several repositories become one explainable projectConfiguration composition
Live graph status and batch previews in the TUIDependency viewer
Dependency fan-out, fan-in, health, and recoveryFull stack
Declared, detected, stale, and dynamic portsRuntime ports
A coding agent joining the runtime you already useMCP shared runtime

Safe by construction

The lifecycle and dependency viewer playgrounds use ignored marker files. Examples that need ports open only documented localhost listeners. Each page includes its cleanup instructions.

Released under the MIT License.