Software
Formship
The course-generation pipeline behind my company's first product: staged model calls, schema-checked output, and a sync step that patches training when its source changes.
My partArchitecture, generation pipeline, and product design
Stack and genreai orchestration, llm, structured output, pipeline architecture, python, vue

Formship started as a product for coaches and small businesses: turn your own material into a training program. I designed the product and the generation pipeline behind it, in Python and Vue. The product is retired. The architecture is the part I kept, and it is what this page is about.
The generation pipeline
One model call drafts the course outline as a typed schema while topic research runs in parallel. Content is then written in batches sized to the course, and every output is validated against a Pydantic schema before it moves on. Quizzes come last and are written from the finished sections. Each question stores the section and the quote it came from, so it tests what the learner actually read.
Around the calls sits the plumbing that makes it a system. A per-account queue runs one job at a time with live progress and clean cancellation. Tracing records each stage, failed stages retry with backoff, and hard limits cap calls and tokens.
An earlier version solved a harder problem: keeping sections coherent when they are written in parallel. It built one shared anchor context first, so every section used the same vocabulary, then ran a pass to harmonize them.
Keeping training in sync with its source
The piece I think holds up best is the sync step. When a source document changes, it finds the exact training sentences that are now wrong and patches only those. Nothing else gets regenerated. Each section is snapshotted before it is patched, so every change can be undone.
What it became
The same shape (fetch the source, compare, report only what you can prove) turned into a drift audit. It reads a product’s changelog and its help center, fetches the live pages, and checks every quoted line against the live text before a finding goes into a report. formship.io runs that audit now, and Formship is the name of my LLC. The same company publishes my games as Formship Games.
My master’s coursework in software architecture and in QA and deployment covered the same ground from the other side: splitting an orchestrator from its workers, and running each test as its own CI job so one leak can’t hide behind another.