I wanted to write my Zetts faster without losing my real voice. An AI agent makes me write faster, and I still review everything, so the agent keeps improving the writing.
Please check the Glossary. The other Zetts, like this one, explain where the Transcripts come from.
In the following diagram, you can see the loop I follow. I comment on a Draft in Preview and press Send, the agent revises the Draft, and I send more comments until I have nothing left to say. Then I press Finish, and the agent learns from the Draft and updates the Voice.
The main thing is speed. It is faster for me to have a first version and correct it than to write it on my own, thinking too much about the words I use. I draw the diagrams of this Zett with esbozo, a tool I built for that.
The Voice ↑
The agent does not guess how I write. I have a file called VOICE.md where my
way of writing is collected as rules. Each rule points to where it comes from: a
Zett I wrote by hand, a choice I made in a voice quiz, or a lesson from a Draft
that I corrected.
The quiz showed me two different ways of writing the same sentence, many times, and I chose the one that felt more like how I would say it.
The file grows each time I correct a Draft. That is the important part, because the agent gets closer to my Voice with every Zett.
Writing a Draft ↑
I ask the agent to write a Draft, using a skill called write-zett, and I name
the Transcripts it has to use. Here is what the agent reads and what it writes.
This is what the agent does:
- It reads
VOICE.md. - It reads the Transcripts I named, and the Zetts it could link to.
- It writes the Draft in
zett/, withoutpublish: true, so the Draft stays private. - It builds the website and opens Preview.
Every fact in the Draft has to come from the Transcripts or from what I say in the session. When the agent does not have an answer, it does not invent it. It leaves a Reminder in the Draft, right where the answer belongs, and I answer it later.
At the beginning, the agent wrote sentences that I do not normally use or say, and it did not include diagrams as often as I wanted. I had to fix both in almost every Draft, and that is what the Voice file is for.
Annotating in Preview ↑
Preview is where I read the Draft, as it will look on the website. I select a passage and leave a comment on it, and I do that for every passage that needs a change. When I finish annotating, I press Send. Send gives every open Annotation to the agent that wrote the Draft, through recado. It is a tool that delivers a message from one agent to another, so Preview does not need to know which tool the agent is running in.
The agent revises the Draft and replies to each Annotation, and I read the answers in Preview. If a revision still misses the mark, I comment again and press Send again. When I have nothing left to say, I press Finish.
Teaching the Voice ↑
The agent keeps learning on every round of Annotations. When the Draft is good, I press Finish in Preview. The agent compares the Draft it wrote with the version I have now, and it classifies each change in one of the following ways:
- A change of Voice, such as a word, a sentence or a structure.
- A mistake that I fixed.
- A fact, which teaches nothing about my Voice.
From the first two, the agent proposes lessons for VOICE.md. I approve or
reject each one, and only the approved lessons are written.
I keep reading everything from top to bottom and making corrections over the text the agent writes, so it sounds like me as much as possible.
Glossary ↑
- Zett: A note I write myself, based on Transcripts, that ends up being the content of this blog.
- Transcript: A Nomad Note converted to a Markdown file.
- Draft: A Zett written by the agent in my Voice that I have not checked yet. It becomes a Zett after I check it.
- Voice: How I write. The choices of words, sentences and structure that a Draft has to follow.
- Preview: The private version of the website, where I check a Draft before anything goes live.
- Annotation: Feedback that I leave on a Page in Preview, for the agent to act on.
- Reminder: A message that I, or the agent, leave inside a file for me to answer. A file with a Reminder cannot be published.
- Page: A Zett converted into HTML. A web page.