Sanjit Misra

How I build

Mostly agents, one gate, a lot of reading diffs

Since September, close to 6,000 commits have landed across four of these projects. I wrote very few of them by hand. Most came from AI agents I set up, pointed at a task, and checked. This page is the workflow, and the parts of it that broke.

05001,0001,500Week of Jun 15: 24 commits (Buku 24)Jun 15Week of Jun 22: 61 commits (Buku 61)Week of Jun 29: 127 commits (Buku 127)Week of Jul 6: 98 commits (Buku 98)Week of Jul 13: 0 commitsJul 13Week of Jul 20: 0 commitsWeek of Jul 27: 4 commits (Buku 4)Week of Aug 3: 97 commits (Buku 97)Week of Aug 10: 105 commits (Buku 105)Aug 10Week of Aug 17: 3 commits (Buku 3)Week of Aug 24: 38 commits (Buku 38)Week of Aug 31: 190 commits (Buku 190)Week of Sep 7: 94 commits (Buku 94)Sep 7Week of Sep 14: 72 commits (Buku 72)Week of Sep 21: 9 commits (Buku 9)Week of Sep 28: 675 commits (Buku 675)Buku moves to agent PRsWeek of Oct 5: 658 commits (Buku 658)Oct 5Week of Oct 12: 397 commits (Buku 397)Week of Oct 19: 95 commits (Buku 95)Week of Oct 26: 380 commits (Buku 380)Week of Nov 2: 202 commits (Buku 150, Sidepaper 52)Nov 2Week of Nov 9: 1506 commits (Kalinga Tide 1004, Buku 272, Sidepaper 230)Kalinga Tide beginsWeek of Nov 16: 643 commits (Buku 383, Kalinga Tide 239, Sidepaper 21)Week of Nov 23: 1446 commits (Kalinga Tide 544, Buku 462, ApnaVerse 309, Sidepaper 79, TinkerBuddy 52)+ TinkerBuddy, ApnaVerse
Commits per week across five of these projects, June to November 2026: 6,924 in all.Hover a bar for the split. From late September, Buku's work ran as agent pull requests, with a second model reviewing the risky ones.
Commits per week
Jun 1524
Jun 2261
Jun 29127
Jul 698
Jul 130
Jul 200
Jul 274
Aug 397
Aug 10105
Aug 173
Aug 2438
Aug 31190
Sep 794
Sep 1472
Sep 219
Sep 28675
Oct 5658
Oct 12397
Oct 1995
Oct 26380
Nov 2202
Nov 91506
Nov 16643
Nov 231446

One model builds, a different one reviews

The model that wrote the code is the worst one to judge it. So the builder and the reviewer are different models on different threads. On Buku, Claude builds and Codex reviews anything touching money, credentials or deletion, and the loop runs until the reviewer has nothing left. There are 136 of those review logs; one series went eight passes. On Kalinga Tide it's the other way round: Claude plans and reviews, Codex and Sonnet workers implement. Either way I read the diff before it merges.

How a change gets from an idea to my nephews' phones
  1. Me

    the task, and what done means

  2. Planner

    Claude splits it into tasks

  3. Workers × 6

    Codex and Sonnet, one git worktree each

  4. Merge gate

    3,210 tests plus an autopilot that plays the game

  5. Reviewer

    a different model, looking for trouble

  6. Me

    read the diff, play the build

  7. TestFlight

    uploaded and submitted by script

When a worker gets the same thing wrong twice, the fix becomes a skill or a rule that every later worker loads.

  • a person
  • a model
  • deterministic code

Parallel work, one gate

Each task gets its own git worktree and its own worker, up to six at once. Nothing reaches main without passing a merge queue: a branch merges only if the full test suite passes without a new failure, and after each batch an autopilot that actually plays the game runs on main. On Kalinga Tide that went from 4 tests on day one to 3,210 by build 34. The queue is the only reason six agents in parallel produce a working game instead of six half-games.

Cheap where it's enough

Big models plan and review. Smaller ones do the routine work. Local models on a Mac Studio go first when they're good enough: image and 3D generation, music, screenshot triage, chores. And I'll measure a fancy option against a boring one and ship the boring one when it wins. A regex beat an on-device model 91% to 5% at reading tips off receipts. Claude Haiku beat my own fine-tuned model on six of seven measures. Both times the thing I'd built lost, and both times it came out.

Anthropic

Claude Code · Sonnet · Haiku

For Sidepaper I fine-tuned my own 8B model. Haiku beat it on six of seven quality measures for a fraction of a cent a request, so Haiku ships and mine doesn't.

OpenAI

Codex · ChatGPT

Best as the adversary. On Buku it reviews what Claude wrote, and the loop runs until it has nothing left to flag. One series went eight passes.

Google

Gemini

With a strict schema it read line items at an F1 of 94, against 67 for a regex. The regex stayed on as a confidence check, never blended into the answer.

Apple, on device

Foundation Models · Vision

Right for privacy, wrong for tips: it read 4.9% of them correctly, a regex 91.1%. I deleted it five days after shipping.

Open and local

Qwen3 · gemma · Z-Image · Hunyuan3D · FLUX.1 · ACE-Step

Local goes first when it's good enough: media and chores. A small model works when the job is narrow and code checks everything it says.

Code owns the facts, the model owns the words

This is the rule I care most about, at work and at night. The model drafts, proposes and talks. Anything that has to be true goes through code: the numbers in Buku's assistant, the clinical gates in Resilio, the board edits in Sidepaper, every Odia word in Kalinga Tide. If a model's answer breaks the rule, it gets thrown away, not repaired.

Lessons become skills

When an agent gets something wrong twice, the fix gets written down as a skill or a rule it loads next time. Kalinga Tide has 19 of them, from how to launch a worker to how to check a character's hands at 2x zoom. This site has voice skills too, so drafts sound like me before I edit them. I still edit them.

Runs that finish without me

Long GPU jobs live in one driver script with done-markers, so a run finishes even if the session that started it dies, and each stage starts the next one. If I wake up and the GPU sat idle, that's a bug.

What broke

  • The Mac fell over. Seven or eight Unity editors, the Simulator and GPU jobs overnight. Load average hit 76 and the kernel panicked at 1:30am. Seven hours lost. Now there's a hard cap and nothing launches under load.
  • A guard matched itself. A "nothing is running" check used a process-name pattern that also matched its own watcher. The merge queue sat idle for five hours and the morning build shipped short.
  • The wrong Python spent a one-shot test. I'd frozen a held-out set for exactly one look. The script ran with a Python that couldn't load the model, and the look was marked spent with zero results. Now every irreversible step checks its interpreter first.
  • The usage limit hit everyone at once. About 25 worker runs died mid-task in one afternoon, uncommitted, with no report. Workers commit early now.

None of this is exotic. It's ordinary engineering, applied to a team that happens to be mostly models. The part I can't hand off is deciding what's worth building and what "done" means.