Modern Creator
Leon van Zyl · YouTube

Stop Using Claude Code the Normal Way

Same prompt, same model, two apps: one broken, one shippable. The difference is a long-running agent harness.

Posted
6 months ago
Duration
Format
Demo
educational
Views
81.3K
2.3K likes
Big Idea

The argument in one line.

Long-running agent harnesses that maintain context across multiple coding sessions with regression testing produce substantially more complete and usable applications than single-context-window approaches, and this approach is now accessible to anyone through open-source tooli.

Who This Is For

Read if. Skip if.

READ IF YOU ARE…
  • A developer building with Claude Code who's frustrated that vanilla prompting produces incomplete features and wants to see a working alternative.
  • Someone experimenting with agentic coding who needs a concrete side-by-side comparison of where single-pass prompts fail versus iterative agent loops.
  • A builder considering long-running agent architectures who wants a practical walkthrough of how to implement one for your own projects.
  • A developer familiar with Claude Code CLI basics who's ready to move beyond one-shot generations and wants to understand why agents need persistent context.
SKIP IF…
  • You've already built production systems with multi-turn agent loops or reinforcement learning feedback — this is foundational-level material.
  • You're looking for theory or architecture patterns rather than a specific implementation you can copy and run today.
TL;DR

The full version, fast.

Long-running agent harnesses outperform single-context coding sessions for non-trivial projects, because a single Claude Code context window will compact itself mid-build and lose the threads needed to finish complex features. The harness, based on Anthropic's pattern, splits an app spec into a feature database, then spawns sequential coding agents that each pick the next feature, regression-test three random completed ones, implement against a real browser session, and hand off cleanly when their context fills. Use a SQLite-backed feature list and an MCP server to keep token usage lean. For production work, let agents test through the UI; switch to YOLO mode only when speed beats reliability. Plan to run overnight, across usage resets, unattended.

Free for members

Chat with this breakdown — free.

Sign in and you get 23 free chat messages on us — ask for the hook, quote a framework, find the exact transcript moment, generate a markdown action plan. Bring your own key when you want unlimited.

Create a free account →
Chapters

Where the time goes.

00:0001:23

01 · The Premise

Long-running agents are the future. Same prompt, same model (Opus 4.5 thinking), two drastically different outcomes promised.

01:2305:02

02 · Project 1 — Vanilla (broken)

No dark mode, AI chat cannot edit cards in real time, no system prompt editor, thumbnail generation produces text descriptions. Context compaction killed the implementation.

05:0207:05

03 · Why Vanilla Fails

Context window compaction loses critical context mid-build. SpecKit/BMAD help but still require babysitting. The shift-handoff developer analogy introduced.

07:0514:08

04 · Project 2 — Polished

Same prompt, polished result: light/dark mode, editable system prompts, delete/duplicate/filter, AI that actually edits cards, card history, Gemini thumbnail generation with reference images, 4K upscaling.

14:0816:33

05 · The Architecture

Anthropic long-running agent harness: initializer creates feature list, fresh coding agents each implement next feature plus regression-test 3 random completed features, then close context window.

16:3319:00

06 · The Tools Landscape

Automaker (WebDevCody) and AutoClaw are full-featured replacements. Leon repo is simplified version: harness plus UI, free, download ZIP and run.

19:0022:48

07 · Live Setup Demo

New project creation, Claude generates app spec via conversational Q&A (quick mode vs detailed), agent proactively asks about reference images for thumbnail generation.

22:4827:10

08 · Autonomous Coder Running Live

Initializer creates 190 features stored in SQLite not JSON. Dedicated MCP server with get_next_feature, get_regression_features tools. Debug window. Agent opens real browser to test each feature.

27:1028:18

09 · YOLO Mode + CTA

YOLO mode skips browser testing for raw speed (lint/type checks only). Join Agentic Labs Skool community. Subscribe.

Atomic Insights

Lines worth screenshotting.

  • Long-running agents built 174 features unattended while a vanilla Claude Code session broke on the same prompt.
  • Storing the feature list in a SQLite database instead of a flat JSON file prevents the feature list itself from exceeding the context window.
  • Each coding agent gets its own fresh context window, keeping it focused — not forcing it to carry context from hundreds of earlier features.
  • An agent that opens a browser and visually tests each feature catches UI bugs that pure code generation misses entirely.
  • YOLO mode — skip testing, implement fast — is the right call when you need speed; agent testing mode is the call when you need production quality.
  • If you hit your Anthropic usage limit overnight, the harness auto-continues the moment usage resets — you can run it while sleeping.
  • A dedicated MCP server with tools for updating a SQLite feature list reduces token usage compared to agents reading and rewriting a large flat file.
  • Regression testing three random previously-completed features per coding cycle catches regressions before they compound across hundreds of tasks.
  • The planner phase added reference image support for Nano Banana thumbnails without being asked — because it researched the model's capabilities autonomously.
  • One coding agent asking clarifying questions before writing a spec produces a tighter feature list than dumping a wall-of-text prompt into a terminal.
  • An initializer agent may generate more features than you agreed on because it identifies gaps and adds test coverage the prompt didn't mention.
  • Splitting a massive requirement into a Kanban of atomic features is what lets an agent build something shippable while vanilla Claude Code produces something broken.
Takeaway

The shift-handoff analogy is the hook. The harness is the product.

Builder playbook

One prompt, two apps, visible gap — the before/after demo format Leon uses here is exactly how Joe sells JoeFlow and any tool with a quality story.

  • Run leonvanzyl/autonomous-coding-ui on the next big MCN or JoeFlow feature sprint — free, open source, just download ZIP.
  • Steal the shift-handoff developer analogy for any Claude Code content: it lands instantly with non-technical audiences.
  • The SQLite + MCP server pattern for feature tracking applies directly to Chef orchestration in JoeFlow Sessions.
  • Surface YOLO mode as a product concept — explicit speed/quality toggle is a UI pattern worth borrowing for batch jobs.
  • Frame long-running agents as stop babysitting — dovetails with own your stack, stop renting positioning.
Glossary

Terms worth knowing.

long-running agent
An AI agent configured to execute a complex, multi-step task autonomously over an extended period — planning, implementing, testing, and iterating without human intervention between steps.
agentic coding
Using an AI agent to write, test, and iterate on code autonomously based on a high-level goal, rather than manually directing each individual coding step.
vibe coding
Directing an AI to build software through loose natural-language descriptions, with the user providing intent rather than writing or reviewing code directly.
Autonomous Coder harness
An open-source wrapper around Claude Code that adds structured planning, progress tracking, and iterative self-correction to enable longer and more reliable autonomous coding sessions.
Claude Code CLI
The command-line interface version of Anthropic's Claude Code agent, run directly in a terminal without a graphical wrapper — the baseline 'normal way' contrasted with the harness approach in this video.
planning mode
A Claude Code mode where the agent first generates a detailed implementation plan and confirms it with the user before writing any code — reducing wasted effort on incorrect approaches.
Next.js
A React-based web framework for building full-stack web applications, used here as the starting template for the project built by the autonomous coding agent.
Nano Banana
An AI image generation model referenced in the project prompt for producing thumbnail concept images — one of the external model integrations the agent is tasked with wiring up.
n8n
An open-source workflow automation tool similar to Zapier, used here as the subject of the sample content brief the demo agent generates hooks and titles for.
Resources

Things they pointed at.

Quotables

Lines you could clip.

06:13
This is like having developers work in shifts, where one developer does a piece of work and then leaves the office. The next developer comes in having no context on what the previous developer did.
Instantly relatable analogy that makes the technical problem visceralTikTok hook↗ Tweet quote
26:01
This really is the secret sauce. This agent will actually open up a browser window and test the application in real time.
Reveal moment — visual proof of autonomous quality assuranceTikTok hook↗ Tweet quote
12:50
Keep in mind, this was all done through a single prompt. The same with the first project, but I just think this just feels way more polished.
Single-prompt claim plus visible quality gap is high-engagement clip setupIG reel cold open↗ Tweet quote
The Script

Word for word.

Read-along

Don't just watch it. Burn it in.

See every word as it's spoken — crank it to 2× and still catch all of it. The same dual-channel trick behind Amazon's Kindle + Audible.

analogystory
00:00Welcome back and a happy New Year. Now I'm convinced that long running agents are the future of agentic coding and vibe coding. And in this video, I'll prove that to you.
00:10I'm going to show you two projects that have three things in common. They were both built using Claude code. I sent them each the exact same prompt, and finally, I didn't interfere at any point.
00:22I simply let the agent run on autopilot. And as you'll see in a second, the results are drastically different. And later on in this video, I'll show you how you can use this long running agent yourself, and it's really easy.
00:35First, let's have a look at the prompt that I passed to each of these agents. And this is a really detailed prompt. It gives a basic overview of the app that we're trying to build.
00:44And by the way, this is an application that can assist content creators with coming up with hooks and titles and thumbnail ideas. I also referenced some technical documentation that it can use to understand the different frameworks involved.
00:58Then we've got some prerequisites like we're starting off with the Next. Js project. We've got our problem statement and a lot lot more.
01:05So a few things to note is with the thumbnail generation, I actually want to use the Nano Banana model to generate different thumbnail ideas.
01:14And then we also have this built in AI assistant that's able to manipulate the results, generate more results, and come up with additional ideas.
01:23So this really is a massive project. So for the first project, all I did was go through the normal workflow using ClothCode CLI. So I went into planning mode, I then passed in that entire prompt into ClothCode, and Claude then created an implementation plan.
01:40And afterwards, I just told Claude to go ahead and implement it, and this was the result. So this is a really simple user interface. There's no light or dark mode.
01:49Although, I did specify light and dark mode in the actual prompt. And for reference, I did use Opus 4.5 in thinking mode for this project.
01:58So I've already created a few sample projects here, but something to note is there's actually no option to delete any of these projects. Let's create a new project. Let's create n eight n beginner tutorial, and now we can provide the topic that this video is about.
02:14So we can say this is a comprehensive beginner tutorial on getting started with n eight n from basic installation to building agentic workflows. Now what we can do is generate the different hooks and this simply takes us to the hook page where we have to click on generate. Alright.
02:31So the agent generated these different hook ideas. We can see these cards on the screen and we also have this chat interface where we can have a conversation with our AI assistant. But I'm really not a fan of this response.
02:43Either way, one of the requirements in the prompt file was that the assistant should have the ability to edit any of these cards. So it should be able to add cards, remove them, or change the cards.
02:56As an example, let's change this one. So instead of saying stop paying for Sapir, let's change it to make.com.
03:03Okay. So it's responded saying that the hook was changed, and in this array, we can see that it's now saying make.com.
03:11But if I have a look at the cart, it's still showing SAPIER. Let's try to refresh this page, and this still wasn't changed. Look, it's impressive that some of the stuff just works as a one shot prompt, but it's clear that some of the more advanced features were missed, like the ability for this agent to actually manipulate the cards on the screen.
03:30Another thing that's missing is the ability to edit the system prompts for any of these agents. Like, what if I don't like the style of these hooks and I actually wanted to train the agent to generate hooks that meet my preferences?
03:43I don't see any way to edit the system prompts. And to be clear, this was a requirement in the prompt file as well.
03:52Either way, let's select one of these hooks and let's continue to intros. Let's generate it. Alright.
03:57So now we have our different intros. Again, we can see the array in the conversation window. Let's try to remove a card.
04:07Please remove item five.
04:10Right. So in the chat window, it says the item was removed by looking at the UI. Card five is still there even after refreshing the UI.
04:19By the way, let's just select any of these intros and let's continue to the titles. It's generated titles and we get our title ideas.
04:27Let's actually test this regenerate function to see if it works. And that does seem to work. So let's select this one.
04:35Let's continue to thumbnails. Let's generate the thumbnails, and this simply gives us a description of the thumbnail and not the image itself.
04:44And as a reminder, we specifically said in the prompt that we want to use Gemini three Pro, so Nano Banana, to generate thumbnails. And I don't see any option on the screen to generate those thumbnails.
04:58So let's simply go with this one, and let's complete the project. And that actually takes us back to the home screen without any summary or anything else. And unfortunately, this is the reality of trying to build a massive project like this in a single context window.
05:14As the agent was trying to implement all of these features, it exceeded the context window size. So it kept compacting the conversation, which actually lost a lot of important context.
05:25And then this is the final result. Now there are frameworks out there that try to solve this issue by splitting this massive requirement up into smaller features and then implementing these features one by one. You might be familiar with SpecKit or BMAD or if you've ever used by Agenci coding starter kit, that is exactly what the SpecK feature does.
05:46It looks at this massive prompt and then it actually creates a separate implementation plan that's split up into phases and actionable tasks. Now the limitation with that approach is that you still have to coordinate everything. So you need to tell the agent to go and implement phase one, and once that's done, you have to intervene by clearing the context window and asking the agent to start with the next phase.
06:11And this does introduce other issues. This is like having developers work in shifts, where one developer would do a piece of work and they would then leave the office.
06:21And the next developer comes in having no context on what the previous developer did. So they just kind of take on the next piece of work, implement it, and they could introduce duplicate code. They could even introduce bugs that break whatever the previous developer did.
06:36And besides, for large projects like this, I don't think any of us actually want to sit around and babysit the agent whilst going through 20 or 50 phases. So the solution to this is to implement a long running agent harness. This harness will allow the agent to run for a very long time.
06:54This could be hours or even days to implement everything, and this also includes regression testing.
07:01So let's have a look at the second project. Again, I used the exact same prompt. I also used Opus 4.5 in thinking mode.
07:10A lot of this will look familiar. It's the same project that we're trying to build after all, but you'll already see a lot of small differences. The first being is we've got access to light and dark mode.
07:21We also have this settings button where we can edit the different prompts. So indeed, we can edit the system prompt for the Hooks agent, the Intros agent, titles, and thumbnails.
07:33Then from the main screen, we can actually filter projects by different statuses. This isn't even something I asked for, but the long running agent decided that these features would make sense.
07:43When I hover over these cards, we have the option to delete the project, edit it, we can even duplicate the project, and of course, open it. Let's try to delete this project and that works. Let's then try to create a new project.
07:58So let's give it a name. Let's provide the topic. We can also provide the target audience.
08:04So I'll just say no coders and automation experts. And for the content style, let's do educational. Then let's create this project.
08:13Then let's open it. And this already looks way better.
08:17We can see exactly where we are in the process. We have a summary of the topic, and on the right hand side, we've got access to our AI assistant. Let's just say hello to see if this actually works, and it does.
08:31Keep in mind, this was all done through a single prompt. The same with the first project, but I just think this just feels way more polished. Let's go to generate hooks, and now we've got our different hooks.
08:43We can actually copy the text, we can even edit the hooks, which is really helpful. I didn't see that in the first project. And of course, we can select the hook that we want.
08:52We also have the option to regenerate these hooks or we can add more hooks. But let's see if our AI assistant can actually edit any of these. So let's have a look at this one.
09:03Most people spend ten hours a week on repetitive tasks. I spent ten minutes. Let's actually change this text.
09:10So let's say, please change card three from this to I spent five minutes.
09:20Let's see what this does. We'll just let the agent cook and that's it. It actually changed this card.
09:27And we can see this little edited badge as well. That's awesome. Another thing that just popped up is this history button.
09:34So if I click on this, I can actually see the previous version of this card. This is insane. Let's try removing a card.
09:42Please remove card five. So this guy over here.
09:46And done. That card is now gone. This is insane.
09:50This is really, really cool. All with a single prompt.
09:54Let's continue to intros. I'm just going to generate whatever. This is probably a small thing, but I do appreciate that the AI assistant gives you these little buttons to tell you what you can use this assistant for.
10:07This isn't something I asked for, but it's really cool that it's there. Okay. So we've got our different intros.
10:13Let's select this one. Let's continue to titles, and we've got our different title ideas.
10:20Let's simply grab this one. Let's move on to thumbnails. So during the planning phase, the agent asked me if I would like to I have the ability to send reference images to Nano Banana.
10:33So if you're unfamiliar with how Nano Banana works, it's really good at generating new images, but also really good at editing images, which also means you can provide a reference image, so maybe a photo of myself along with maybe any important logos that could be used in the design.
10:50So that agent actually did that research. It looked at the capabilities of Nano Banana and said, hey, would you like the ability to provide reference images?
11:00So one thing I did was in the project files, if I go to public thumbnails and template, I simply uploaded this thumbnail template that I use in a lot of my videos.
11:13So in the planning phase, I just said that's a great idea. I would love to use reference images. So I just uploaded this template of myself into the public folder.
11:22You can use that as a reference. But now I can see in the implementation, it's actually taking it a step further.
11:29So it also allows me to upload things like logos. So for this, let's actually select the n eight n logo and that should be it.
11:37Let's go ahead and create these thumbnails. And just to be clear, for the first project, the planning agent never asked me if I wanted to use reference images with Nano Banana.
11:46It just kind of skipped that altogether. Now I do realize this is nondeterministic, and chances are if I had to run that process again, it might have considered this to be an option.
11:56And here we go. We actually have our thumbnails coming in from Nano Banana. This is awesome.
12:03I actually like this first one. So what we can do is view this in full screen, which looks great. We can also view the prompt that was sent to Nano Banana.
12:13We can also upscale the image. So I guess if this is the one that we want to use, we can simply upscale it to four k. We can also refine the image.
12:22So let's click on that and let's change the text. Let's say, please replace game changer with beginner tutorial.
12:32Alright. Let's click on regenerate, and let's see if this actually works. Alright.
12:37It seems to be done. And, dude, look at that. We have our thumbnail with the text beginner tutorial.
12:44And when we click on history, we can see the different revisions of this thumbnail. This is just stupidly impressive. And keep in mind, this was a single prompt that simply ran on autopilot, and this is pretty much a usable application.
12:58I'm actually going to make one more refinement. Let's say, please change the yellow shirt and glow into color that complements the n eight and pink on the color wheel. Let's just see what we get back.
13:09And there we go. This looks way way better.
13:13And finally, I guess we can simply upscale this image to use it on the actual video. And cool. The image was upscale to four k and we're able to download it as well.
13:24Man, this is just so impressive. Just to think this was a single prompt. And finally, on the complete screen, we actually get a summary.
13:33Now I just wanted to see if we can actually go back to the different steps. So if I click on Hooks, it says that, yes, you can go back to Hooks. Your progress in later stages will be preserved.
13:43Oh, cool. So let's go back to hooks. Here, I can see the hook that I selected.
13:48And if we go back to thumbnails, we can see the thumbnail that was selected. So all of this is persisted even if I refresh this page.
13:57Now let me show you how I built this and how you can use this long running agent yourself. A few weeks ago, I created this video that shows you how you can let Cloud Code run for hours or days to implement complex solutions. That solution was based on this effective harness for long running agents by Anthropic.
14:15This is a brilliant article, so I definitely recommend giving it a read. They also give you this quick start guide, which is an example project that you can play with. Now, this is a really cool project and it's actually quite simple.
14:28The entire process starts with you providing an app spec file. This is a really simple document that contains all of the prerequisites and tech stack and core features of your application.
14:41You can simply use Cloth or ChatGPT to populate the file for you. Now when you execute this application, so the long running agent harness, it will start off by running this initializer agent.
14:53This agent will have a look at your app spec file and it will actually do a couple of things. It will set up the basic project structure, but more importantly, it will also produce this feature list.
15:07Now this is really the magic of having these long running agents. This feature list could have tens to hundreds to even thousands of features. Each and every aspect of your application becomes a feature.
15:20For example, having a light and dark toggle, that becomes a feature and that feature needs to be implemented by a coding agent and tested thoroughly.
15:30And once the initializer agent completes its work, the framework kicks off coding agents. So this coding agent will have a look at the feature list to find the next feature that needs to be implemented. This coding agent also has a second task and that is to perform regression testing.
15:46So it needs to retrieve the next feature that should be implemented, but it should also pick three features at random that have already been implemented and then do regression testing on those features.
15:58So this agent will perform its regression testing and implement the next feature. And once it exceeds its context window or gets close to filling up its context window, it will close the session, update the statuses of the features, and then move on to the next coding agent.
16:16And each of these coding agents have their own context windows, ensuring that the context stays lean and focused on very specific tasks.
16:24So that is basically how this Anthropic framework works. But, of course, this all runs in the terminal. It's very technical to set up, and it's not really meant for everyone.
16:34So there's been this drive to build UIs and applications that use this theory behind the scenes, but it's way easier for pretty much anyone to use, whether you are an experienced developer or a wide coder. An example of such a project is automaker from another YouTuber called WebDevCody.
16:53Cody and his Discord community have been putting a lot of work into this application. It uses all the theory that we just discussed. We start off with an app spec and the initializer agent will then create a feature list based on your requirements.
17:08And now you can visually see the coding agents implementing all of these features using a Kanban board. Now this is really a complex and fully featured application, and I do want to create a dedicated video on this.
17:22Now tools like Automaker and even AutoClaw do a lot more than just this Anthropic harness. They're trying to be fully featured applications that pretty much replace your coding editor to an extent.
17:34You can do stuff like branching and work trees and run terminal sessions within those applications. So for this video, I decided to really simplify things.
17:43This takes the Anthropic harness and simply slaps a UI on top of it. And it's really easy to use and free by the way.
17:52So all you have to do is go to this repository, which I'll link to in the description of this video. Then what you have to do is click on code and click on download ZIP.
18:02Then you can simply extract the contents of that file anywhere on your machine. It really doesn't matter. Then depending on your operating system, you can double click on start UI for Windows or start UI dot SH for Mac or Linux.
18:18So because I'm using Windows, I'll just click on start UI, then it's run this, and this will set up the Python environment for you and install all of the dependencies.
18:28And afterwards, you'll get this URL and if you open this, you will have access to this UI. You just won't have any projects set up yet.
18:37Now this is using your Cloud Code account behind the scenes, so you do have to have ClothCode set up. So it means you have to install the ClothCode CLI tool and authenticate yourself in ClothCode.
18:48Now if you're watching this video, I do assume that you already have ClothCode set up, but if you have no idea what I'm talking about, you can simply go to my GitHub repository and simply follow these prerequisites. So you just have to install Claude code and then authenticate yourself by running this command in the terminal.
19:07You need to either have a Clawd subscription or you can use an Anthropic API key. So this uses the exact same harness from Anthropic with a few very important changes.
19:18And I simply made these changes for performance sake, but everything else remains the same. To create a new project, we can simply click on this drop down. Let's go to new project, and let's just give this a name like YouTube demo.
19:34Let's click on next. Then let's click on select this folder. And now you have two options.
19:40With the Anthropic example, so the vanilla project, you have to change the app spec file yourself. So you have to use Cloth code or ChatGPT or just manually manipulate that file.
19:52But what I added to this application is the ability to use Cloth to generate that file for you. So let's actually test that feature. Cloth will now ask you a few basic questions, like, why do you want to call this project?
20:05And in her own words, what are we building? Who will use it? So it's just really, really simple.
20:11I'm actually just going to copy this prompt and paste it into the chat. Now this is really meant for everyone. So if you have no idea how to use a tech stack or how to define what you want, simply have a natural conversation with the agent and it will guide you through everything.
20:29In fact, even passing in all of this context, the agent is giving us two routes. We can select quick mode, and this is where the agent will make decisions on your behalf. For instance, the tech stack.
20:40Or if you really want to get involved in the architecture, you can go into detailed mode. And this is where you can tell the agent exactly what you want to use in terms of the database, conventions related to database schemas, etcetera.
20:54For this, let's simply go with quick mode. Right. It's asking us a few more questions.
20:59I'm just going to say you choose. And the agent is asking us a few more questions. Now this is something I really like, and this is where the agent asked me if I wanted to use reference images for generating thumbnails, something Clothco didn't do in the vanilla planning phase.
21:15I'll just say, you choose again. And then let's just say, sounds good. Obviously, when you're using this, you don't want to rush through this.
21:23Really go through all the questions and just have this conversation with the agent. And now the agent is giving us a breakdown of all of the features in our application. So if you want to add anything or remove anything or change anything, this is the time to do it.
21:39In total, we're looking at a 174 unique features for this application. I'm just going to say it looks good.
21:46Another agent is creating two files. It's creating that app spec file and it's also updating the initializer prompt with an amount of features that need to be implemented. And I do want to warn you, this step can take a few minutes to complete.
22:00And one thing I forgot to mention is you can attach files to this conversation as well. So maybe you've got an image of a design that you really like, you can definitely upload that image as well.
22:12And by the way, if you were curious, this is what the project currently looks like. So the agent wrote this app spec file. This gives us the project name and an overview.
22:23It contains the tech stack, the prerequisites, the amount of features that need to be implemented, and all the core features.
22:30And then the initializer prompt was simply updated to contain the amount of features as well. And now we can see the agent completed its work, and we now have this button to continue to the project. So now that we have our spec file, the initializer agent will run to set up the entire project structure, and it will also produce this feature list.
22:51If So we have a look at this app, the initializer agent is currently running, and you can also see exactly what the agent is currently doing. If you want more information, what you can do is simply click on debug. You can also press d on the keyboard to bring up or hide this debug window.
23:07And in here, you can see exactly what the agent is busy with. Alright. So we can see the agent already created the first 20 features and they're showing up in the spending column.
23:17So these features are sorted by priority. So the ones at the top will be implemented first. I also want to mention that you can manually add new features as well.
23:27So for existing projects, really all you have to do is go to add feature, and here you can tell the agent exactly what feature you want to implement. And you can simply run the workflow and the agent will automatically pick up that feature and implement it.
23:41Another small quality of life feature is the chat window. So when you click on this, you can ask questions about your project or the code base in this chat window. The initializer agent created a 190 features.
23:54That is more than the amount of features that we agreed on in the conversation. So sometimes it might create more features than you expected, but that is just because it identified certain gaps and it's trying to create complete test coverage.
24:08It's also setting up the project structure and installing all of the dependencies. Let me show you some of the improvements I made to the original harness. The Anthropic harness writes all of the features to a massive feature list file.
24:21Now, if you have hundreds of features, this file can get massive. That feature list file by itself can exceed the context window of the agent. So instead of having this massive JSON file, I instructed the agent to add features to a SQLite database instead.
24:37So in this database, we can see all of the features with their priorities, with their steps, and whether this feature passed or not.
24:44Now in order for the agent to add features and update features in this database, I created a dedicated features MCP server with tools for updating and working with this database.
24:56So there's a tool for retrieving the next feature to implement, there's a separate tool for retrieving three features to regression test, etcetera. I found that this approach reduces token usage and it actually improves performance.
25:10Perfect. The initializer agent is now done. The coding agents will now start implementing these features.
25:16So if I have a look at this debug window, you can see the agent is using these MCP tools. So there's a tool for retrieving the stats.
25:24There's also we tell the agent how many features have been implemented. There's a tool for retrieving the next feature to implement. And if there were any completed features, the agent would use the MCP tool to retrieve three random features to regression test.
25:38Great. So the coding agent just pulled in a feature, and it's busy implementing this feature over a year. And it's already implemented that feature.
25:46Well, that's cool. So it's now retrieving the next feature to implement, which is this guy over here.
25:54And in my opinion, this really is the secret sauce. This agent will actually open up a browser window and test the application in real time.
26:03So as you can see, it's actually opened up this browser window. This allows the agent to actually see the application, so it can identify any UI related bugs or styling issues as well.
26:14This is really relying on test driven development. So it will test a feature, realize, oh, it actually doesn't work because there's a bug or the feature is totally missing. It will then implement the feature and try again.
26:27So as I've been speaking, you can actually see the page changing as the agent is testing this functionality. And it's this workflow of implementing a feature and testing it using the UI that really makes a massive difference.
26:41The agent is not simply implementing this blindly, It's testing the application to make sure everything works and everything is there. Yes.
26:48This takes a long time to complete, and it uses a lot of tokens. And if it's quality you're after, this is really the approach you need to take. And if you're on a smaller plan with Anthropic, like the $20 plan, you will reach your usage limit relatively quickly.
27:03But honestly, it doesn't matter. Your usage resets after a certain period of time, and this agent will simply auto continue the moment your usage has been reset. So you can run this while you're sleeping or over weekends or when you're away.
27:18Now if you want to just run through the stuff as quickly as possible without testing, you can do that as well. Simply stop the server, then select YOLO mode, this yellow button over here, and click on start agent in YOLO mode.
27:32So this will simply grab the next feature, implement it blindly. It will do lint and type checks though, So it won't look for any syntax errors, but it's not going to test these features at all.
27:43It's just going to assume that everything works and move on to the next feature. So if you really just want to go with speed, then just use YOLO mode. But if you want to build something that's actually robust and production ready, then let the agent test.
27:57If you've got any questions, please leave a comment below. Or if you get stuck or have any issues, you can join my school community and either myself or one of the community members will assist you.
28:09And also remember to hit the like button and subscribe to my channel for more ClothCode and the Gentic coding tutorials. I'll see you in the next one. Bye bye.
The Hook

The bait, then the rug-pull.

Same prompt. Same model. Zero human interference. Leon van Zyl ran an identical spec through vanilla Claude Code and through his open-source long-running agent harness — and the gap is embarrassing. One app shipped with broken card editing, no light/dark mode, and a thumbnail generator that never fired. The other delivered all of it, plus features nobody asked for.

Frameworks

Named ideas worth stealing.

14:08model

Anthropic Long-Running Agent Harness

  1. Initializer agent parses app spec, creates feature list
  2. Fresh coding agents pick up next feature + 3 regression tests
  3. Agent closes session when near context limit, updates statuses
  4. New agent starts fresh with lean focused context

Solves context-compaction by design: no single agent ever needs the full project history.

Steal forAny multi-session Claude Code project — JoeFlow, MCN, new MVPs
24:08concept

SQLite Feature Store over JSON

A massive JSON feature-list file can itself exceed the agent context window. SQLite + MCP tools let agents query only what they need.

Steal forAny batch agent workflow with 50+ tasks
24:53concept

Dedicated Features MCP Server

  1. get_next_feature
  2. get_regression_features (3 random)
  3. update_feature_status

Purpose-built MCP tools reduce token usage and improve reliability vs having the agent read/write files directly.

Steal forAgent orchestration layers in JoeFlow or MCN Chef workflows
27:15concept

YOLO Mode vs Test Mode

Explicit speed/quality toggle: Test Mode opens a real browser and verifies each feature; YOLO Mode runs lint/type checks only.

Steal forAny product with a batch processing pipeline
CTA Breakdown

How they asked for the click.

VERBAL ASK
28:00product
You can join my school community and either myself or one of the community members will assist you.

Soft sell after YOLO mode demo. Agentic Labs Skool at $5/month. Paired with subscribe ask.

FROM THE DESCRIPTION
Storyboard

Visual structure at a glance.

split-screen comparison
hooksplit-screen comparison00:01
vanilla app broken
problemvanilla app broken01:23
prompt file in VS Code
contextprompt file in VS Code05:02
polished app thumbnails
valuepolished app thumbnails07:05
architecture walkthrough
frameworkarchitecture walkthrough14:08
GitHub repo
resourceGitHub repo16:33
spec generation chat
demospec generation chat19:00
SQLite features.db
valueSQLite features.db22:48
live browser testing
valuelive browser testing26:01
Agentic Labs Skool
ctaAgentic Labs Skool28:00
Frame Gallery

Visual moments.

Chat about this