season 1 shipped · 7 / 7 episodes

Build a real AI agent from scratch, one tiny piece a week.

Harness the machine

Open a blank file. Each episode adds one small, readable thing until it talks, remembers, texts you, and acts on its own. No framework, no magic. Just the code.

Watch the series › free · ~60-sec episodes

or read the latest build →

or browse the full code on GitHub →

build_log — season 1

Seven episodes. Each one ships code, a Short, and a write-up.

It starts as 12 lines that can talk. By the finale it remembers you for weeks, messages you first, and can swap its own brain mid-conversation. Read it top to bottom and you have built the whole thing.

E01

It talks — the agent loop

No framework, no server. The whole core is one function: prompt in, answer out.

E02

It remembers — SQLite

The model forgets everything between messages. ~20 lines of SQLite give it a memory that survives restarts.

E03

It texts you — WhatsApp

About 20 lines and the claw moves out of the terminal into WhatsApp. Text it, it texts back.

E04

It gets hands — tools

Three tools and it can act: open a browser, search your files, send one back. "Send me my quarterly report" and the PDF lands in chat.

E05

It has a heartbeat — proactive nudges

A timer that messages you first, nudging you to drink water every few hours and tracking how much you have had.

E06

It keeps a diary — long-term memory

Durable facts. Tell it once (an allergy, a goal); weeks later, in a fresh chat, it still knows.

E07

It swaps its brain — model swap · finale

One tool swaps the model mid-chat (Opus, Sonnet, Haiku). A new brain is a new personality.

why

“Every agent tutorial I found started with a framework and a thousand lines of boilerplate. So I deleted all of it and rebuilt the thing from a blank file, small enough that you can actually read every line and know what it does.”

— Chandra, building in public on SennaMind

SennaMind

Start at E01 and build the whole agent yourself.

Harness the machine
Watch the series › free · ~60-sec episodes

or read E01 first →