work/docugen
Documentary production workflow
Docugen
One place for a documentary's script, research, shots, files and review decisions, with a hand-holding wizard to start or import a film and an unchangeable history behind every edit.
Live
Making a documentary with agents means a lot of moving parts and one rule: machines do the work, people decide. Docugen is the service that holds it all together, and it never confuses a submission with an approval.
- Runs on
- Web app on the home server, over TLS on the local network
- Built with
- Python 3.11 standard library only, SQLite, a content-addressed file store
- Started
- October 2026
Workflow
A submission is not an approval
Machines do the work, people decide: agents get work packets and hand back submissions, and only a person's approval, tied to an exact revision, moves a film on.
Starting a film
Start a film asks one question at a time across eight short steps (idea, audience, language, footage, research, script, shots, final check) and can be paused and resumed. Import a film I already have accepts a structured JSON format (or Markdown, Fountain screenplay or CSV), checks it, explains problems like a teacher ("the shots add up to six seconds but the target is three minutes; here's how to fix it"), previews exactly what will be created and only then creates it. A prompt kit lets a colleague's AI assistant research and write an importable script.
Start
Import what you have
Start a film, or import one you already have. The import wizard. Import preview: heads-ups explained, and exactly what will be created. The new film wizard, eight steps with example answers.
Working on it
Each film has a "your next step" coach, a production checklist from idea to approval, and tabs for watching, script, shots, research, files, requests, history and tools. Review is built for humans: one page lists everything waiting across all films, the player takes frame-accurate timecoded notes, the reader takes notes on selections and shows diffs, and images take region notes. Approve, reject or request changes; requests go back to agents through a refinement queue. Editing hides behind an explicit Edit mode.
Exports go to the editing suite as EDL or FCPXML, or out as a CSV shot list, a printable script or Docugen's own JSON, at a chosen frame rate.
The film
One page per film, one per cut
A film page. A cut of the film, with the next-step coach and the stage checklist. The review home: everything waiting for a person. The film library.
Inside a film
Script, shots, research, files
The script. The shot list. Shots in Edit mode. Research and sources. Files. History: every revision kept.
Out
To the edit, and to the agents
Export buttons: EDL, FCPXML, CSV, script and JSON. Recipes: typed production tools agents can run. The film created.
How it's built
- Python's standard library only: its own HTTP server, SQLite and a content-addressed blob store, with around 170 tests and browser specs.
- Every object has an append-only revision chain, and every approval names the exact revision approved. Bytes are immutable; nothing is replaced and no path is guessed.
- The service never runs production tools itself. It hands out work packets with the planned command, an agent runs them on the machine that has the tools, and only a person can accept the result.
- The wizard overhaul and the import format with its exporters and prompt kit were developed in parallel and released together.
- Screenshots come from a scratch instance with the repository's fictional example film, "The Water Vote"; shot pictures are placeholders.

















