Try Pro free
Full episode 47:01

The best 12 min of 47

The 4-Step Agentic Engineering Workflow I Use to Ship Real Apps | Ras Mic

Ras Mic walks through his four-step agentic workflow of isolate, build, prove and ship, and argues a human still has to test every feature.

Behind the Craft · Peter Yang

  • Ras Mic is a full-stack engineer who has taught 100K+ people how to build with AI.

The best minutes

  1. 21:29A Greptile score loop makes agents fix their own PRs5 min
  2. 10:41Make agents prove a bug exists and prove the fix5 min
  3. 28:17Planning by talking to the agent, not writing specs3 min

Also worth watching

  1. 33:06Astra finds speed and security fixes, but Fable still writes better code4 min
  2. 38:45Use cheap models for routine work and keep frontier models for review2 min
  3. 43:06Test each new model with no agents.md or skills before adding your own2 min

Skip the work tree setup walkthrough, the service layer explainer, and the home lab and cron job tour.

Full analysis · 6 min read

Real Alpha · Nov 8

Ras Mic says four steps keep agent code reviewable

  • Ras Mic's four-step workflow isolates agent work, gathers proof, and loops review to five out of five or ten iterations.
  • The score is a review signal, not demonstrated correctness, and Mic still tests features himself.
  • Teams can automate evidence collection while keeping human approval proportional to production risk.

Free with an account

Read the rest of the analysis

7 sections, the 7 other voices it tests Mic against, and what it means for you. Every episode we cut gets one.

Signed up before? The same buttons sign you in. The episode, its moments and the transcript stay free.

1:10

A factory packages a developer's workflow, not autonomy

Mic defines a software factory as a workflow, skills, and domain knowledge packaged for agents. His agents.md file guides how the agent works, rather than documenting the codebase.

That makes the factory an expression of engineering practice, not a permission slip for unattended shipping. But the value depends on whether the encoded workflow captures the team's real standards.

Zach Lloyd, Warp's founder and CEO, made a related case on Latent Space in November 2026. He described factories as runnable code for a specific product surface.

Mic's approach is more personal, built around one developer's preferred workflow. The shared point is that teams should define the work process, not simply hand agents a task and hope.

“To me, a software factory is more about your workflow, skills, and domain knowledge”
1:10

Our read

The useful asset is the repeatable process around a model. Teams should treat the workflow as their own operating procedure, not assume the model supplies their judgment.

3:27

Isolation and architecture reduce avoidable agent drift

Mic's first step creates a Git worktree for each new feature, fix, or task. That gives parallel agents separate workspaces instead of asking them to edit the same branch.

He showed five agent tabs, four of them finished. So isolation matters, but it has limits. Mic notes that worktrees do not separate shared resources such as development server ports or databases.

The build step then applies his service-layer pattern. An orchestration layer handles business rules and state transitions, while a service layer owns reusable functions and structured results.

Stephen Toub, a Microsoft distinguished engineer, made a related scope point on The Peterman Pod in November 2026. He wanted agent changes to preserve existing behavior, since unrequested changes contributed to regressions.

“Isolate, new work tree, write code to a specific standard”
25:32

Our read

Worktrees control collisions, while architecture constrains what agents build. Neither resolves conflicting requirements or shared-resource risks, so teams still need boundaries beyond the branch.

12:30

Evidence makes manual review shorter, not unnecessary

Mic's proof step asks an agent to reproduce a reported bug before fixing it, then show the fix working. The point is to establish that the bug exists, not just accept a ticket's description.

For example, his workflow records video when the machine supports it. If video is unavailable, it can use screenshots. For work that cannot be shown visually, he asks for performance numbers or tests.

That evidence gives a reviewer something concrete to inspect. Yet it only covers the behavior the agent exercised. It cannot establish that other paths or regressions are safe.

Uday Kiran Medisetty told The Pragmatic Engineer in October 2026 that Uber still requires human review on every PR. Uber gives reviewers AI results, screenshots, and risk signals, a similar use of evidence without removing the reviewer.

“it proves the fix as well”
12:47

Our read

Proof can make review faster by showing what changed and how it was tested. It is not proof of correctness beyond the checks actually run.

22:26

Greptile's score loop is a useful gate, not proof

Mic says the first PR from most models, including Fable and Astra, is usually four out of five. Sometimes it may be three out of five.

Mic uses the Greploop skill from Greptile to process review feedback. It asks the agent to fix issues, push changes, and request another review.

The loop stops at five out of five or after ten iterations. In one example, Greptile was still pending after a ten-minute wait. So the process does not guarantee a finished or mergeable PR.

Greptile is a code-review-agent company, and Mic says he is a fan. Its confidence score is the loop's chosen signal. The episode does not show whether the score predicts escaped defects or production outcomes.

OpenAI's Tibo Sottiaux discussed review models on The Pragmatic Engineer in September 2026. He said they catch deep logic and security issues, while some security flags can block PRs.

“iteratively improves PR until Greptile gives a five out of five confidence score with zero unresolved comments.”
22:52

Our read

A score can make a review loop operational and repeatable. Teams should validate it against later defects and rework, rather than treating a perfect score as independent proof.

17:17

Human review stays where consequences justify it

Mic says he tests his features himself. For his consultancy's client work, other developers review the code too. That is a material limit on the factory's autonomy, not a detail to omit from the workflow.

He uses a lighter process for personal utilities where he mainly cares whether they work. But he applies the fuller workflow when he wants other people to use the software.

Sam Newman made a related case on The Pragmatic Engineer in October 2026. His suggested factory zone was low-risk modules with solid tests and SLOs, while keeping people close to critical modules.

Take the distinction seriously when deciding what to automate. A production feature with money or user data at stake should not inherit the review policy for a disposable personal app.

“I am testing my features.”
17:22

Our read

Mic's own practice supports selective automation, not one approval rule for every task. Risk should determine how much evidence and human review a change needs.

30:11

Conversation can plan features, but durable context matters

Mic often plans by talking through an idea with an agent instead of writing a full spec first. He says a typical discussion can run five to ten minutes.

One email-service discussion took about 27 minutes or 30 minutes. For example, after hitting a service's free-tier limit, the agent suggested Cloudflare email. They discussed the tradeoffs, checked the documentation, and refined the feature.

The conversation holds immediate context. Mic also asks for files such as setup.md when he needs to return to a decision. That gives him and the agent a durable reminder in the repo.

Sam Newman discussed specs on The Pragmatic Engineer in October 2026. He said teams must unpack tacit knowledge that otherwise stays in people's heads. CJ Hess explained on Latent Space in October 2026 that Tenex keeps plans and decisions in the repo.

“the conversation history is the spec.”
30:51

Our read

Voice planning can help expose intent, but conversation history is fragile context. Persistent decisions belong somewhere the next session and the next engineer can find them.

39:16

Model effort should follow task risk and cost

Mic says teams do not need state-of-the-art models for every task. In his view, stronger models are most useful for orchestration and review, while less demanding work can use cheaper options.

For example, he described using Luna to crunch tax figures, with Soul as a sub-agent tracking its work. He also distinguishes models by task, preferring Astra for performance and security audits and Fable for code and UI.

Those are his preferences, not a controlled comparison. The episode gives no cost-per-task or error-rate data, so it cannot establish how much the proposed routing saves.

Thariq Shihipar said on Latent Space in September 2026 that extra effort mostly buys verification and edge-case testing. That makes it more valuable for security and code review.

“there's no need to use state of the art for everything.”
39:16

Our read

Routing by task is a budget hypothesis worth measuring. Compare cost, review time, and defects across task types before making the routing rule permanent.

What it means for you

  1. Measure proof coverage. For a sample of agent changes, record how often agents supply video, screenshots, tests, or metrics. Track whether evidence reduces reviewer time without increasing escaped defects.
  2. Audit the score loop. Log Greptile scores, iterations, pending reviews, and later fixes. Check whether a five-out-of-five result predicts fewer defects, rather than assuming the score is the outcome.
  3. Choose a safe pilot. Try the full workflow on a low-risk module with strong tests and SLOs. Keep required human review for critical changes and compare the results.
  4. Preserve decisions. When a planning conversation produces a decision needed in a later session, write it into the repo. Measure whether agents resume work with fewer clarifying turns.

What to watch

  • Whether agents reliably invoke every skill without human reminders.
  • Whether Greptile's five-out-of-five loop correlates with fewer defects or less rework.
  • Whether scheduled security audits produce tracked fixes, not just recurring alerts.

Send this to the engineering leader setting agent workflows and review policy.

25:32

Watch the minute where Mic lists all four workflow steps

Written by Real Alpha from the episode's transcript and the other moments it links, then checked against the transcript. Quotes are the speaker's exact words.

Minute by minute

  1. 0:56A software factory is your workflow

    Ras Mic says the common idea of a software factory is usually a slop machine. His definition is packaging your workflow, skills and domain knowledge into an agents.md file and a set of skills. He says it should be model and harness agnostic, though he names Astra as the best model right now and says Fable 5.1 is great at writing code.

  2. 2:03Isolate every task in a worktree

    His agents.md explains how he wants the agent to work, not how the codebase is structured, since models can read that themselves. For each new feature or bug, a new feature skill branches a Git worktree off main so several agents can work in parallel; he shows five Codex tabs running. The skill also warns that worktrees do not isolate shared resources such as dev server ports and databases.

  3. 7:14Build to a service layer architecture

    The build step calls his code structure skill, which tells the agent to separate an orchestration layer that owns business rules, state transitions and auth checks from a service layer of reusable functions. Ras Mic says this keeps code readable if he ever has to read it himself, and limits the duplicate functions agents tend to write.

  4. 10:41Agents must prove bugs and fixes

    An evidence-driven testing skill has cloud agents record video of a bug before fixing it and of the fix afterward, useful when product staff file Linear tickets assigned to an agent. A before-and-after skill he took from Vercel captures screenshots, or numbers for non-visual work; one Astra performance pass cut navigation from 850 milliseconds to 60. He says this pushes the agent to prove its solution works.

  5. 15:47Astra needs reminders to follow skills

    Ras Mic says Fable 5.1 and GPT 5.6 Sol run the workflow end to end without manual triggering, but Astra sometimes skips steps such as the Greptile loop and has to be reminded. Peter Yang finds Astra timid and unreliable with skills; Ras Mic agrees it sometimes stops partway and needs to be told to continue.

  6. 16:45Humans still test every feature

    Ras Mic says what sets his setup apart is that he tests and uses each feature himself, out of empathy for users. At his consultancy, developers on the team review the code. He says the agent's evidence is meant to build trust and make manual review, which he calls the worst part of a developer's job, as short as possible.

  7. 21:19Greptile loops until five out of five

    Greptile, a code review agent, gives each PR a confidence score, and Ras Mic says top models usually start at four out of five. The Greploop skill feeds the feedback back through the build and prove steps, pushes, and waits for a new review until the PR hits five out of five or reaches an iteration cap of five by default; his version uses 10. He wrote only the new feature, code structure and evidence-driven testing skills himself.

  8. 26:19Verification exists because trust is low

    Ras Mic says he does not yet trust agents with software other people use. For personal tools such as an image-sharing service and a screenshot app called Still, he skips the workflow and cares only that they work. Yang says overnight runs collapse after one wrong early assumption, and Ras Mic compares this to poor communication in human engineering orgs.

  9. 28:17Talking through plans instead of specs

    Ras Mic plans by talking to the agent through Wispr Flow for five to 10 minutes or more, because he thinks out loud. A discussion about replacing a paid email service with Cloudflare email took about 27 to 30 minutes before he settled on tracking and custom domains. The conversation history serves as the spec, and he asks for files like a setup.md in the repo when he needs to come back later.

  10. 32:57Astra for audits, Fable for code

    Ras Mic says Astra almost always finds speed gains in modern frameworks and runs security audits without being moved to a lesser model, which he says happens with Fable, routing him to Opus 5. An Astra audit of his church payment system caught a security issue he calls potentially detrimental. He finds Astra's UI weak without reference images and says Fable is better at UI and writes code more likely to pass human review.

  11. 38:10State of the art is not needed everywhere

    For tighter budgets, Ras Mic recommends sticking with Astra and Codex, calling OpenAI more generous with resets than Anthropic. He used the cheaper Luna for joint tax work, with Sol as a sub-agent checking it. He expects model routers to matter soon and says top models should mainly orchestrate and review, since big models can do dumb things on small tasks.

  12. 40:43Scheduled security checks for client apps

    For a client app involving government companies, his team runs a daily scheduled security check on Cursor Cloud agents. He is building his own agent workspace on a home lab of Linux and Mac machines and says security audits should be mandatory for production apps. He once found 3,000-something worktrees filling his Linux box's memory, and Yang suggests a cleanup cron job.

  13. 43:06Harnesses may absorb parts of the workflow

    Ras Mic expects his setup to last because it describes how he works, though better models may make the code structure skill unnecessary and harnesses may handle worktrees and loops. He tests each new model with no agents.md or skills first. Both warn that lab engineers give advice with unlimited tokens, and Ras Mic says he supports open-weight models that run locally.

Published Oct 11, 2026.

Transcript · 39 min read

Behind the Craft, hosted by Peter Yang, with Ras Mic.

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. Software Factory as it's explained and broadly known, I'm just not a fan of, right? Because one bad, wrong assumption in the beginning just destroys everything. I'm not at a point where I trust the agent. Most models, your Fables, even Astra, usually the first PR they make is a four out of five. This is essentially the crux of the workflow. Isolate new work tree, write code to a specific standard, prove that a bug exists. Even though this is supposedly Software Factory, it's very much human in the loop. I am testing my features. I think the general term and what you hear of a software factory, it usually is a slob cannon.

  2. I have a different version, a different, sorry, definition of what a software factory is. And I'm happy to share that. To me, a software factory is more about your workflow, skills, and domain knowledge, and sort of packaging that in either an agents.md, cloud.md file, and a bunch of skills, right? You know, going back to core engineering principles, like many, I've worked with many engineers. We all kind of work differently. And to me, a software factory is being able to take that domain knowledge and sort of have a system where you can easily go through the flow. So a software factory, in my humble, respectful opinion, I know there's a lot of startups that are doing this, is model and harness agnostic, right?

  3. So it doesn't matter what harness you use or what model you use. Obviously, you want to use the best model. That being astral right now, in my humble opinion, although Fable 5.1 is great at writing code. That's what a software factory is. And I think I'll probably give you like a brief breakdown of how mine works. It's just exactly how I would write code normally. I have, I'll just delete some of these examples so we can walk through them together. I have basically one agents.md file and a couple skills. And I think the best way to explain this is sort of show my agents.md file. and my agents.md file, the purpose of it is it just explains my workflow. It doesn't really talk about how the code base is structured and stuff like that because the models are so good now, they can use their read tools and figure out how things are structured. But what my agents.md file sort of explains how I want my agent to work, right? And there's essentially four steps.

Read the whole transcript
  1. The first step is to isolate, right? So whenever I go and I prompt for a new feature or I'm in like discovery mode where I'm telling the agent, okay, I want you to build, you know, analytics, or I want you to improve email tracking, or I want you to, you know, I want us to have an iMessage service run on my MacBook that's on my network, right? So whenever we're working on a new feature or we're fixing a bug that exists, just a fresh, fresh new work, what is going to happen is this skill called new feature is going to be called. And basically what new feature does is it branches off a Git work tree off of the main branch, right? So if I were to think of this is my project, right? This is like the start and this is the finish and this is my main branch. Every time I'm working on a new feature, what essentially happens is a new Git work tree is created branching off me. And what this allows me to do is I'm usually working on multiple features at a time. Agents have allowed for me to explore multiple ideas at once. So I'll have multiple features and they're all on separate work trees. The agents are going to overstep on each other.

  2. And a perfect example here is I have a ghostly terminal running herder. And I don't know if you can see it on the bottom left. I can zoom in. I have one, two, three, four, five tabs running Codex agents. Four of them just finished. One of them is continuing to go. And the reason why I'm able to do this safely is the isolate step, which basically calls my new feature skill, which if I show you the skill, it's pretty simple, self-explanatory. It basically just tells the agent, start a new task in an isolated Git work tree branched off main so multiple agents can work on the same repo in parallel without conflicts. Use at the beginning of every new feature, fix, or task before writing any code, right? So this gives me a true parallel experience where I can have multiple agents working on different features. This is step number one.

  3. Now notice there's, you hear software factory and you just think, give it a task and let it just rip till the end, right? Mine is more so a workflow that I tell, I give the agent which skills to call at which step. And to me, this is not a slop cannon versus when we were running the route loops and all those things, or even slash goal to a certain extent, you're leaving a lot of gaps for the agent to fill itself. And sometimes we'll make good assumptions, right? Especially the latest and greatest models that they can make good assumptions, but sometimes it can be terribly wrong, right? So I would say this is the first step of my workflow. I'll stop here, Peter, if you need me to fix or explain anything. This episode is brought to you by Whisperflow.

  4. Whisperflow saves me at least three hours a week and is one of my favorite AI apps by far. It's just so much faster to dictate to AI using your voice than to type. You just talk naturally and it outputs clean, ready to send text. Whisperflow even removes filler words and formats your sentences for you. I use Whisperflow for everything, including drafting newsletter posts, writing product specs, replying on Slack, and more. It works on Mac, Windows, iPhone, and Android across all of your favorite apps. Try it free at whisperflow.com and use my code PeterWhisperflow to get six months free. That's PeterWhisperflow. Now back to our episode.

  5. So what is the output of the new features scale? Like, is it like a spec or something? Basically, it's because every task gets its own work train branch created off. It's just explaining exactly how to use Git, how to create the work tree. And again, this was generated with AI, right? I, previous to AI, I wasn't the best at Git. I was always on Stack Overflow or even Google figuring out, okay, I have this issue. I need to rebase. So Git was primarily never my strong suit. But yeah, I used AI and basically this skill just explains it, how to create the work trees, right? First of all, fetch origin, make sure you're in sync with your repo and creates the work tree from the repo route, verifies it. And then it tells it here, work trees do not isolate shared resources, their dev server ports, shared database. So just again, some basic information for it to understand how to properly create a work tree and to understand that yes, the work is isolated, but the resources are not. Okay. So basically the new feature primarily creates a new work treaty, but in terms of actually starting to build the feature, just like a separate scale?

  6. Yeah, so this is just step one where we're isolating. You can think of them as workspaces, right? When it comes to actually building, we get to step two, right? And the build step calls a skill called code structure. And basically what code structure is, this is a skill that I made that basically tells the agent to write code following the service layer architecture, right? There's a pattern that I explain here. I have an orchestration layer for actions, have a shared mechanics service layer, basically an example of how this should look, how functions should be written, right? This is, and the reason why I have this is there's two thought processes when creating this skill.

  7. And the first one is if I, for some reason, have to get in and read and write code like it's 2024, then this should make it at least easy for me to understand because this is how I was taught the right code, right? So this skill basically gets called when it's time for the agent to write code. So in the build step, it says, write code to the service layer architecture, action and boundaries orchestrate the why and when a service layer owns the reusable how with explicit inputs and structured returns. Can you just briefly explain a couple of lines for people who don't know what service layer architecture is? Yeah. So basically the, and it's in the skill here, the premise of a service layer architecture is actually, it's defined right here. The actions and boundaries that orchestrate the why and the when and the how are sort of separate. And a good example here, I think is, for example, just read the function names, create manage sandbox, prepare repo, detect package manager, install dependencies, run build commands, start sandbox runtime. So the way functions, actions, and all different resources are defined, they're defined in a specific pattern. This pattern allows for another developer when they're reading to understand this,

  8. right? To understand the core pattern, really, there's two places, there's two spaces. There's an orchestration layer, meaning this owns business rules, state transitions. If you have a state machine, you know, auth checks, you know, service functions, all that stuff. And then the service layer owns reusable, you know, functions. This is where you would probably define your SDK. It owns all that type of stuff, right? So any sort of structured result lives here. The reason why this is this architecture, in my home opinion, again, a lot of people debate this. There are some developers who probably wouldn't be a fan of this. But in my opinion, the reason why this is great, Not only for myself, but for agents is this limits duplicate functions, which agents love to write the same function again and call it in different places.

  9. And this is readable, right? So I might not have to read every line, but I can read create managed sandbox. And what do I understand that this function does? It creates a managed sandbox, right? So it helps not only myself or if another developer were to jump on this project, but it also helps, in my humble opinion, the AI agents understand, okay, this is what this function does. Okay. Got it. Yeah. So that's what the build stuff does, right? It writes code and it follows this architecture. So you can almost imagine if I go back to this diagram, let me just clear some of these lines out. We isolated a new work tree and I've started to build.

  10. Ras Mic · 5 min

    “it forces the agent to prove that this bug actually happens. Right. Because sometimes it just might have been user error.”

  11. And in my opinion, it sort of forces the agent to sort of prove that the solution it made work. Because I've seen traces before where it'll do the before and after and be like, oh, the changes aren't really good. And then it'll continue on working. And let me ask you this before you move on to, or maybe you got this part of Grab Loop. Like, do you trigger each of these phases manually or like it kind of triggers by itself? So I will say with Astra, and this is something I've noticed. with 5.1 and 5.6 Sol, these have not been triggered. Like I haven't been triggering these manually, but I find, I'm trying to find an example here, but I found that with Astra, and I don't know if this is a model flaw or maybe I have to make some updates to how my age is written.

  12. I find that sometimes I have to tell it, oh, I got a PR with some feedback from Greptile. You didn't run a grep loop. And it'll be like, oh, I forgot. It'll be like, oh, my apologies. And then it will continue to work. So I find with Astra, I've had to do a little bit of reminding and I plan on trying to figure out why. But with 5.1 and GPT 5.6 sold, like when I run this, it literally goes from, okay, I've explained the feature to I get a PR that I test. Now, the one thing I would say that makes this software factory not like other software factories is I test my features, right? I test them out.

  13. I see, I use. I'm not just going feature after feature after feature. And then now I have 10 other features that don't work. I think when you're building an application for people, a little bit of empathy is necessary for the user. I'm a very, like, it would break my heart if someone used my app and it was terrible. It was trash. It was disgusting, right? So I do, even though this is supposed to be Software Factory, it's very much human in the loop. I am testing my features. Got it. Okay. So basically, and it's just you working on this app, right? Or is there other people? So I do like a little side note, I don't really talk about this online. I do run a consultancy where we do build apps and agents for third party companies, for other companies, right? Different sizes. And obviously when you're building for yourself, then yeah, you can have the slot machine on run and it's fun. But like when you're building for other businesses, you know, there is a responsibility that you have to have, right? Which is why, again, this is, there's a code structure skill. There's a before and after. And we do have, I'm not the one to review, but I do have developers on the team that actually review the code.

  14. right shout out to them but for software that i'm building or side projects or apps that i'm launching then yeah 100 this is just me and i'm following this flow i yeah i guess um the before and after and evidence-driven testing is happens before you do the manual review the manual review is almost like the final step right like the agent tells you it's ready to go and you test yourself basically yeah the manual review is like all the work's done and i have as much evidence from the agent as possible essentially what i'm trying to do with evidence-driven testing and before and after and even grep loop is we're trying to build trust right so there's evidence that the agent can present to say okay this is the work that's done and this is why it's good right so it makes manual review as little as short of a time as possible for anyone who's been a developer for any time manual review is probably the worst part of your job this sort of helps at least minimize the amount of friction a developer has to go through for manual review got okay yeah i also do find that Astra is a little bit timid in just doing the work. And I don't know about you, but I also find it not very reliable in following my skills. Yeah. So I've been using it again,

  15. extensively the last couple of days, all my agents right now are literally codecs. And one thing that I find it's, yeah, it's very smart, but it almost needs like assurance. Like it will say it's going to do something and it'll do it, but it hasn't done it all the way. And I'll tell it, oh, continue. And it'll be like, oh, yes, I will continue the work I started. And yes, to your point, like there's some times where it doesn't follow skills, right? So and we can talk about this later with the model stuff. But I still find, especially if people have the budget for it, I still find a great place and value for Fable 5.1.

  16. I don't think it's down and dead. I do think Astra as an overall model is very much impressive and powerful in the computer use. and I can even share some of the hardware things I've been working on. I bought a bunch of hardware stuff thanks to Astra and Blender. But yes, it is a little, to your point, timid. Sometimes there's a follow instructions and sometimes needs to be reminded to keep on working, which I'm not a fan of. But yeah, 100%. Related to that, I'm curious. So do you, mostly do you're coding from the terminal or because if you use the Codex app, some of this evidence-driven testing stuff, it can actually do through the browser use and through some of the stuff that is included in the app? Yeah. Yeah. So it depends, right? So I will use the terminal. I will also use the GUI. And the way I basically divide work is to your point. For example, with this app called Bezalaw I'm working on, I'm really doing a lot of back-end-y type work right now, not a lot of visual stuff.

  17. So I will just use the terminal. It's connected to a Linux box that I have that's very, very powerful. So I'll let it run and do that. But whenever I'm working on user face stuff, I have it synced to my Mac, I'll just jump on the codex app and to your point with browser, with the computer use and stuff like that, evidence driven testing just becomes super, super powerful, right? So I split up work that way. Also, the reason why this exists is because we were talking about this earlier, I do have some new responsibilities now. So I'm not really at the office, and I can work for my phone. And I know Codex has the remote control as well, but I like to use again, Fable and other models, especially when they come out, because we have to make, you and me have to make content like this. So I'm sort of forced to use everything to figure out what's the best thing right now. Got it. Okay. Awesome. Well, let's finish explaining the workflow. So can you explain

  18. Ras Mic · 5 min

    “Anytime Greptile gives any sort of feedback or a score under five out of five, the grep loop fires. It takes in the feedback. It writes the code. It pushes to GitHub.”

  19. Updated PR 155. Documentation checks passed. Greptile remains pending after 10 minute wait. So I get basically at the end, I get PRs to review, right? So this is a very human in the loop, but my workflow is injected software factory. So just to summarize, it sounds like basically what you're doing is you have this shipping workflow that chains together a bunch of skills, right? That you kind of either copy or build yourself. And it seems like both step three and four are like really focused on verification, Right. So like where the loop comes in is really around verification, just having a self-improve and make sure the thing actually works.

  20. Exactly. I'm not at a point where I trust the agent. Right. Especially with stuff that people are using. For example, I have this I have these two little mini apps. Right. I have this image service that I built and it's so that I can share images between machines. Right. I didn't need to read the code. I just wrote slash go. It worked. It was good enough for me. I have another tool called Still that just takes really good-looking screenshots. I don't really care how the code looks. I don't care for the Greptile score. To me, what matters is this works. I can copy this. I can go to Twitter. I can paste my screenshot.

  21. I can tweet, hopefully get some likes, right? So for software like this, this workflow doesn't really matter to me, right? But this I employ, I use when I want other people to use it, right? and I don't trust the agent to do all the right things all at once, this sort of gives me a verification process where I can sort of build trust with it. That makes sense. Yeah, yeah. If you're doing it for a client or something, if you're doing it for personal software, maybe you can sloppify a little bit. But yeah, we don't have a sloppity, we'll have fun. I think even for personal software, dude, like I've tried like leaving it, running for the whole night to build a game for myself or something.

  22. And then if it makes like one wrong assumption in the beginning, the whole thing is just a waste of talk. It just falls apart, right? And this is why software factory as it's explained and broadly known, I'm just not a fan of, right? Because one bad wrong assumption in the beginning just destroys everything, right? And this is true with real engineering and real orgs, right? When there's a lack of communication and things are not discussed, stuff hits the fan, right? So it's just a lot faster with agents now versus with humans.

  23. Ras Mic · 3 min

    “planning for me isn't the agent writing the spec and me reviewing the spec and me saying, go build it.”

  24. So you don't actually make a spec document. You just kind of like the conversation history is the spec. Yes, the conversation history is the spec. Sometimes like as a reminder, for example, I think I might have a PR to show this. So I have a Mac machine and I'm paying for a service that allows my agent to connect to iMessage.

  25. And they're pretty expensive. It works well. SDK is pretty nice, but it's a little expensive. So I was like, oh, what if we built our own? and it wrote, we had a discussion, wrote a plan, but then what I asked it to do was I asked it to write a markdown file called setup.md because it was like, there's this whole setup and things I have to install and I didn't want it to do it right now. So I asked it to make the setup.md file and to put it there. So for me, files like this are important for myself, right? The agent has context of the conversation. So if you're going to build right there and then you can just tell it to build, But for certain things that I want to remember, I want to come back to, I want the agent to come back to, I will ask it to create files within the code base itself.

  26. So right here, this is a monorepo. There's an iMessage folder. In the iMessage folder, there's a setup.md. So when I come back to this and I ask the agent, oh, how do I set this up? It'll know exactly how to do it because we had the plan and it was all written here, right? So that's kind of how I use the agent to create files. It's partly also for me because I'm a very forgetful person. and this helps jog my memory and the agents can pick it up pretty quickly. Got it. Okay, so let me ask you, okay, so let me ask you this. So if I'm just building my own personal apps, is it still best practice to use WorkTrees and even have PRs and stuff?

  27. Or should I just ship to prod? No, honestly, if you're building a personal project and you don't really care, there's no really high standard for it, just have fun, right? I think there's something fun about speed, right? I remember when, was it Composer when it first came out? Yeah, when Composer first came out, it wasn't really the best model, but it was so fast that I don't know Peter if you share the same experience but I loved the speed it was so fun it felt like a video game right so I think there's something fun about speed and if you're building a personal app I think going fast just makes it fun you don't want to make it tedious you don't want to have unless you're trying to sharpen your skills I would just go guns blazing that's what I do for some personal apps that I have here got it okay and on the model front I think you had a diagram for it but like basically you're using Astra for everything you're using Astra for planning and then so to execute? So the way I have it, like a couple things, my benchmark, the Michael benchmark is usually running a performance audit, a security audit, some UI and computer use for all OpenAI models, right? In terms of performance, if you are using

  28. any sort of modern framework like Next.js, SvelteKit, or any sort of React framework, Astra is almost nine out of 10 times great at finding some sort of speed improvement when it comes to either navigations, loading things, caching, prefetching. It really is good at that type of stuff, right? So if you have an existing app, the two things I would highly, highly recommend is running a performance update, checking out your navigation, seeing if things are a little slow or something's load every single time you click back at it. Maybe there's some caching that could be added, some prefetching that could be done. Astra is really, really good at that.

  29. Number two, and this is the big reason why if I had to pick between Astra and Fable, I would stick with Astra as much as I love Fable, is because I can run security audits without getting stopped and being forwarded to a lesser model, right? With Fable, I mean, they said they make improvements to 5.1, but every time anything I talk security related, I'm getting booted to Opus 5, and I'm not really a big fan of that. One app that I built that actual users use is my church payment system. I built a custom payment system for my church, partly because I'm a developer, but partly also because a lot of the payment services in Canada, the fees are exorbitant. They're incredibly high. So I built one and lots of money has flowed through. I'm actually going to onboard other churches as well to use it. I'm not charging them anything. But here's the thing. I asked Astro to run a security audit and boy, oh boy, I'm glad I did that because there were some things that it caught.

  30. Some receipt mechanisms that were an issue where if, you know, people knew how to read, you know, the network tab. And like there was a lot of like there was one particular bug that security issue that I found that would have been detrimental. Right. So if you have any sort of app that is being used by actual people and money is involved in particular, I beg, please run a security audit. It's really great with that. Got it. UI, questionable. It's good. If you give it references, for example, this app I'm working on, Bezel, the UI was designed by Astra, and it has this Windows 95 XP feel. But the reason why it has that is because I gave it the Windows XP network logo.

  31. So the examples it generated before, it had that OpenAI smell where it does the headers with the small text, but all caps. It loves random copies. The buttons are exaggerated. So, you know, Fable is miles better, in my opinion, when it comes to UI. I think if you use Chagibit Images to generate image first. Yeah, and that's another thing, right? So Images is a great way to give references. is I find that if you give a reference image, again, I gave it reference images and it made, this is great, right? But I find Fable off RIP is just better with no references, right? But again, if you're building software, you should give references. I agree using images helps. And last but not least, computer use. I mean, we've all seen the demos. Fantastic, incredible, amazing.

  32. This is to me, a leap in technology when it comes to this. So this is my thought process when it comes to Astra. Now, why do I still have my Fable subscription? Fable writes better code. Fable writes, like if I wanted to join a company and I wanted to LARP as an engineer, even though let's say I wasn't, and I wanted to ship PRs and a human would review my code, I find that you would get away with more code being merged with Fable than you would with Astra. So I still think Fable is the better programmer per se, which is why I don't think I would cancel my Anthropic subscription. But I would say overall, Astra is definitely the better model, especially when it comes to other things.

  33. Again, performance updates, security audit, and the computer use stuff. And if you want to get into hardware, I can also talk about that if you'd like. Astra is definitely leaps and bounds when it comes to that. Maybe that's why you use the terminal so you can use both Astra and Fable at the same time. Yes. And that's the thing too, being able to switch on terminal versus. And I also find when I was using the Codex GUI for a while, I really loved the Codex GUI. And then when I tried to use Cloud's GUI, it was really hard and difficult for me to get used to it. So all the terminal interfaces are pretty much the same, except OpenCode has just the best one.

  34. But the rest are pretty much the same. So switching between models, switching between Cloud Code or Codex or even Cursor, it doesn't really. There's not much of a dread between switching. Got it. Okay. So basically you're using Astra to like find issues and Fable to code, right? I guess maybe most people can't afford using those two best models. Yeah, it is an expensive thing, right? Which is why I would say I would just stick to Astra and to Codex. And the reason being is the resets are also very generous, right? So if prices are a little too much, I will say OpenAI is a lot more generous than Anthropic, although they've started to do resets a little bit more.

  35. but i know people who have like three resets ready to use right so yeah you have to be smart with your money and i would just go with the one subsidizing the most i think i'm not obviously a programmer like you but i also find soul still pretty reliable just so medium effort it's like for routine stuff it's pretty good just getting stuff done so yeah soul is pretty good what other models actually kind of slept on in my opinion for maybe knowledge work type stuff luna is really good. And it's very cheap, right? So for my personal agent type work, I'm using Luna and it's pretty good at computer use stuff. It's pretty good at any sort of knowledge work stuff.

  36. I definitely think the way we should think about models is there's no need to use state of the art for everything. I think there's a place for state of the art. Obviously take advantage of the subsidies if you're within the higher tier of subscriptions, but to your point, like, yeah, GBD 5.6 Soul for computer use is still really good, right? Luna for a lot of like knowledge work, like for example, I had some tax work I had to do. I've been married for like a year and a half now. So our taxes are joint. So I was doing my wife's taxes and my taxes. And there's a lot of numbers and expenses to crunch. And the way Luna just blew through that. And then I used Soul as a sub-agent to track Luna's work. It was just fantastic, right? So don't fall into this trap of having to use the state of the art for everything.

  37. I find, in fact, the really big models can do really dumb things for minuscule tasks. So I think model routers will be a big thing in the next couple of weeks because we don't need state of the art for everything, right? If anything, state of the art should probably stick to orchestrating and reviewing because a lot of the smaller models are getting really, really good. Grok 4.6 is really, really good model, right? So this is why I think, again, take advantage of subsidies, but don't think there's a need to use state-of-the-art for everything. I just don't think that's necessary. Yeah, it could totally backfire if you use Astra Ultra to ship some simple PR.

  38. It'll just overthink everything. Yeah, and it'll take a lot longer. It'll burn tokens. It's just not a good day. Okay, so let me ask you this. My last question is, you walk through the software factory steps. I'm pretty curious if you have any scheduled tasks or cron jobs to make this thing a little bit more proactive. So for example, the performance security audit thing. Like maybe you have it run every week or something, because it probably finds something each time. I just built streamer mode for this. So I'll show this right here. So this is an overview of my home lab setup. And one thing that I recently built, so I used to use cursor cloud agents for that.

  39. And I still do. But one thing that I just recently built is my own sort of agents workspace. and because I have a Linux box, I have a Mac machine, I have a couple other machines on the way. And yes, that's what I plan on building on my own infrastructure. So currently I have that on Cursor Cloud. It's more so for security stuff, right? Especially for client apps. One in particular is in the works with specific government companies and the standard is extremely, extremely high. So we have a consistent scheduled job running on Cursor Cloud Agent that always checks every single day at a specific time for those issues.

  40. But if you have a couple old dusty computers lying around, I highly suggest people connect them up, use codecs. By the way, I'm not a network person. All this is Fable, GBT 5.6 Sol, and a little bit of Astra now. So in my home lab, I plan on running stuff like this. But to answer your question simply, like I said, I like the app. Yes, I do that. I think for production apps, running just a simple security audit is 100% should be mandatory. Got it. Yeah, I have problems where I only have my main laptop and a Mac mini and some of the stuff is in the cloud, right? Like the Grogbox stuff is in the cloud. And then I'm at a point where I don't even know what kind of crown jobs I have anymore because they're like spread across three different things, you know? So I'm trying to consult everything.

  41. The dashboard to track everything too, because I remember I think a week or two weeks ago, I have a pretty beefy Linux box. And it was like, we're close to out of memory. I'm like, how? And then I asked Codex to look, and it's like, oh, you have 3,000-something work trees. You have that. You have this running, these dependencies. And yeah, I asked it all to clean up. So it can be cumbersome. Yeah, I think if anything, it's because you have a cron job where it just cleans up all your shit. It's like, hey, you have to just turn it up. And that's a good thing to have. Yep, yep. Yeah. Awesome, dude.

  42. Well, how do you think the software factory that you set up is going to evolve with the newer models and stuff? or do you think it's going to be pretty consistent? I see both sides, right? I found as the models get better, we tend to use less and less skills, right? But I also sort of disagree with that statement because I find skills before were descriptors of the things that the model had access to versus specific workflows, right? So I think my software factory will somewhat exist as the models make leaps and leaps because this is more about how I work versus like a specific explanation of how the code is, right?

  43. So let's say the next model is really great at writing code. The one thing I would say gets tweaked for here is maybe code structure gets destroyed, right? Because it just writes better code and it just knows how to write really, really elegant code. I still wanted to create a new work tree. Maybe let's say the harnesses start to do that, right? We'll nuke work tree. and maybe the agent after pushing a feature starts to loop, right? So I do see a future where maybe not the model, but the harness will start to incorporate better engineering practices and these things start to get removed, right?

  44. So one thing that I do is every time I use a new model comes out, I start fresh with no agents.md with no skills just to see how it is and then I'll incorporate my software factory. So yeah, at some point, this will be this, right? but for now it's doing a pretty good job i i think uh the most durable skills are really kind of skills personalized for your own taste and preferences and like unless there's some god model just like does the best job for everything i think everyone has different tastes and preferences right so like i don't see skills going away entirely agreed agreed i think explaining stuff to the agent that it already has access to that's for sure not going that that's gone you shouldn't do that but yeah i think we're all our domain knowledge and expertise can be different and skills influenced by how you work i think yeah to your point unless the to your point the new model and harness interviews how you work you explain to it and then it just knows how to work like that for forever like yeah yeah well maybe it's a memory thing or something it's like just really got that but i also think just to kind of wrap this up i feel like you kind of have to be a little bit skeptical about some of the best practices coming from the labs because the

  45. Engineers who work in the labs are just kind of, they have unlimited tokens, right? So they can just do whatever the hell they want. And for the rest of us, we have to be a little bit more careful. We can just run loops all day long. Yeah, so there's this company I used to work at. And whenever we shipped a feature, we actually used to have older laptops in the office. And the reason why we have that is when we were testing the features, we were forced to test it on an older laptop. Because the thing is, we're testing it out on these beautiful MacBooks with all this power. And yeah, everything feels fast, right?

  46. But most people don't have a machine like this, right? So to your point, this is why I found a lot of the open claw founders and certain people in the lab companies, their advice. Because it just sounds like someone who has bajillion tokens to burn telling me exactly how I'm supposed to do things. Even with the subsidies, great. We still have limits, right? So I 100% agree. sometimes some advice from the labs can be a little bit cumbersome and also at the end of the day they are a business and they want your business and they want you to spend more money right so this is why philosophically i'm super supportive of open source models and open weight models especially ones we can run on our machines because i feel like there will be a time where that stuff will be super super important yeah you don't want to put all your eggs in one basket so yeah also michael well i will link your youtube channel in the description and thanks for sharing your software factory and being real about it and not hyping it up.

  47. I appreciate you again, Peter, for bringing me on and thank you so much. It really means a lot. Awesome, dude.

More interviews