<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>zerwiz — the blog</title>
    <link>https://zerwiz.org/blog/</link>
    <atom:link href="https://zerwiz.org/rss.xml" rel="self" type="application/rss+xml" />
    <description>Josef Lindbom on building with a fleet of AI agents, local models and the web.</description>
    <language>en</language>
    <lastBuildDate>Wed, 25 Nov 2026 14:02:37 GMT</lastBuildDate>
    <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
    <image>
      <url>https://zerwiz.org/icon-512.png</url>
      <title>zerwiz — the blog</title>
      <link>https://zerwiz.org/blog/</link>
    </image>
    <item>
      <title>Building a website with AI that reads itself aloud</title>
      <link>https://zerwiz.org/blog/a-website-that-reads-itself-aloud/</link>
      <guid isPermaLink="true">https://zerwiz.org/blog/a-website-that-reads-itself-aloud/</guid>
      <description>Pages that narrate themselves with an open text-to-speech model while the words light up as they are spoken — built with AI agents, served as static pages.</description>
      <content:encoded><![CDATA[<p>Some things are better heard than read. I wanted the old Norse myths on
<a href="https://ymir.zerwiz.org/kvoldvaka/">Kvöldvaka</a> to be told the way they were once told — aloud, by the fire. So the pages
read themselves: press play, and a voice tells the story while the words light up as they are spoken.</p>
<p>I built it with AI agents doing most of the typing. Here is how it works, and what I learned.</p>
<h2 id="the-shape-everything-at-build-time">The shape: everything at build time</h2>
<p>The most important choice was to do the hard work <strong>once, when the site is built</strong> — not in the visitor’s browser and not
on a server per request.</p>
<ul>
<li>The story is plain text, kept with the site.</li>
<li>At build time, a text-to-speech model turns it into an audio file.</li>
<li>A speech-recognition model listens to that audio and writes down <strong>when each word is spoken</strong>.</li>
<li>The page ships the text, the audio and the timings. The browser only plays the audio and follows along.</li>
</ul>
<p>The result is a static site. No voice server has to stay up, nothing is generated while someone waits, and the pages
load as fast as any other.</p>
<h2 id="the-voice-an-open-model">The voice: an open model</h2>
<p>For the narration I use <strong>Kokoro</strong>, an open text-to-speech model that is small enough to run on an ordinary machine and
sounds natural enough to listen to for a whole story. Because it runs locally, I can regenerate a chapter whenever the text
changes, as often as I like, at no cost.</p>
<p>A few things make a real difference to how it sounds:</p>
<ul>
<li><strong>Write for the ear.</strong> Long sentences that read well can be hard to follow aloud. Shorter sentences and clear breaks
help the voice — and the listener.</li>
<li><strong>Names need help.</strong> Old Norse names trip up any voice. Each story carries a short list of spellings <em>for the voice
only</em> — the page still shows the real name, but the voice is handed a spelling it can say.</li>
<li><strong>Generate in pieces.</strong> Each paragraph and each heading is its own recording, so the pacing stays steady and one changed
paragraph is cheap to redo.</li>
<li><strong>Name the file by what it says.</strong> Each recording is named by a hash of its text. An unchanged paragraph is never
recorded again, and a changed one gets a new name that no phone can have cached.</li>
</ul>
<h2 id="the-timing-let-a-listener-write-it-down">The timing: let a listener write it down</h2>
<p>To light up each word as it is spoken, the page needs to know exactly when each word starts. The narration model does not
tell you that reliably. So I turned the problem around: after the audio is made, <strong>Whisper</strong>, an open speech-recognition
model (run locally with whisper.cpp), listens to it and returns the words with their times.</p>
<p>Then the heard words are matched back to the words shown on the page — so punctuation, spelling and names come from the
story, and only the timing comes from Whisper. A word Whisper did not hear clearly is placed between its neighbours. The
timings are saved beside each recording, named by the same hash, so they never go stale.</p>
<h2 id="the-page-following-the-voice">The page: following the voice</h2>
<p>In the browser, the work is small. As the audio plays, a short script reads its current time, finds the word being spoken,
and lights it gold. The paragraph being read is at full light; the others dim. When a new paragraph starts, the page brings
it into view — but only if it is not already comfortably on screen, so the text does not jump about while you read along.</p>
<p>One detail matters for everyone, not only for people who listen: <strong>the text is real text.</strong> Search engines, screen readers
and AI assistants read the story as normal HTML. The voice is an addition, never a replacement.</p>
<h2 id="building-it-with-agents">Building it with agents</h2>
<p>I did not hand-write most of this. I wrote the plan — what the page should do, how it should look, what must never break —
and AI coding agents built the pieces, each in its own branch, each change reviewed before it went live. The build steps
that call the voice and the listener are small scripts the agents wrote and I checked.</p>
<p>What the agents could not do was <em>listen</em>. Every chapter was played and heard by a person before it was published. A model
can tell you the audio file exists. Only you can tell whether the story sounds right.</p>
<h2 id="try-it">Try it</h2>
<p>Open <a href="https://ymir.zerwiz.org/kvoldvaka/">Kvöldvaka</a>, press play, and watch the words follow the voice. If you want to give
your own pages a voice, it is one of the courses I plan: voice for the web, from text to narration to words that light up.</p>
]]></content:encoded>
      <dc:creator>Josef Lindbom</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <enclosure url="https://zerwiz.org/og/blog/2026-11-25-a-website-that-reads-itself-aloud.jpg" length="45397" type="image/jpeg" />
      <media:content url="https://zerwiz.org/og/blog/2026-11-25-a-website-that-reads-itself-aloud.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
      <category>voice</category>
      <category>websites</category>
      <category>astro</category>
      <category>text to speech</category>
    </item>
    <item>
      <title>I'm starting to teach: building with AI, the way I build</title>
      <link>https://zerwiz.org/blog/i-am-starting-to-teach-ai/</link>
      <guid isPermaLink="true">https://zerwiz.org/blog/i-am-starting-to-teach-ai/</guid>
      <description>34 courses on AI agents, local models, MCP and more, taught live on Discord and recorded. Here is what they are, who they are for, and how to join.</description>
      <content:encoded><![CDATA[<p>For the past year I have built almost everything with AI agents: an open-source agent operating system called
<strong>Ymir</strong>, websites that read themselves aloud, a team workspace, local models running on my own graphics card, and a
fleet of agents that plans, builds and checks its own work while I decide what ships.</p>
<p>People keep asking me how. So I’m going to teach it.</p>
<h2 id="what-ill-teach">What I’ll teach</h2>
<p>I’ve mapped out <strong>34 courses</strong>, each built on something that already runs in my own setup, so you learn what works in
practice rather than in a slide deck. They fall into a few groups:</p>
<ul>
<li><strong>AI agents and orchestration.</strong> Running a fleet of agents, coding agents in practice, multi-agent orchestration,
planning with agents, agent-to-agent messaging.</li>
<li><strong>Getting models to work for you.</strong> Creating skills, getting models to behave, context engineering, RAG over your
own documents, writing instructions agents actually follow.</li>
<li><strong>Local AI.</strong> Running models entirely on your own computer, then sharing one model server across a team.</li>
<li><strong>Building and shipping.</strong> MCP servers from scratch, setting up GitHub for AI work, the delivery gate (pull requests,
CI and reviews when agents do the work), hosting your work online, and websites built with AI.</li>
<li><strong>AI in the rest of the work.</strong> Meetings, documents, marketing, voice, film, and a course for leaders who don’t code.</li>
</ul>
<p>The full list is in the <a href="https://zerwiz.org/courses/">courses hall</a>.</p>
<h2 id="how-a-course-works">How a course works</h2>
<p>Each course is <strong>4–6 live sessions on Discord</strong>: I build something with you on screen, step by step, and answer
questions at the end. Every session is <strong>recorded</strong>, and every session gets a <strong>written lesson</strong> with the commands and
the code. Every course has its own code repository, so you leave with something that works and that you own.</p>
<p>The courses are in <strong>English</strong>.</p>
<h2 id="the-first-season">The first season</h2>
<p>I’ll start with the courses people ask about most:</p>
<ol>
<li>Your own fleet of AI agents</li>
<li>Multi-agent orchestration</li>
<li>AI coding agents in practice</li>
<li>Local AI from zero</li>
<li>Creating skills for AI agents</li>
<li>Getting AI models to behave</li>
<li>MCP servers from scratch</li>
<li>Prompt engineering for everyone (for people who don’t code)</li>
</ol>
<p><strong>The first session of every course is free</strong>, live on Discord, and so is the whole prompt-engineering course.</p>
<h2 id="how-to-join">How to join</h2>
<ul>
<li><strong>Join the Discord.</strong> That’s where the sessions happen and where the community is.</li>
<li><strong>Register your interest</strong> on any course page in the <a href="https://zerwiz.org/courses/">courses hall</a>. You’ll hear first when a cohort
opens, at the early-bird price.</li>
<li><strong>Follow along on YouTube</strong> (<a href="https://www.youtube.com/@LJLindbom">@LJLindbom</a>) for free lessons and short clips.</li>
</ul>
<p>If your company wants a private workshop for a team, <a href="https://zerwiz.org/#contact">get in touch</a>. That’s what I do as a consultant too.</p>
<p>See you in the hall.</p>
]]></content:encoded>
      <dc:creator>Josef Lindbom</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <enclosure url="https://zerwiz.org/og/blog/2026-11-25-i-am-starting-to-teach-ai.jpg" length="47292" type="image/jpeg" />
      <media:content url="https://zerwiz.org/og/blog/2026-11-25-i-am-starting-to-teach-ai.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
      <category>ai courses</category>
      <category>ai agents</category>
      <category>local ai</category>
      <category>teaching</category>
    </item>
    <item>
      <title>Running local models on your own GPU: what actually matters</title>
      <link>https://zerwiz.org/blog/local-models-on-your-own-gpu/</link>
      <guid isPermaLink="true">https://zerwiz.org/blog/local-models-on-your-own-gpu/</guid>
      <description>I run AI models on a 16 GB laptop GPU every day. What mattered most was not model size but the context window — and settings that fail silently.</description>
      <content:encoded><![CDATA[<p>Running an AI model on your own machine is no longer a hobby project. With a decent GPU and
<a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> you can serve models that write code, summarise meetings and answer
questions — privately, offline, and with no bill at the end of the month.</p>
<p>I run local models every day on a laptop with a 16 GB GPU, behind the agents I work with. Here is what I wish I had known
at the start. Most of it is not about which model to pick.</p>
<h2 id="start-with-llamacpp-built-for-your-card">Start with llama.cpp, built for your card</h2>
<p>There are friendly front-ends like Ollama, and they are a fine first step. But when you want control, go to the engine
underneath: llama.cpp. Build it from source with your GPU’s backend switched on (CUDA for NVIDIA), and you get its server,
<code>llama-server</code>, which speaks the same API as the big cloud providers. Almost every coding agent can point at it.</p>
<p>Models come as <strong>GGUF</strong> files, in many <strong>quantisations</strong> — the same model squeezed to different sizes. Lower bits mean a
smaller file and less memory, at some cost in quality. For most work, a 4-bit quantisation of a good model beats an 8-bit
quantisation of a smaller one.</p>
<h2 id="the-context-window-owns-your-memory">The context window owns your memory</h2>
<p>This is the lesson that surprised me most.</p>
<p>People size models by their parameter count: a 9-billion-parameter model is “small”, a 35-billion one is “big”. So you
would expect the small one to always fit where the big one does.</p>
<p>It does not. On my machine, one 9B model used about <strong>5 GB</strong> of GPU memory with an 8,000-token context window. Raised to
a 131,000-token window, the same model used about <strong>14 GB</strong> — more than a 35B mixture-of-experts model I run at a
262,000-token window with a compressed cache. The weights did not change at all. The <strong>context window</strong> — and the cache
the model keeps for it — took the memory.</p>
<p>So the real question is not “how big is the model?” but “how big a window do I give it, and how is its cache stored?”
Two settings carry most of the weight:</p>
<ul>
<li><strong><code>ctx-size</code></strong> — how many tokens of context the model can hold. Give each job the window it needs, not the biggest one
the model supports.</li>
<li><strong>KV cache type</strong> — the cache can be stored compressed (for example as <code>q8_0</code>), which roughly halves its size for a
small cost.</li>
</ul>
<p>A summariser that reads one meeting at a time does not need a quarter-million tokens. Mine had been handed a large model
with a 262,000-token window. Moving it to a 9B model with a 32,000-token window cut its memory by 58 % and made it 2.4
times faster — and the summaries came out longer, not worse.</p>
<h2 id="some-settings-fail-silently">Some settings fail silently</h2>
<p>The second lesson: some mistakes do not crash. They just quietly return nothing.</p>
<p>Many new models “reason” before they answer — they write out their thinking first. That is useful in a chat. But in an
automated job with a limit on output length, a reasoning model can spend <strong>the whole limit thinking</strong> and return an empty
answer. The request still succeeds. The server says everything is fine. You get a blank summary.</p>
<p>The fix is one setting — turn reasoning off for jobs that do not need it — but you only find it if you check the answers,
not just the status codes. My rule now: every new model, every new setting, is tested on a real task and the <em>output</em> is
read.</p>
<h2 id="one-router-one-model-at-a-time">One router, one model at a time</h2>
<p>A 16 GB card holds one serious model at a time. Rather than juggling servers by hand, I run llama.cpp in <strong>router mode</strong>:
one server holds a list of model presets, loads the one a request asks for, and unloads the previous one. A model that sits
idle is put to sleep, so the GPU is free for other work.</p>
<p>Each preset carries its own settings — window, cache type, how many layers live on the GPU — so the right settings travel
with the model instead of living in my head. And because the whole house talks to one address with one key, every agent on
every machine I own can use the same models.</p>
<h2 id="measure-and-write-it-down">Measure, and write it down</h2>
<p>Finally: benchmark honestly, and keep the numbers. Speed of reading the prompt and speed of writing the answer are
different things, and both change with the window. When a first measurement turns out wrong, I add a correction next to it
rather than erasing it — the history of what I believed is part of what I learned.</p>
<h2 id="is-it-worth-it">Is it worth it?</h2>
<p>For me, yes. Local models do not replace the best cloud models for the hardest problems. But for the steady stream of
everyday jobs — summaries, first drafts, classification, many coding tasks — they are private, fast, and free to run once
the hardware is paid for.</p>
<p>If you want to start from nothing, I am planning a course for exactly that: local AI from zero, on the computer you
already have.</p>
]]></content:encoded>
      <dc:creator>Josef Lindbom</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <enclosure url="https://zerwiz.org/og/blog/2026-11-25-local-models-on-your-own-gpu.jpg" length="48992" type="image/jpeg" />
      <media:content url="https://zerwiz.org/og/blog/2026-11-25-local-models-on-your-own-gpu.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
      <category>local ai</category>
      <category>llama.cpp</category>
      <category>gpu</category>
      <category>models</category>
    </item>
    <item>
      <title>How one person runs a fleet of AI agents</title>
      <link>https://zerwiz.org/blog/one-person-a-fleet-of-ai-agents/</link>
      <guid isPermaLink="true">https://zerwiz.org/blog/one-person-a-fleet-of-ai-agents/</guid>
      <description>I build software with many AI agents at once. The shape that keeps it from chaos: one counsellor, isolated workers, proof, and a person who decides.</description>
      <content:encoded><![CDATA[<p>Most people meet AI coding agents one at a time: you open a terminal, ask for a change, read what it wrote, and ask
again. That works. But sooner or later you notice that most of your day is spent <em>waiting</em> — for one agent, on one task,
in one folder.</p>
<p>So you open a second agent. Then a third. And within an hour two of them have edited the same file, one has undone the
other’s work, and you no longer know which change came from where.</p>
<p>I run my own work with many agents at once, every day. This post is the shape that makes that possible. It is the shape
behind <a href="https://ymir.zerwiz.org">Ymir</a>, the open-source home for AI agents I build, but you can copy the ideas with any
coding agent.</p>
<h2 id="one-counsellor-many-workers">One counsellor, many workers</h2>
<p>The first rule is that <strong>not every agent does the same job</strong>.</p>
<p>One agent — I call it the counsellor — stays with me. It reads the plan, talks the work through with me, splits it into
errands, and sends those errands out. It does not build the big things itself. Its job is to keep the whole picture.</p>
<p>The other agents are workers. Each one gets <strong>one errand</strong>, does it, and reports back. A worker does not wander off into
other work, and it does not decide what happens to its result.</p>
<p>This split matters more than any tool. A single agent asked to plan, build, review and merge will happily do all four
badly. Two roles with a clear line between them do each part well.</p>
<h2 id="every-worker-gets-its-own-room">Every worker gets its own room</h2>
<p>The second rule is <strong>isolation</strong>. Two agents in the same folder will collide. So each worker gets its own copy of the
code to work in.</p>
<p>Git already has exactly the right tool for this: the <strong>worktree</strong>. A worktree is a second (or tenth) checkout of the
same repository, on its own branch, in its own folder:</p>
<pre class="astro-code github-dark" style="background-color:#24292e;color:#e1e4e8; overflow-x: auto;" tabindex="0" data-language="sh"><code><span class="line"><span style="color:#B392F0">git</span><span style="color:#9ECBFF"> worktree</span><span style="color:#9ECBFF"> add</span><span style="color:#79B8FF"> -b</span><span style="color:#9ECBFF"> worker/blog-pages</span><span style="color:#9ECBFF"> ../site-blog-pages</span><span style="color:#9ECBFF"> origin/main</span></span></code></pre>
<p>The worker builds there. Nothing it does touches my main checkout, or any other worker’s. When it is done, its whole
contribution is one branch — easy to read, easy to throw away.</p>
<p>For work I do not fully trust — code from the internet, a new tool, a skill that was just written — the worker also runs
in a <strong>sandbox</strong>: no access to my secrets, no network unless it is given one, and limits on time and memory. If it goes
wrong, it goes wrong in a box.</p>
<h2 id="a-brief-not-a-chat">A brief, not a chat</h2>
<p>A worker cannot ask me questions all day, so the errand has to stand on its own. A good brief says:</p>
<ul>
<li><strong>what</strong> to build, and where;</li>
<li><strong>what it must not touch</strong>;</li>
<li><strong>what “done” means</strong> — in a form that can be checked.</li>
</ul>
<p>The last line is the one people skip, and it is the one that matters. “Make the blog work” is a wish. “The blog index
lists every published post, the build passes, and no page scrolls sideways at 360 pixels” is something a worker can
prove.</p>
<h2 id="evidence-or-it-is-not-done">Evidence, or it is not done</h2>
<p>Agents are optimistic. A worker will tell you it is finished when it has <em>written</em> the code, not when the code <em>works</em>.</p>
<p>So in my setup a worker cannot simply say “done”. Its report must carry <strong>evidence</strong>: the commands that prove each claim,
which are run again when the report comes in. If there is no evidence, or the commands fail, the errand is marked
<em>unproven</em> and comes back to me as unfinished — not as a success I have to discover was false.</p>
<p>This one rule has saved me more time than any model upgrade.</p>
<h2 id="pull-requests-are-the-gate">Pull requests are the gate</h2>
<p>Every change leaves a worker as a <strong>pull request</strong>. Never a direct push to the main branch, and never a merge by the
agent itself.</p>
<p>That gives me one place to look at every change, with the checks run on it. AI reviewers can read it first and point at
problems. But the merge is mine. The agents do the work; a person decides what goes live.</p>
<p>When several workers are sent out together, their branches are gathered into <strong>one</strong> pull request, so the checks run
once on the combined change instead of five times on five pieces that only make sense together.</p>
<h2 id="memory-that-stays">Memory that stays</h2>
<p>The last piece is memory. A fresh agent knows nothing about what happened yesterday. So before a worker starts, it is
given what the house remembers about this kind of task — past mistakes, decisions, the way things are done here. After
it finishes, anything worth keeping is written back.</p>
<p>The memory never overwrites itself. A correction is a new entry that points at the old one, so I can always see what we
believed and when.</p>
<h2 id="what-it-feels-like">What it feels like</h2>
<p>The result is less like using a tool and more like running a small workshop. I spend my time on the plan and on the
reviews — the two places where a person adds the most. The building happens in parallel, in rooms that cannot collide,
and every piece comes back with its proof.</p>
<p>It is not magic, and it does not remove the need to read what the agents wrote. But one person can now carry work that
used to need a team.</p>
<p>If you want to try it, <a href="https://github.com/zerwiz/ymir">Ymir is open source</a> and installs into Claude Code, Codex, pi,
OpenCode and Cursor. And if you want to learn to build this yourself, it is the first course I plan to open.</p>
]]></content:encoded>
      <dc:creator>Josef Lindbom</dc:creator>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <enclosure url="https://zerwiz.org/og/blog/2026-11-25-one-person-a-fleet-of-ai-agents.jpg" length="42394" type="image/jpeg" />
      <media:content url="https://zerwiz.org/og/blog/2026-11-25-one-person-a-fleet-of-ai-agents.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
      <category>ai agents</category>
      <category>ymir</category>
      <category>orchestration</category>
      <category>git</category>
    </item>
  </channel>
</rss>
