Itinera: how a human and agents, working together, built a library, its specification, its tests, a website and a book in 14 days
For as long as I have written software I have believed that code is easier to understand when you can see what is going on, and that the way to see it is to keep the business rules apart from the flow that runs them. Itinera is a library built on that belief: specified once, implemented in several languages, growing in tiers, run by different executors without changing a step. Most of its code is not the library at all, but the checks around it: almost four lines for every line it runs. Built alone, it would have needed at least a year of paid work. It took fourteen days.
This series is about how. Not about agents typing code, which was the cheap part, but about the way the work was done together: thinking out loud with an agent, asking what it thought, taking its idea when it was better, pushing back when it was wrong, and a process in which agents reviewed what other agents proposed while one person decided what they were allowed to decide. The conversations are quoted on both sides, as they happened. None of it is vibe coding, and the series says why.
14 de 14 partes publicadas.
Partes
A year, or fourteen days (em inglês)
A workflow framework built for many languages, its first implementation published in Rust, and what fourteen days of working together with agents produced. Why I wanted it, why nobody builds it alone, and why this time it took two weeks.
What Itinera is (em inglês)
The library itself, before any of the story: steps that know nothing of the flow, a workflow that declares it in one place, every journey reporting what happened, and why that matters more when agents write the code.
This is the best thing I could think of (em inglês)
The evening Itinera was thought through: a problem instead of a specification, an agent asked for its verdict rather than its obedience, its elaborate proposals falling to one-line constraints, and the name it found when I asked about journeys.
I am trying to exercise our own process (em inglês)
The first of October: a process for a multi-language library designed together, research instead of memory, an agent that set it all up in minutes, and the same evening, holding it to the rules it had just written. Three kinds of document came out of the correction.
A description can be forgotten (em inglês)
In one evening the rules of the Itinera process stopped being paragraphs and became checks that nobody could bypass, the agent included. Then I opened a pull request meant to fail, and the next day a question about coverage turned into the rule that cases come before acceptance.
I am lost (em inglês)
Twelve proposals into a day of specification, I asked the agent what the spec even was. What that question produced, the doubts that came before it, and the other side of the same habit: an agent that owned its slips, sometimes before anybody had noticed them.
How it is put together (em inglês)
Before the building starts, the map: seven repositories, what each one holds and how they pin each other, why the conformance cases are Gherkin, why Rust went first, and how the inside of the Rust library stays explained after the session that wrote it is gone.
Agents reviewing agents (em inglês)
One agent implemented, another kept the specification, a third reviewed every change, and they wrote to each other. What I did above them was mostly not reading code: settling their disagreements from first principles, and keeping the process even when I was the one breaking it.
A project, not a session (em inglês)
Moving the work from one agent session to a project: a coordinator that starts threads, threads that write to each other, and a digest every weekday. Where the speed came from, counted from the repositories, and the problem it brought instead, which was my attention.
What could make your life easier? (em inglês)
Asking the agents what slowed them down, and what came of it: an inner loop measured step by step, tools weighed and declined with numbers, one command for every check, a cloud environment that starts ready, and a twenty-minute CI run cut to a fraction.
Either you ignored some rule or some rule needs to be written (em inglês)
With parallel threads writing code, I could not read everything, so I stopped trying. What supervising agents became instead: asking why each mistake happened, and turning the answer into a rule, a review item or a proof the compiler checks, so that nothing is caught twice.
Wait, we need to agree before you code (em inglês)
The public API of the Rust macros was designed in one night of conversation: sixteen questions, the full example reprinted five times, the model reshaped from both sides, and a signed-off document before a line was written. Then seven pull requests.
Do these all at once, because I now think you got the idea (em inglês)
An agent wrote the whole Itinera book in under an hour, and every example compiled. Then it had to be rewritten, chapter by chapter, at a pace set by how much I trusted it. Reading it as a newcomer turned out to be the best review the API ever had.
Thanks for this great work (em inglês)
The release of Itinera 0.1.0-beta.1, and what stayed in human hands when nearly everything else had been handed over: scope, naming, a question about packaging, the tags and the publish. Then the agent’s own verdict, and the close of the series.