Skip to content
← Log
Object Studios

Doc Studio · Flask

An AI document editor in Python — the same object-studio shape as its TypeScript sibling, composed from two packages that know nothing about each other.

The first of the studio line in Python, and the proof that porting the substrate rather than an app was the right call: ai-object plans the edits, phantom-core writes the prose, and neither knows the other exists. It started at eight hundred lines; once the generic half was extracted into flask-studio it became forty-three — a vocabulary, not an application. The determinism is what makes it testable, and one test caught a real bug: I had seeded generation with the random document id and quietly destroyed the property the engine exists to provide.

It consumes studio-core, flask-studio, ai-object, phantom-core, lab-languages — machinery that already existed, which is why this one took days rather than weeks.