ThesisBuild Your Own Coding Agent Like Pi (With 1 Prompt) teaches a practical creative automation move: Owain demos Neo, his own Go-based coding agent, then builds a working coding agent from scratch in a single main.go file by feeding an architecture doc to an existing agent, breaking it into tasks, and shipping the core loop against Open Router. The point is that Claude Code, Pi, and Codex are all the same thing underneath: an LLM invoked in a loop with tools, roughly a thousand lines before polish.
The goal is not to remember the video. The goal is to extract the operating principle, tie it to timestamped evidence, test how far the claim transfers, and make something reusable.
0:20Workflows beat one-shots
“using a single prompt. Once you own the harness, you can build any features or extensions you want. I'll link all of the resources and everything you need to get started in the description below. So, let's get...”
Neo turns a request into a visible multi-step workflow rather than a single prompt, and runs tools in parallel (five at once in the demo) plus parallel subagents. His task-to-PR skill encodes the workflow every developer already follows: check out a branch, read the ticket, plan, change code, test, review, address findings, publish, wait for build checks, hand back to a human, with the agent even commenting back on review feedback so you know it was addressed. Write out the exact steps you personally take from ticket to merged PR, then encode that sequence as a reusable skill or command instead of re-prompting it every time.
7:11Architecture, then tasks
“code to make sure we're using this model when we build it. So this entire architecture doc was generated through a skill. I've built these coding agents quite a few times. So what you can do is just...”
The build starts with an architecture doc generated by a skill, read into the agent's context, then a plan skill breaks it into about eight tasks: Go foundation and main.go, types, checks and tests, the Open Router provider, the agent loop, exact-match file editing, and bounded command execution. He notes the tradeoff he deliberately accepts here, that dumping all tasks from a markdown file into one context window is worse than working one task at a time, which is why he normally tracks them as GitHub issues. Before your next build, write the architecture doc first, have the agent decompose it into a numbered task list, and run the tasks one at a time in separate sessions so each stays reviewable.
12:30The loop is the agent
“but now that you have the foundation in place, you have everything that you need to start building on this coding agent. You can start adding more logic to this coding agent. You can improve the the build...”
The harness sends a system prompt, user message, and tool definitions to the model, which either returns a response or requests tool calls; the harness executes those calls (the LLM cannot touch your machine) and feeds results back, looping until the model stops. Emitting events rather than inlining logic like permission checks keeps that loop clean, and that event stream is exactly what a Claude Code hook listens to. Sketch the loop for your own harness on one page (request, tool-call branch, execute, feed back, terminate) and mark where you would emit events for permissions, logging, and hooks before writing any code.
ExampleSource-backed work packet
Convert the video into a scoped task that includes the transcript claim, target workflow, acceptance criteria, and proof. The output should be a creative workflow board with critique criteria and review checkpoints..
ExampleClaim vs. demo brief
Separate what the speaker claims, what the demo actually proves, and what still needs outside verification before you adopt the workflow.
ExampleTeach-back module
Transform the lesson into a definition, a mechanism diagram, one misconception, one practice exercise, and a check-for-understanding question.