← Writing
How I Built a Blog Writer That Avoids AI Slop
AI8 min read

How I Built a Blog Writer That Avoids AI Slop

How I built an AI blog-writing agent that avoids the slop and writes like me: loops, goals, and gates, training on my own writing, one humanizer pass, an independent verifier, and a human in the loop.

ShareXLinkedInFacebook

AI writing reads like slop, and you can spot it in a sentence. The em dashes show up first, then the stock phrases, "here's the honest truth" and its cousins, then a tidy three-part list and a one-line mic drop to close the paragraph. A model writes the average of everything it has read, so that's what you get.

I've built a number of agents to write content for me, and each one has been better and more me than the last. This post walks you through my latest iteration and how I designed it to avoid the slop and write like me, the good and the bad. It comes down to five things:

  • Architect the whole thing around loops, goals, and gates.
  • Train it on your own writing samples.
  • Run humanizers to strip the AI tics.
  • Add an independent verifier to check the agent's work.
  • Keep a human in the loop.

Let's jump in with the architecture, then take each piece in turn.

Architect it around loops, goals, and gates

Architecture of the blog writer: a self-improving loop from my prompt to a published post I approve the plan, three models write, grep and Gemini check, and a Haiku judge decides whether it passes. Flagged lines loop back for a targeted fix, three rounds at most. I read every word before it publishes, and each run writes what it learned into learnings.md.

It starts with me, because that's where the moments live. I write a prompt with my notes and the idea, the agent turns it into an intent.md, and nothing runs until I read it and approve it. Opus drafts, Sonnet humanizes, and Opus comes back at the end to copyedit in my voice. Then the checks run, and anything they flag goes back for the smallest fix that clears it before it lands with me.

The whole run sits under /goal, which I wrote about in The two loops of building with AI agents. You give the agent a finish line, and a separate model checks after each turn whether it's there. My finish line is plain: every gate passes, or the run stops.

And it does stop. A fixed line goes back through the gates, three rounds at most, with a hard cap of $5 per post. A ratchet holds on to the best draft so far, so a bad fix in round three can't throw away a good draft from round two. One of my earlier agents cost me about $7 and never passed its own checks, so I'll take every cap I can get.

Every sub-agent step below runs inside this loop, and the loop doesn't end when the post does. After each run, the agent updates learnings.md, and the next draft starts from it.

Train it on your own writing samples

My writing is the first thing the loop gets. It feeds the draft step, and it's why the draft starts closer to me.

I wanted it to sound like me, good habits and bad, which is a lower bar on some days and a much stranger one on others. So the reference material is my own writing: about 30 chapters of my Camino memoir, Feel Every Step, a good part of which is me walking across Spain and complaining about my feet. The 20 or so essays from my old site, and the 44 or so posts here. And my private journals, which I used for rhythm only. They're never quoted, never paraphrased, and never sent to any outside service.

All of that got boiled down into a style guide: how I open, how long my sentences run, where the jokes land, the words I'll never use. Next to it sits learnings.md. When the same lesson turns up in three articles, the agent proposes moving it into the style guide, and I approve it.

The style guide also carries how I structure a post, and that part comes from journalism: the inverted pyramid. The lead comes first and carries the most important information, answering who, what, when, where, and why. The body fills in the details and gives the context and explanation, with each section ranking below the one before it. The tail holds the minor details and the conclusion. Length is only a guide, so the agent never cuts the conclusion to hit a word count. It outlines every post this way before it writes a word.

The inverted pyramid in three tiers: the lead with the most important information, the body with details, context, and explanation, and the tail with minor details and the conclusion The inverted pyramid: the lead, the body, and the tail. Every post the agent writes is outlined this way.

None of this is fine-tuning. The model doesn't know me. It reads the style guide at the start of every run and forgets it at the end.

Strip the AI tics with a humanizer, once

Sonnet gets the draft next. It has my voice in it, and like every draft I've gotten out of a model, it has the tells too. So Sonnet gets one humanize pass, working through two checklists of AI tics at once. Only one pass, because every extra scrub took a little more of me with it.

I learned the order the hard way. I ran the style guide first and the humanizers after it, and the cleanup sanded my writing right back down. The fix was ordering: cleanup first, voice last. Opus comes back for a copyedit in my voice, that pass gets the final word, and nothing scrubs after it.

Add an independent verifier to check the agent's work

The copyedit hands its draft to the checks, and their flags send a line back around the loop.

Ask a model the same question twice and you'll get two different answers. I'm fine with that when I'm brainstorming, but I can't use it to grade anything. My first pipeline had a model scoring drafts that models had written, and I should have seen the problem sooner. If the grader changes its mind between runs, a better score might just mean the dice landed differently.

The mechanical gates are plain old grep and wc, checking the boring stuff I'd otherwise get wrong: no dashes, no banned words, length in range. They give the same answer every time and have no opinions about my prose, which is why I trust them. A dash is a dash.

The one check that needs a model is Gemini, which comes from a different vendor than the writers. It reads the draft cold and flags anything that smells like AI. It only detects, because the moment the checker starts writing, it's just another writer. I fence it in, too. Every line it quotes as a problem gets grepped against the draft, and if the quote isn't actually in there, the flag gets thrown out. I'd rather have no detector than one that makes up its evidence.

Keep a human in the loop

I sit at both ends of the loop. I approve intent.md before anything runs, and I read the final draft before it publishes, along with the verifier's low flags. I overrule a lot of those. Gemini doesn't love my short punchy lines. I do.

I wrote about where AI fits for me in Learning the right AI balance. AI is the hands, and I keep the thinking. I write the notes, and if something happened to me, it goes in them, because the model has never been anywhere and can't make that up without lying.

That final read caught the sneakiest failure so far. The first run of the new pipeline passed every gate for about $2.47, and it read like a spec sheet. Too technical, no human in it, and it had passed checks I'd built myself. So now the must-include list stays short, and the copyedit rewrites any section that reads like spec instead of a person talking. I also don't trust an all-green run on its own anymore, since a draft can clear every gate and still not sound like me.

What I learned, and what to take away

If you're building one yourself, start here.

  1. Architect it around loops, goals, and gates. Give the run a finish line, a round limit, and a dollar cap, and keep the best draft.
  2. Train it on your own writing. A style guide and a learnings file start the draft closer to you, no fine-tuning required.
  3. Run the humanizer once, then put your voice back last, with nothing scrubbing after it.
  4. Verify with something that isn't the writer: deterministic tools for the rules, a detect-only model from another vendor, and a grep on every quote it flags.
  5. Keep a human at the gates. Approve the plan, read every word, and don't take an all-green run as proof it sounds like you.

What I still don't trust it with is the thinking, and the call on whether a post sounds like me. Those stay on my side of the gate. This post went through the same pipeline, so you get to judge how that went.

Subscribe at quintonwall.com if you want the next one.

ShareXLinkedInFacebook

Subscribe

New posts on AI, developer relations, photography, and the odd long walk, straight to your inbox. No spam.

More on AI

All AI →