How I built a publishing platform in ten weeks with AI coding agents
Mythener does the work of six separate writing tools. I specified it, designed it and ran the build on nights and weekends, and AI coding agents wrote the code: 1,087 merged pull requests in ten weeks.
- Company
- Mythener · Nights and weekends
- Role
- Co-founder: product, design and delivery
- Team
- AI coding agents working from my specification, with a small part from my co-founder
- When
- Sep 2026 – present
- Read
- 5 min
- 6to1separate writing tools replaced by one platform
- 10 weeksfrom the first commit to a live product with authors on it
- 1,087pull requests merged, written by AI coding agents
- ~3,200automated tests every release has to pass
The short version
- Context
- I’m a series author. Years ago a failed hard drive took every manuscript and every note on the world I had built. Mythener is the platform I wanted then: one place for a whole series, from the first worldbuilding note to the printed book.
- Problem
- It does the work of six separate tools. That is a job for a funded engineering team, and I had nights, weekends and AI coding agents.
- What I did
- I wrote the specification, 74 numbered requirements, designed the product, and ran AI coding agents as the delivery team inside a release process they could not break.
- Impact
- A live platform with authors on it in ten weeks: 1,087 merged pull requests, about 3,200 automated tests, and up to nine releases a day.
The problem
A team’s worth of software, on nights and weekends
In 2019 and 2020 I published three books. Then a hardware fault corrupted my hard drive, and the repair shop wiped it completely: every manuscript, and every note on the world they were set in. I lost the books and, worse, the world.
A series author carries that world in their head. Every character, rule and date has to stay true across books, and the tools for the job are six separate products that don’t talk to each other: one for worldbuilding, one for drafting, one for planning the series, one for checking the manuscript, one for beta readers, and one for typesetting the ebook and the paperback.
Replacing all six with one platform is the kind of product a funded team spends a year on. I had nights, weekends and AI coding agents to do the engineering.
Agents can write code faster than anyone can read it. The hard part is everything around the code: knowing what to build and in what order, and letting agents ship many times a day into a product that holds other people’s unpublished manuscripts, without one of those changes leaking a book or losing one.
The product
What’s inside
About 73,000 lines of application code, 122 database tables and 114 API routes, with no web framework underneath. Four parts of it are harder than they look.
- 22 → 0A book typesetter that runs in the browserPrint pages are set with Knuth–Plass line breaking, the method behind TeX, with dictionary hyphenation, a baseline grid and levelled facing pages. On 2,400 test chapters, stranded first and last lines went from 22 to 0. A 400-page book sets in about a third of a second, and the PDF is checked against four printers’ rules before it leaves.
- As of any chapterFacts that know when they are trueA character’s rank, age or whereabouts is stored with the chapter it becomes true and the chapter it stops. The record is only ever added to, and what the author confirmed is kept apart from what the machine suggested, so a check can ask what was true just before any chapter, across the whole series.
- 159 → 5Grammar checking that never leaves the deviceSpelling and grammar run in the browser: a dictionary, a part-of-speech tagger built for the job, and a language model of about 14 MB that marks a fix and never rewrites. A red team of 765 passages cut false alarms from 159 to 5 while catches rose from 63 to 166. No customer writing was used to train it.
- ~50 toolsA safe way in for an author’s own AIAn author can connect their own AI assistant to their books through about fifty tools. Every edit it makes is saved as a labelled revision that can be undone one change at a time, and a save is refused if the text has changed underneath it.
Decision 01 of 05
Write the whole specification first
Agents build what you can describe, so describe all of it.
Before any code, I wrote the product specification: 74 numbered requirements, each with acceptance scenarios, in a plan ordered by what depends on what.
That document is the product. The agents work from it, and a requirement is done when its scenarios pass, not when the code looks finished.
The temptation
Start prompting and see what comes out
It is the fastest way to a demo, and the slowest way to a product.
My call
Specify first
74 requirements, each with a way to tell that it is done.
Decision 02 of 05
Run the agents like a delivery team
An agent is not a tool you prompt. It is a team you manage.
The work moves through a release train from staging to production: a pull request for every change, feature flags per environment, gates on every build, and a rollback that takes one command.
That is what made the pace possible. At the busiest point in November the agents were shipping up to nine releases a day.
The temptation
One long session, building as it goes
No process, no history, and nothing to roll back to.
My call
A release train, with a pull request for every change
Staging, flags, gates, and a rollback by version.
- First four weeks
- 524
- Ten weeks
- 1,087
Decision 03 of 05
Let agents deploy. Never let them migrate.
Give standing permission for what can be undone, and none for what can’t.
Agents have standing permission to deploy a change that has passed its checks. They do not ask first, which is why the pace holds.
They have no permission to change the database. A database change needs a separately reviewed migration and a verified backup, and the automated pipeline never runs a migration against production.
The temptation
One rule for everything
Approve every deploy by hand, or let the agents do both.
My call
Two rules, split by what is reversible
Deploys are free to move. Migrations stop for a person and a backup.
Decision 04 of 05
Make the checks the reviewer
I can’t read a thousand pull requests. The checks can.
The first check on every change fails the build if it finds secrets, databases, manuscripts or rows of data in the source. An author’s writing cannot ride along with a code change.
Every release then runs the whole suite, about 3,200 tests. A changed test is run five times, under load, in time zones far apart, and then broken on purpose to prove it can fail. The release script refuses to run if the live version is not the one it expects.
The temptation
Review it all myself
Which would have capped the build at the speed I can read.
My call
Checks that fail the build
And tests that are proven able to fail.
Decision 05 of 05
Keep the design mine
Agents write the code. They don’t decide what the product is.
I set the design direction and wrote it down as a design system in code, with a test that rejects a colour typed in by hand, so a thousand changes by agents still look like one product.
The hardest piece, the Delphi Engine that reviews a whole manuscript, I designed myself. It has its own case study.
The temptation
Let the agents choose
They will happily design every screen a different way.
My call
A design system the build enforces
And the core engine designed by hand.
Results
Impact of the work
What I shipped
Ten weeks after the first commit, Mythener was live at mythener.com with seven authors onboarded. It covers eight stages of a book in one place: bringing a manuscript in, building the world, planning the series, writing, review, editing, beta and advance readers, and publishing a bookstore-ready ebook and a print-ready paperback.
Behind it are 1,087 merged pull requests and 3,131 commits, 524 of those pull requests in the first four weeks, with about 3,200 tests in 515 files and 151 public release notes. My co-founder, who I also build Zenblis with, contributed a small part of it; the rest came from the agents.
What it gave back
I rebuilt the world I lost in Mythener, seven years after the drive was wiped. The next book in the series was written and produced in it, and is up for pre-order.
What it replaces
Bought separately, the six tools cost $664 in their first year. Mythener’s author plan is $270, and it does the one thing none of them can: a change to the world reaches the plan, the draft and the review.
What’s next
The platform has plans for a whole press as well as a single author. I am in talks with publishers about bringing all of their authors onto it at once.
What it still can’t do
Rolling back restores a version of the application. It does not reverse a database change, which is exactly why migrations stop for a person.