How I write software with LLMs

stavros.io · article · 2026-03-09 source ↗ Reader 🖥️

Agent HarnessAgent Planning ArtifactsHuman-in-the-LoopMulti-Agent OrchestrationSupervisory Programming
A solo practitioner can now sustain multi-week, tens-of-thousands-of-line AI-written software projects at a lower defect rate than hand-writing, but only by replacing 'ask one model to do everything' with a fixed division of labor across models (a strong model as architect doing interactive up-front design, a cheaper model as developer doing strict implementation, and one-to-three structurally independent models as reviewers) plus explicit human approval gates -- and only on technology the human already understands well enough to catch bad architectural decisions before the agent compounds them.

practical · mixed — Primarily practical (argues for a specific workflow to adopt), expository in its description of the multi-model architect/developer/reviewer pattern, and narrative in its long annotated real-session transcript that carries most of the concrete evidence.

Structure

PartRole
The benefits: for the first time, LLM-written code (Opus 4.6 era) has a lower defect rate than hand-written code for the author, without losing system-level understanding, though his engineering skills have shifted from writing code to architecting systemsclaim/context
What I've built: a list of real, used-daily projects (a security-focused personal-assistant agent, a voice-note pendant, a kinetic art clock, a multiplayer canvas) offered as evidence against the 'LLMs only make toy scripts' criticismevidence
The harness: two hard requirements (multi-vendor model support; native agent-to-agent delegation) that rule out single-vendor-locked harnesses like Claude Code, Codex CLI, or Gemini CLImethod/constraint
My workflow: the architect/developer/reviewer role split, hand-written per-agent instructions, the explicit 'approved' gate, and the escalation path when reviewers disagreeevidence/method
Failure modes: unfamiliarity with the underlying technology is the single condition under which the whole approach breaks down, producing compounding, unrecoverable messesqualification
A real session: a full annotated transcript adding email support to the author's agent, illustrating every stage of the workflow in practiceevidence/narrative

Key terms

Propositions

Arguments

A durable, trustworthy coding-agent workflow for a solo practitioner requires a fixed, named division of labor across structurally independent models (architect, developer, reviewers) plus enforced human approval gates, rather than one model doing everything end to end in a single session.
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents