An early deep dive into Khaos Machine, the screenplay analysis ecosystem behind Khaos Studio: how raw script text becomes a structured, machine-readable story model without ever altering the writer’s words.
The conversation walks the pipeline:
- Text in, structure out. The writer works in Fountain or Final Draft;
khaos-parseringests the raw text and generates the KSPD (the Khaos Story Project Data), the single source of truth for the story model. - Separation of concerns. Text is for the writer; structure is for the machine. The parser is the only thing that writes into the story model.
- Identity that persists. Every scene and beat gets a ULID, so when scenes move, their data moves with them.
- Read, don’t rewrite.
story-graphandstory-agentread the KSPD to reason about the narrative; the writer feedback loop (khaos-wfl) watches it and appends signals to a side file, never overwriting the source. - Local-first. Privacy-centric and offline-capable by design.
Recorded January 2026, generated from the Khaos Machine design notes.