WEBVTT

1
00:00:00.351 --> 00:00:03.215
What are software factories and why is it going viral?

2
00:00:03.635 --> 00:00:11.605
I mean, it's basically this concept that allows you to use AI agents to actually ship software that isn't sloppy at all.

3
00:00:11.665 --> 00:00:19.194
That is more like a factory, more like think about an assembly line and you're just instead of building physical products, you're building software.

4
00:00:19.614 --> 00:00:21.235
And that's kind of the dream.

5
00:00:21.315 --> 00:00:33.901
I mean, if you're able to just create this factory that builds software and it's valuable software and you can create multiple apps that generate revenue and add value to people's lives, that sounds pretty good to me.

6
00:00:34.102 --> 00:00:39.104
So in today's episode, I brought on Ross Mike and he clearly explains the entire process.

7
00:00:39.364 --> 00:00:44.027
By the end of this episode, you're gonna understand how to set your own software factory up yourself.

8
00:00:44.647 --> 00:00:45.808
So enjoy the episode.

9
00:00:45.848 --> 00:00:47.428
I can't wait to see what you build.

10
00:00:47.688 --> 00:00:51.010
There's a reason why this concept is going viral, and I'll see you at the end.

11
00:00:51.310 --> 00:00:53.671
Today's episode is brought to you by Brex.

12
00:00:53.771 --> 00:01:03.656
My company's been on Brex for a year and a half, and I started because I kept hearing companies like Vercel, OpenAI, Anthropic were using Brex, and I figured if they're using it, why shouldn't I?

13
00:01:03.776 --> 00:01:05.617
It's been a game changer.

14
00:01:05.997 --> 00:01:07.998
The thing that got me is how smooth it is.

15
00:01:08.458 --> 00:01:09.679
It's got high limit cards.

16
00:01:09.699 --> 00:01:10.499
It's got banking.

17
00:01:10.559 --> 00:01:16.503
It's got AI that handles the back office busy work like expense reports, which I don't want to do on its own.

18
00:01:16.763 --> 00:01:18.765
It's really just built for this agentic world.

19
00:01:19.165 --> 00:01:21.927
If you're building something new, it's time to get Brex.

20
00:01:22.267 --> 00:01:25.789
Check it out at brex.com slash solutions slash startups.

21
00:01:26.209 --> 00:01:27.110
Link in the description.

22
00:01:35.907 --> 00:01:37.368
Mickey, welcome back to the pod.

23
00:01:37.408 --> 00:01:39.708
By the end of this episode, what are people gonna learn?

24
00:01:40.209 --> 00:01:43.730
We're gonna understand what this bizarre phrase software factory means.

25
00:01:43.790 --> 00:01:45.490
I'm actually gonna show you how I run mine.

26
00:01:45.851 --> 00:01:50.292
It's a lot easier than you think, and it's definitely model and harness agnostic.

27
00:01:50.312 --> 00:01:54.254
So you don't have to purchase some different product to have a software factory.

28
00:01:54.514 --> 00:01:56.114
It's gonna be fun and it's gonna be simple.

29
00:01:56.694 --> 00:02:01.216
Okay, so you're gonna explain what it is, why it matters, how it works, how to think about it.

30
00:02:01.256 --> 00:02:03.217
By the end of this, people are just gonna be able to

31
00:02:04.136 --> 00:02:14.714
boot up their own software factory if they want, or if they think, you know what, this Ross Mike guy, I don't like software factories, I don't like what he's saying, they can pass.

32
00:02:15.318 --> 00:02:15.938
A hundred percent.

33
00:02:15.958 --> 00:02:17.039
A hundred percent.

34
00:02:17.780 --> 00:02:21.543
With the term software factory, there's been a lot of like startups who've started.

35
00:02:21.983 --> 00:02:24.225
And, you know, I'm not here to knock anyone's hustle.

36
00:02:24.945 --> 00:02:31.890
But a software factory is completely harness and model agnostic, meaning it doesn't matter what model you use.

37
00:02:31.910 --> 00:02:33.932
It doesn't matter what harness you use.

38
00:02:34.812 --> 00:02:35.593
It should work.

39
00:02:35.953 --> 00:02:36.133
Right.

40
00:02:36.153 --> 00:02:41.117
Because a software factory is more about someone's workflow, skills and domain knowledge and.

41
00:02:41.337 --> 00:02:46.019
And it's packed up in specific skills that they use in their development process.

42
00:02:46.059 --> 00:02:49.161
Now, I want everyone to think like the last app that they built.

43
00:02:49.221 --> 00:02:52.062
You probably went on Codex, Cloud Code, Cursor, whatever it is.

44
00:02:52.502 --> 00:02:53.683
And you just typed, right?

45
00:02:53.723 --> 00:02:55.083
You said, I want to build this.

46
00:02:55.804 --> 00:02:57.024
And it built it out for you.

47
00:02:57.224 --> 00:02:57.845
You saw it.

48
00:02:58.085 --> 00:02:58.745
And you didn't like it.

49
00:02:59.085 --> 00:03:00.686
and then you made some changes, right?

50
00:03:00.986 --> 00:03:07.990
And you saw the changes, maybe you liked it, you deployed it to Vercel or to production, and you're good to go, or you kept on iterating.

51
00:03:08.430 --> 00:03:09.310
That's the process.

52
00:03:09.791 --> 00:03:20.256
The whole point of a software factory is in each step of the development process, how can I best maximize the model's capability to get the greatest output, right?

53
00:03:20.656 --> 00:03:22.957
And also, how can I move fast, right?

54
00:03:22.997 --> 00:03:26.519
Because if we're using the term factory, there's some sort of structure

55
00:03:26.959 --> 00:03:34.586
and speed and conveyor belt nature that allows me to ship as quick as possible without losing quality.

56
00:03:35.187 --> 00:03:40.751
That's the long bloated Michael Schimelist definition of software factory.

57
00:03:41.052 --> 00:03:42.553
I haven't lost anyone, hopefully, Greg.

58
00:03:43.013 --> 00:03:43.574
That was perfect.

59
00:03:43.674 --> 00:03:45.295
Okay, so understood.

60
00:03:45.416 --> 00:03:46.777
But like, why does that matter?

61
00:03:47.517 --> 00:03:51.399
The reason why it matters is intelligence is continuing to increase.

62
00:03:51.419 --> 00:03:54.280
We have amazing models like GPT-6 Astra.

63
00:03:55.040 --> 00:04:05.084
A good software factory allows you to systemize and use these models in a very efficient way versus just typing in and continuing to go back and forth.

64
00:04:05.124 --> 00:04:07.765
And I think it's better I just show you how mine works.

65
00:04:08.705 --> 00:04:09.806
to give people an idea.

66
00:04:09.826 --> 00:04:14.210
Now, I'll give my skills are available for free, no charge, nothing like that.

67
00:04:14.270 --> 00:04:16.832
But I don't want you to blindly copy me.

68
00:04:16.912 --> 00:04:21.456
I would like for you to think about it, understand the process, and then apply it yourself.

69
00:04:22.427 --> 00:04:27.968
That being said, I have about five or six files that make my software factory.

70
00:04:28.568 --> 00:04:45.272
I have an agents.md file, and for everyone who might not be aware of what an agents.md file is, it's basically this one document, this one markdown file that's injected into the system prompt, that's inject, sorry, not in the system prompt, that's injected into the agent chat every time you communicate with an agent.

71
00:04:45.292 --> 00:04:51.274
So every time I say hi, if there's an agents.md file, before the hi is sent, the agents.md file is sent.

72
00:04:51.714 --> 00:04:57.197
And what's cool about this file is I can sort of dictate how I want the agent to act.

73
00:04:57.857 --> 00:05:12.525
And we actually did a video not too long ago, Greg, where I talked about most people's agent.md file is useless because they were telling the agent.md file what the code looked like and already information that's in the code base that the agent could already know about.

74
00:05:13.005 --> 00:05:15.746
But if you look at mine, there's a simple workflow.

75
00:05:16.026 --> 00:05:18.828
And this workflow is something that's not native to the agent.

76
00:05:19.188 --> 00:05:20.969
So it explains clearly how to do it.

77
00:05:21.569 --> 00:05:23.510
And I'll walk you through every single step.

78
00:05:23.970 --> 00:05:25.271
The first step is isolate.

79
00:05:25.691 --> 00:05:27.232
There's a skill called new feature.

80
00:05:27.552 --> 00:05:28.392
And this is what it does.

81
00:05:28.472 --> 00:05:34.675
It says every new feature starts in the fresh get work tree branched from origin main.

82
00:05:34.995 --> 00:05:37.596
So agents can work in parallel without conflicts.

83
00:05:38.137 --> 00:05:39.037
Never build on me.

84
00:05:39.637 --> 00:05:43.879
And if you know, when Michael is on Greg's channel, there's always diagrams.

85
00:05:43.899 --> 00:05:44.700
So we're about to draw.

86
00:05:45.522 --> 00:05:53.646
So with the first step, when I'm working on a project and I tell it to work on a feature, the first thing it's going to do is isolate.

87
00:05:54.186 --> 00:05:59.388
And what this basically means is you can think of Greg and Mike's app.

88
00:05:59.909 --> 00:06:05.111
You can think of Greg's and Mike app like the journey being, you know, we started here, we started prompting here.

89
00:06:05.531 --> 00:06:07.732
And this is when we launched the production.

90
00:06:07.772 --> 00:06:09.393
We've got thousands of customers.

91
00:06:10.393 --> 00:06:16.935
The way most people work with their agents is at every single step of the journey, they're building a feature.

92
00:06:17.395 --> 00:06:18.355
They're building a feature.

93
00:06:18.635 --> 00:06:19.555
They're building a feature.

94
00:06:19.835 --> 00:06:22.396
And it's a very linear process.

95
00:06:22.456 --> 00:06:22.636
Right.

96
00:06:22.736 --> 00:06:25.497
One feature at a time, one feature at a time, one feature at a time.

97
00:06:26.317 --> 00:06:33.259
And if you ever try to work like like with on multiple features the same time, sometimes there's conflicts, there's issues.

98
00:06:33.659 --> 00:06:37.620
People have, you know, oh, my agent deleted this file that overwrote this file.

99
00:06:38.300 --> 00:06:40.982
What this first step, isolate, does is the following.

100
00:06:41.743 --> 00:06:43.605
I'm going to show via diagram.

101
00:06:44.065 --> 00:06:46.847
So let's say Greg was like, I really don't like our landing page.

102
00:06:47.268 --> 00:06:51.832
And I'm telling Greg, our API calls can be faster.

103
00:06:52.432 --> 00:06:59.078
When Greg works on this feature, what the agent does using myagents.md is it's going to create a new branch.

104
00:06:59.558 --> 00:07:04.562
And you can think of a branch as a copy paste of the exact moment where the app is.

105
00:07:05.303 --> 00:07:10.966
So Greg is going to work on a new branch, a new work tree of the app.

106
00:07:11.347 --> 00:07:13.728
A work tree is basically a copy of the app.

107
00:07:13.968 --> 00:07:22.874
Like you can think of someone copying a block of text, pasting it in a new document, working on that document, and at some point going to merge it back in the original document.

108
00:07:23.074 --> 00:07:24.174
So that's what Greg is doing.

109
00:07:24.434 --> 00:07:27.076
He has a new document working on that feature.

110
00:07:27.736 --> 00:07:28.197
And guess what?

111
00:07:28.237 --> 00:07:29.838
Mike has another feature has to work on.

112
00:07:30.198 --> 00:07:33.320
So I can do it at the same time or I can do it a different time.

113
00:07:34.043 --> 00:07:35.278
I now have my own branch.

114
00:07:36.334 --> 00:07:37.194
Here's what's cool.

115
00:07:37.875 --> 00:07:50.480
Me and Greg and another person or you yourself with 50 different agents can work on multiple features and there's not going to be an issue of one agent overstepping on another agent's work.

116
00:07:50.840 --> 00:07:52.140
This happens a lot to people.

117
00:07:52.160 --> 00:07:58.143
If you ever see tweets, Greg, of people saying, man, like I was working on this and the agent deleted a bunch of stuff.

118
00:07:58.683 --> 00:08:05.266
Almost always it's because people have their agents working on different features on the same branch.

119
00:08:06.330 --> 00:08:08.211
And the agent will do what you tell it to do.

120
00:08:08.491 --> 00:08:13.734
So you told it to update the landing page, but then you also told it to make the API calls faster.

121
00:08:14.094 --> 00:08:18.657
And now it's noticing, oh, these pages, the way they're calling the API suck.

122
00:08:18.877 --> 00:08:20.317
Let me delete these and write these again.

123
00:08:20.558 --> 00:08:22.959
But then it was working on a design on that page.

124
00:08:22.979 --> 00:08:24.199
So issues start to arise.

125
00:08:25.000 --> 00:08:34.505
Isolate allows me to work on multiple features at the same time, parallelly, without having an agent overstep on an agent.

126
00:08:35.282 --> 00:08:37.044
This is the first step of my workflow.

127
00:08:37.084 --> 00:08:39.746
This isn't native to the agent.

128
00:08:39.786 --> 00:08:45.011
So this makes sense to exist in the agents.md file.

129
00:08:45.391 --> 00:08:52.298
And when Greg is done or when I'm done, and I'll explain like the workflow for this, but just to close the loop.

130
00:08:52.758 --> 00:08:54.199
When Mike's done, all I do is...

131
00:08:54.920 --> 00:08:56.020
Merge these changes back.

132
00:08:56.460 --> 00:08:59.781
And then what Greg's done, he can either do it before me or he can do it after me.

133
00:09:00.181 --> 00:09:07.883
But we're merging into the main document and there's not going to be conflicts because we worked on a copy at first.

134
00:09:08.303 --> 00:09:12.384
So this allows me to ship fast with multiple agents.

135
00:09:12.404 --> 00:09:18.645
If I show you, and I can maybe show here, if I show you my terminal, if you notice there's

136
00:09:19.425 --> 00:09:26.168
four tabs of Bezalow, three of them finished, but I literally have four different features on the same exact app.

137
00:09:26.609 --> 00:09:28.009
One's working on an email client.

138
00:09:28.029 --> 00:09:32.152
The other one is working on a computer environment, a Linux environment.

139
00:09:32.412 --> 00:09:34.173
The other one is doing a landing page update.

140
00:09:34.193 --> 00:09:38.615
So I can work on these confidently while still having isolation.

141
00:09:39.115 --> 00:09:40.656
It's not native to the agent.

142
00:09:41.356 --> 00:09:46.139
Thisagents.md plus the new feature skill allows me to do that.

143
00:09:46.679 --> 00:09:47.259
I'll pause here.

144
00:09:47.599 --> 00:09:48.140
Any questions,

145
00:09:49.035 --> 00:09:51.717
Yeah, I mean, it's like crystal clear.

146
00:09:51.737 --> 00:10:06.565
I think it's, the way I think about it is if you actually had a team of engineers and you were trying to build an app, you obviously wouldn't be building it all on main and having everyone just being pushing to main and stuff like that.

147
00:10:06.605 --> 00:10:07.766
That just doesn't make sense.

148
00:10:08.286 --> 00:10:08.687
I think...

149
00:10:10.342 --> 00:10:19.346
I'm non-technical and I think you have all of a sudden all these non-technical people starting to build apps and they're running into this.

150
00:10:20.566 --> 00:10:26.788
You basically made mention, you're kind of like, oh hey man, sometimes it happens that agents overwrite stuff.

151
00:10:27.028 --> 00:10:34.631
I mean, the truth is 95% of the time, you're gonna have agents kind of mess up and overwrite things.

152
00:10:37.656 --> 00:10:52.344
To me, this makes a lot of sense and it's sort of a bigger idea, which is how do you structure the way you work with agents to be more like a team versus just more like a team?

153
00:10:54.318 --> 00:10:56.800
Yeah, I mean, it's a better name.

154
00:10:56.860 --> 00:10:58.060
Team is better than isolate.

155
00:10:58.080 --> 00:10:59.281
I might take the team.

156
00:11:00.022 --> 00:11:04.184
But that's basically... Well, that's why I'm the marketer and you're the engineer.

157
00:11:05.285 --> 00:11:07.266
But yeah, that's basically what it is, right?

158
00:11:07.567 --> 00:11:12.410
Isolate sounds like some sort of like whey protein that I'm going to enjoy.

159
00:11:12.930 --> 00:11:16.372
So if you guys check the link, there will be a name update very soon.

160
00:11:16.712 --> 00:11:17.952
But that's basically what this does.

161
00:11:17.992 --> 00:11:24.095
It allows for me to have multiple agents working on different tasks all at the same time without overstepping each other.

162
00:11:24.415 --> 00:11:24.595
Right.

163
00:11:24.655 --> 00:11:27.076
And there's also a cleanup process I won't get into.

164
00:11:27.357 --> 00:11:33.399
Like once the branch, like once the work is merged in, the work tree gets deleted, all that type of stuff happens.

165
00:11:33.459 --> 00:11:34.720
So that's step number one.

166
00:11:35.100 --> 00:11:36.721
Number two is the actual building.

167
00:11:36.801 --> 00:11:45.166
And this I find has this was a skill that I shared originally way back, but now it's part of my workflow and I shared with everyone is code structure.

168
00:11:46.664 --> 00:11:55.966
We're going to talk about models soon, but one thing about the models is they are great at doing the work.

169
00:11:56.606 --> 00:12:01.227
It just might not be done the best way, right, especially when writing code.

170
00:12:01.567 --> 00:12:09.729
There's, for example, Fable is, I would say, one of the first models to really write code that I would say, huh, right?

171
00:12:10.329 --> 00:12:13.532
Like this is better than some of the best engineers I've seen, right?

172
00:12:13.552 --> 00:12:15.633
Like Fable runs, writes really good code.

173
00:12:15.933 --> 00:12:24.780
But even Astra, which is workhorse, most powerful model, my favorite model, some of the code quality decisions it makes is, and it's not that the model's not capable.

174
00:12:25.161 --> 00:12:26.882
The model is just getting it done.

175
00:12:27.262 --> 00:12:30.345
And if it could get it done in a sloppy way, it'll get it done in a sloppy way.

176
00:12:30.825 --> 00:12:36.187
What the code structure skill does, it writes it in what's called a service letter architecture.

177
00:12:36.387 --> 00:12:41.468
Won't bore everyone, but basically it's written in a way where let's say you needed human intervention.

178
00:12:41.768 --> 00:12:42.728
You hired a developer.

179
00:12:43.048 --> 00:12:44.849
Very easy for the developer to catch on.

180
00:12:45.229 --> 00:12:46.489
Or you yourself are a developer.

181
00:12:46.549 --> 00:12:47.870
Very easy for you to catch on.

182
00:12:48.170 --> 00:12:54.291
But even for your agents, for them to come back to the code and read the code, they'll be like, oh, like, yeah, like, it makes sense.

183
00:12:54.592 --> 00:12:56.012
Like, I've had, like...

184
00:12:56.512 --> 00:12:59.553
I've had GPT 5.6 Sol write code and it works.

185
00:12:59.893 --> 00:13:01.073
It does what it's supposed to do.

186
00:13:01.534 --> 00:13:05.995
But then I'll have Fable review the code and Fable will be like, this is disgusting.

187
00:13:06.035 --> 00:13:10.536
Like there's duplications, there's functions all over the place, there's dead code, right?

188
00:13:10.576 --> 00:13:13.797
So just because it works doesn't mean it's written well.

189
00:13:14.278 --> 00:13:15.498
This skill doesn't.

190
00:13:15.658 --> 00:13:18.182
gives the agent a guideline on how to write code.

191
00:13:18.222 --> 00:13:23.109
So going back to this diagram, again, I'm working on a new feature, right?

192
00:13:23.430 --> 00:13:25.072
The first thing that happens is isolate.

193
00:13:25.433 --> 00:13:29.919
The second thing that happens is, and I'm gonna, I hope people are seeing the

194
00:13:30.620 --> 00:13:31.540
factory nature of it.

195
00:13:31.580 --> 00:13:33.181
The second thing that happens is the building.

196
00:13:33.621 --> 00:13:36.782
And in building, we're using a skill called code structure.

197
00:13:37.242 --> 00:13:44.824
And basically in this process, when I'm telling the agent, oh, build me this landing page, build me this feature.

198
00:13:45.344 --> 00:13:47.145
For example, I've been working on this app.

199
00:13:47.485 --> 00:13:53.847
And the one feature that I wanted built is I wanted a skills like repository where I can

200
00:13:54.227 --> 00:13:57.770
have different agents of mine connect to this app and store the skills.

201
00:13:57.870 --> 00:14:00.031
And I basically told the agent, build me that.

202
00:14:00.351 --> 00:14:05.375
And as it was writing the code, it kept referencing the code structure skill.

203
00:14:05.635 --> 00:14:09.758
So it started to write code in a way that me as a developer, I can review.

204
00:14:10.138 --> 00:14:13.801
But, you know, God forbid, I need to hire somebody to review the code.

205
00:14:14.221 --> 00:14:18.944
It's not going to be the slop cannon where they're confused and they don't know what to do or they overcharge you.

206
00:14:19.304 --> 00:14:21.526
It's written in a way for a developer to understand.

207
00:14:21.826 --> 00:14:27.609
And I find that if you use another agent that doesn't have context on your code base, it will understand it very well.

208
00:14:27.910 --> 00:14:30.191
So first, we isolate.

209
00:14:30.571 --> 00:14:31.472
Excuse the bad name.

210
00:14:32.052 --> 00:14:33.193
Second, we build.

211
00:14:33.633 --> 00:14:33.813
Right.

212
00:14:33.873 --> 00:14:42.959
And all of these are done in an opinionated way that allow the agent to move fast and to do the thing as best as possible.

213
00:14:43.599 --> 00:14:46.220
I think this makes sense, right, Greg?

214
00:14:46.360 --> 00:14:46.560
Yep.

215
00:14:47.120 --> 00:14:47.641
Keep going.

216
00:14:48.221 --> 00:14:50.062
So step number three is prove.

217
00:14:50.442 --> 00:14:51.042
Here's the thing.

218
00:14:52.603 --> 00:14:55.944
You know, agents can't pinky promise, right?

219
00:14:56.144 --> 00:15:00.866
So like if you push an agent enough, well, GPT-6 Astra is...

220
00:15:01.646 --> 00:15:08.112
the reason why it's a big leap in model capability is like, it is the least hallucinating model, which is fantastic.

221
00:15:08.653 --> 00:15:19.743
But like that model aside, most models you can kind of push to like lie or to believe something, or sometimes it'll straight up be like, oh, I actually realized I didn't do this work for you.

222
00:15:20.243 --> 00:15:22.225
So one thing that I have the agent prove is,

223
00:15:22.745 --> 00:15:25.187
agent do is to prove the work that it did.

224
00:15:25.747 --> 00:15:27.889
And this is probably my favorite skill.

225
00:15:28.449 --> 00:15:31.812
There's two skills involved in this, evidence-driven testing.

226
00:15:32.292 --> 00:15:38.817
And basically what evidence-driven testing does, if your machine has the capability to do it, it will literally record

227
00:15:39.397 --> 00:15:46.820
the before state, meaning before the feature, or let's say you're trying to fix a bug, it will record the bug in action.

228
00:15:47.521 --> 00:15:54.144
And what it will do after is after it's done fixing, it will record a working version after, right?

229
00:15:54.284 --> 00:15:56.325
So this is what evidence-driven testing does.

230
00:15:56.425 --> 00:16:03.428
It proves that the fix actually was made because you'll be surprised sometimes the agent will write the code,

231
00:16:03.788 --> 00:16:07.190
And it'll think it worked, but it didn't test it or it didn't prove that it worked.

232
00:16:07.551 --> 00:16:08.712
And it just told you it worked.

233
00:16:08.772 --> 00:16:13.755
So I need to make sure that the agent actually proved this work.

234
00:16:14.255 --> 00:16:17.438
But let's say your machine doesn't have the capability to do that.

235
00:16:17.978 --> 00:16:19.779
There's another skill called before and after.

236
00:16:20.220 --> 00:16:28.786
And I can actually let me pull up a PR to show this, Greg, because I think it is better show you than I tell you.

237
00:16:29.326 --> 00:16:31.228
This is a PR my agent made.

238
00:16:32.097 --> 00:16:32.978
I didn't make this.

239
00:16:33.459 --> 00:16:34.380
The agent made this.

240
00:16:35.001 --> 00:16:39.747
And I wanted it to create an admin email page and connect to an email service that I made.

241
00:16:40.608 --> 00:16:42.150
Look at what it did.

242
00:16:42.591 --> 00:16:46.035
It showed me a before state where the page didn't exist.

243
00:16:46.415 --> 00:16:47.236
It just, it didn't.

244
00:16:48.342 --> 00:16:50.583
And it shows me the after state, right?

245
00:16:50.924 --> 00:16:58.228
So for every feature that I'm building, every PR that I'm doing, I am getting a before state and after state.

246
00:16:58.468 --> 00:17:03.872
And the reason why this helps, this helps me like, I'll be honest, I'm not reading all my code nowadays.

247
00:17:04.372 --> 00:17:09.776
Like I might like, okay, did this, like, let's see, like, barely.

248
00:17:10.016 --> 00:17:11.817
It's a skim, it's a skim situation.

249
00:17:12.743 --> 00:17:15.364
I'll be honest, the skims have even become less and less now.

250
00:17:15.724 --> 00:17:25.967
But a lot of the things that I'm doing now is I'm working on the front end where I make sure that it's following my code structure skill and I make sure I'm getting before and after screenshots.

251
00:17:26.007 --> 00:17:26.147
Right.

252
00:17:26.447 --> 00:17:27.327
I can even pull up.

253
00:17:27.387 --> 00:17:30.368
Let me pull up another example.

254
00:17:30.388 --> 00:17:38.150
Here's a more prominent example where I was working on a specific computer feature where I wanted to give my agent a computer.

255
00:17:38.830 --> 00:17:39.970
And it just didn't work.

256
00:17:40.451 --> 00:17:40.611
Right.

257
00:17:40.631 --> 00:17:41.811
The first run didn't work.

258
00:17:42.691 --> 00:17:45.152
I didn't even have like my software factory set up.

259
00:17:45.172 --> 00:17:48.533
I was working on a different machine and it pushed the code and it didn't work.

260
00:17:48.913 --> 00:17:50.173
As you can see, nothing's going on.

261
00:17:50.714 --> 00:17:52.074
I told my agent it didn't work.

262
00:17:52.454 --> 00:17:53.955
Use the skills, use the factory.

263
00:17:54.735 --> 00:17:58.516
And this is the after screenshot with it actually using.

264
00:17:58.896 --> 00:17:59.496
The app, right?

265
00:17:59.536 --> 00:18:13.565
So these skills, the proof and the before and after force the agent to give me factual, like a before and after proof, whether it's a video or it's screenshots.

266
00:18:13.925 --> 00:18:24.631
And there are times where it'll do the before, but then it'll do the after and be like, oh, I just looked at the after screenshot or the after video and I didn't really finish the feature.

267
00:18:24.992 --> 00:18:26.012
So go back to what?

268
00:18:26.092 --> 00:18:26.973
It'll go back to build it.

269
00:18:27.553 --> 00:18:27.753
Right.

270
00:18:28.134 --> 00:18:29.596
This is the factory nature of it.

271
00:18:29.796 --> 00:18:30.858
I didn't have to tell it.

272
00:18:31.379 --> 00:18:33.662
Oh, yeah, you failed your before and after.

273
00:18:33.962 --> 00:18:34.643
Go finish.

274
00:18:35.324 --> 00:18:39.851
The skills are written in a way where the agent knows, OK, the before and after criteria hasn't been met.

275
00:18:40.151 --> 00:18:41.554
I have to go continue on building.

276
00:18:41.934 --> 00:18:42.134
Right.

277
00:18:42.455 --> 00:18:43.236
So this.

278
00:18:44.057 --> 00:18:47.479
gives me a visual representation of the work that's been done.

279
00:18:47.939 --> 00:18:55.144
It makes reviewing, especially if you're a non-technical person, it makes reviewing easier because, you know, I just look at some screenshots or a video, right?

280
00:18:55.224 --> 00:19:01.608
So in the building process, at some point, I'll have a PR where I get to see before and after.

281
00:19:01.868 --> 00:19:04.270
And even though I might not understand all this mumbo jumbo,

282
00:19:06.025 --> 00:19:11.588
It will show me visual proof that the work's been done.

283
00:19:11.848 --> 00:19:15.769
Now, I already hear somebody asking, what if the proof is not visual?

284
00:19:16.430 --> 00:19:19.071
And there's actually a PR.

285
00:19:19.091 --> 00:19:21.112
I'll show someone performance.

286
00:19:22.163 --> 00:19:24.046
I think it's this one.

287
00:19:24.746 --> 00:19:27.670
Okay, so I wanted to do another example here.

288
00:19:28.131 --> 00:19:33.237
I wanted to do a performance update, meaning for one of the apps I was building, the clicks weren't snappy enough.

289
00:19:33.277 --> 00:19:36.541
Like you can see now everything is snappy, it's loading fast.

290
00:19:36.802 --> 00:19:37.703
That wasn't the case.

291
00:19:38.404 --> 00:19:40.366
So I told the agent, fix it.

292
00:19:41.087 --> 00:19:41.507
And it did.

293
00:19:42.368 --> 00:19:44.469
And it did end up giving me screenshots.

294
00:19:44.489 --> 00:19:47.751
But let's say this was like something that it couldn't give me screenshots for.

295
00:19:48.251 --> 00:19:50.753
It will write tests and then it'll give me the results.

296
00:19:51.233 --> 00:19:55.575
In this case, it checked the speed at which the page was loading before.

297
00:19:56.196 --> 00:19:58.917
In this case, one of the pages, 850 milliseconds.

298
00:19:58.957 --> 00:20:00.959
This is a sin in web development.

299
00:20:00.979 --> 00:20:02.660
Like this cannot happen.

300
00:20:02.940 --> 00:20:05.541
And mind you, this was written by GPT 5.6 Sol, right?

301
00:20:06.182 --> 00:20:06.702
Great model.

302
00:20:07.442 --> 00:20:08.243
But it got it down to 60.

303
00:20:09.165 --> 00:20:09.506
817.

304
00:20:09.646 --> 00:20:10.026
61.

305
00:20:10.367 --> 00:20:17.898
So I have, again, actual proof by the agent that it's done what it said it did in the review process.

306
00:20:18.719 --> 00:20:19.500
I'll pause right there.

307
00:20:20.361 --> 00:20:21.903
Anything I've missed so far, Greg?

308
00:20:22.384 --> 00:20:23.846
So, you know...

309
00:20:24.679 --> 00:20:30.644
If you're trying to build a software factory, trust obviously is going to be a big part of that.

310
00:20:30.664 --> 00:20:41.474
And I think what you're saying is, hey, if you're going to have all these agents building features, building apps, we need to be able to trust the things that it's going to create.

311
00:20:41.875 --> 00:20:42.815
So what you're saying is,

312
00:20:43.956 --> 00:20:51.782
Here are a couple of skills that allow you as like the agent manager, where in this case, Mickey, you're like you are the agent manager, right?

313
00:20:51.802 --> 00:20:53.943
You're not you're you're not deep in the code anymore.

314
00:20:53.963 --> 00:20:56.265
You're kind of just looking at what's happening.

315
00:20:56.805 --> 00:20:58.186
And what's cool about

316
00:20:59.647 --> 00:21:09.054
the before and after visual stuff is, it's kind of good for millennials and Gen Z or people on Instagram stories or Snap stories, stuff like that.

317
00:21:09.134 --> 00:21:11.776
It's almost like you're just like clicking through story to story.

318
00:21:12.036 --> 00:21:12.896
Yes, yes, no.

319
00:21:13.397 --> 00:21:14.938
It's bite size.

320
00:21:15.750 --> 00:21:19.032
Basically, that's literally it right there, right?

321
00:21:19.392 --> 00:21:25.416
It's allowing me to build trust with the agent because... And what's funny is like you said earlier, and it kind of clicked in my head.

322
00:21:25.976 --> 00:21:29.398
This is what like normal organizations used to do with their engineers, right?

323
00:21:29.438 --> 00:21:35.982
It's like you build a feature, and then there was someone whose job, like a senior engineer, whose job was to review your work.

324
00:21:36.522 --> 00:21:44.147
And you would have this PR with this description, and it would show, okay, basically, this is the work that I've done, and this is the test that I've written, right?

325
00:21:44.167 --> 00:21:44.387
So...

326
00:21:44.747 --> 00:21:48.148
It's basically the same thing, except now we're doing it with machines.

327
00:21:48.688 --> 00:21:49.688
Like that's essentially it.

328
00:21:49.808 --> 00:21:55.989
And an example of the video, this is me using Kerser Cloud Agents.

329
00:21:56.590 --> 00:21:58.230
It says proof of improvement.

330
00:21:58.710 --> 00:22:03.291
And like this is a video of the agent at work using the app, right?

331
00:22:03.311 --> 00:22:11.573
So this allows me to your point, like Instagram, TikTok, I can watch this and see, all right, okay, the agent actually built this and it works.

332
00:22:12.313 --> 00:22:20.064
This makes it easy for me to not have to read code and I can just merge away and live my best life and go outside and touch grass.

333
00:22:21.350 --> 00:22:23.031
So there's that.

334
00:22:23.471 --> 00:22:27.474
Now we have one final step, which is the ship step.

335
00:22:27.854 --> 00:22:35.119
Now the ship step I mentioned before and after, but there's this skill called Grep Loop, which uses a third-party service named Greptile, which is a code review agent.

336
00:22:35.139 --> 00:22:44.625
Now you don't need to use a code review agent, but if you're really serious about building software and it's going to be used by users, I highly suggest using some code review agent.

337
00:22:44.865 --> 00:22:45.765
Greptile is my favorite.

338
00:22:46.026 --> 00:22:49.328
Code Rabbit, Macroscope, there's tons of good ones out there.

339
00:22:49.868 --> 00:22:53.812
But me using Greptile, they have this skill called GrepLoop.

340
00:22:54.413 --> 00:22:58.778
And basically what this does, and I think I'll show it with this PR.

341
00:22:59.559 --> 00:23:02.943
Greptile leaves these summaries and then it gives feedback.

342
00:23:02.983 --> 00:23:07.188
For example, this was the initial feedback it gave on the PR.

343
00:23:07.268 --> 00:23:07.428
Okay.

344
00:23:07.808 --> 00:23:11.690
There was some issue with, you know, pagination right here.

345
00:23:12.131 --> 00:23:13.612
Some menu space wasn't preserved.

346
00:23:13.932 --> 00:23:18.595
So it gave this feedback, meaning the agent that wrote the code missed these things.

347
00:23:18.915 --> 00:23:19.535
And that's fine.

348
00:23:19.815 --> 00:23:20.536
It happens, right?

349
00:23:20.736 --> 00:23:22.097
Even humans miss these things, right?

350
00:23:22.897 --> 00:23:26.940
But what happens is Greptile not only gives feedback, it gives a confidence score.

351
00:23:27.722 --> 00:23:35.733
Now, this is a five out of five because after the feedback was given, if you see my name and then this line over here, the feedback was addressed.

352
00:23:35.773 --> 00:23:37.055
My agent addressed the feedback.

353
00:23:37.636 --> 00:23:40.380
But before the feedback was addressed, this score was a three out of five.

354
00:23:41.549 --> 00:23:46.192
What that tells my agent is that there are things that it missed and it needs to look at it.

355
00:23:46.912 --> 00:23:50.314
What the grep loop skill does, and by the way, this happens automatically.

356
00:23:50.815 --> 00:23:52.316
Someone doesn't have to write grep loop.

357
00:23:52.836 --> 00:23:54.217
The agent will do it automatically.

358
00:23:54.677 --> 00:23:56.238
What it does is as follows.

359
00:23:56.258 --> 00:24:00.421
It says it opens the PR with the before and after proof embedded in the description.

360
00:24:01.141 --> 00:24:06.467
Whenever the change has a visible surface, measure numbers or output pairs, when it doesn't, it'll give you numbers, right?

361
00:24:06.507 --> 00:24:07.107
Or screenshot.

362
00:24:07.668 --> 00:24:08.629
And then look what the agent does.

363
00:24:08.749 --> 00:24:11.572
It runs grep loop or grep loop apps.

364
00:24:11.612 --> 00:24:12.893
The difference is grep loop apps.

365
00:24:12.993 --> 00:24:17.758
If your file changes like 10,000 lines plus, that skill activates it.

366
00:24:17.798 --> 00:24:19.960
You don't have to worry if the agent does it itself.

367
00:24:20.501 --> 00:24:21.241
But look what it does.

368
00:24:21.721 --> 00:24:27.963
It says Greptile reports five out of five until resolved comments finished by presenting PR URL.

369
00:24:28.263 --> 00:24:32.504
Basically, what this means is it will the agent will take the feedback it got.

370
00:24:33.285 --> 00:24:34.485
It will go back to build.

371
00:24:35.605 --> 00:24:36.345
So check this out.

372
00:24:36.705 --> 00:24:38.166
Let's say we're at the point.

373
00:24:38.406 --> 00:24:39.246
Let me write this down.

374
00:24:39.586 --> 00:24:42.507
We're at the point where I've built where I ship.

375
00:24:43.027 --> 00:24:43.227
Right.

376
00:24:43.587 --> 00:24:45.368
And it's now running GrepLoop.

377
00:24:46.242 --> 00:24:52.884
When I get a feedback score, a confidence score, and it's a three out of five, what now happens, remember we were talking about loops?

378
00:24:53.304 --> 00:24:54.604
This is actually a good loop.

379
00:24:54.964 --> 00:24:57.465
What happens is this goes back to building.

380
00:24:59.005 --> 00:25:00.826
Now, the agent goes back to step two.

381
00:25:01.126 --> 00:25:01.986
It starts to build.

382
00:25:02.206 --> 00:25:03.766
After it builds, what does it do?

383
00:25:03.906 --> 00:25:05.707
It proves, and then it shifts.

384
00:25:06.267 --> 00:25:07.107
And here's what happens.

385
00:25:07.307 --> 00:25:09.808
Automatically, the agent will wait for a new score.

386
00:25:09.828 --> 00:25:10.348
Okay.

387
00:25:10.802 --> 00:25:12.504
Greptile then gives us a four out of five.

388
00:25:13.045 --> 00:25:15.427
We caught some things, but there's one final thing we missed.

389
00:25:16.108 --> 00:25:17.910
Go back to building, right?

390
00:25:18.271 --> 00:25:21.094
It builds, it proves, and guess what it does, Greg?

391
00:25:21.394 --> 00:25:21.935
It ships.

392
00:25:22.455 --> 00:25:24.518
And now I have a five out of five.

393
00:25:25.723 --> 00:25:30.586
When I have a five out of five, what's left now is for me to merge.

394
00:25:30.606 --> 00:25:33.887
And I think maybe I have an open PR right here so I can show you what that looks like.

395
00:25:34.708 --> 00:25:37.669
What's left for me is to just click merge.

396
00:25:38.330 --> 00:25:46.634
When I click merge, what happens is, this is finally back in the main copy of the app, of the main version of the app.

397
00:25:47.274 --> 00:25:52.217
And I did this while working on 15 either simultaneous

398
00:25:52.677 --> 00:26:00.963
version, sorry, features, 15 different features with different agents, sub agents, all that type of stuff.

399
00:26:01.324 --> 00:26:08.729
What this allows, and this is the factory nature, it allows for an agent to have an isolated instance where it can work on its own.

400
00:26:09.250 --> 00:26:11.071
It has guidelines on how to build.

401
00:26:11.512 --> 00:26:14.094
It has a methodology to prove its work.

402
00:26:14.774 --> 00:26:18.958
And then it has an external service proving its work, checking its work.

403
00:26:19.258 --> 00:26:24.623
And if its work is not up to standard, it has to continue in a loop working until that standard is met.

404
00:26:25.063 --> 00:26:28.587
Once I get a five out of five, this is when I enter the picture.

405
00:26:29.354 --> 00:26:30.994
This is what a software factory is.

406
00:26:31.054 --> 00:26:32.255
Notice we didn't talk about model.

407
00:26:32.575 --> 00:26:33.595
We didn't talk about harness.

408
00:26:34.115 --> 00:26:38.056
It's all workflows, skills, and a little bit of domain knowledge, right?

409
00:26:38.136 --> 00:26:39.257
Not everybody works the same.

410
00:26:39.297 --> 00:26:40.157
This is how I work.

411
00:26:40.877 --> 00:26:44.298
But I found great results with this.

412
00:26:45.078 --> 00:26:46.218
I'll pause right here, Greg.

413
00:26:46.398 --> 00:26:51.620
Let me know what I need to further explain or add on.

414
00:26:52.460 --> 00:26:55.261
What's clicking in my head is just really this...

415
00:26:56.223 --> 00:26:59.590
physical factory analogy for a software factory.

416
00:27:00.211 --> 00:27:03.679
So just to like summarize, I'm going to tell you how I'm, I'm singing.

417
00:27:03.699 --> 00:27:04.741
I want, I want your thoughts.

418
00:27:04.761 --> 00:27:05.122
Um,

419
00:27:05.508 --> 00:27:17.276
So the isolate piece in the step one, that's like a factory taking a custom order and giving it its own station so it doesn't mess with the rest of production.

420
00:27:18.297 --> 00:27:21.579
So you called it a work tree in software.

421
00:27:21.599 --> 00:27:23.781
It's a branch, a work tree, an isolated environment.

422
00:27:23.821 --> 00:27:26.282
But that's the basic concept.

423
00:27:27.223 --> 00:27:29.365
Number two, build.

424
00:27:29.505 --> 00:27:31.106
Build is the assembly line.

425
00:27:31.646 --> 00:27:37.589
So the agent is actually cutting and welding and assembling and wiring the product.

426
00:27:38.770 --> 00:27:40.551
Obviously in software, you're not doing that.

427
00:27:40.571 --> 00:27:44.173
You're writing code, you're changing files, you're adding structure to things.

428
00:27:44.553 --> 00:27:48.235
You're actually creating something that's real in a software sense.

429
00:27:50.497 --> 00:27:56.341
step three is the proving step, which is basically a fancy way of saying quality control.

430
00:27:57.662 --> 00:27:58.502
Basically, right?

431
00:27:58.563 --> 00:28:02.165
Like before anything leaves the factory, someone has to test it.

432
00:28:02.185 --> 00:28:04.967
You're not just going to like create a product and not have people test it.

433
00:28:05.448 --> 00:28:07.329
Like, does it turn on?

434
00:28:07.369 --> 00:28:08.770
Does it, does it fit?

435
00:28:08.850 --> 00:28:10.171
Does it break under pressure?

436
00:28:10.191 --> 00:28:15.435
Like all the things I, you know, I'm, I'm picturing like a car factor or something like that in software.

437
00:28:15.455 --> 00:28:15.515
Um,

438
00:28:16.893 --> 00:28:25.282
You can run tests, you can preview it, you can do logs, and the screenshots you showed.

439
00:28:25.782 --> 00:28:28.325
And then lastly, the shipping piece.

440
00:28:29.586 --> 00:28:39.055
It's basically like once it passes quality control, it's going out the door, but there's going to be some things that you have to let go.

441
00:28:42.269 --> 00:28:43.629
you're going to have to merge it.

442
00:28:43.649 --> 00:28:44.990
You're going to have to deploy the PR.

443
00:28:45.010 --> 00:28:46.390
You're going to have to do release notes.

444
00:28:46.410 --> 00:28:55.332
You're going to have to, you know, give feedback back to the product team because maybe it doesn't pass quality control and then you have to like do that loop again, right?

445
00:28:55.352 --> 00:28:55.872
Exactly.

446
00:28:57.312 --> 00:29:04.894
I think I might actually rename everything you, like I've written to what you said because like now I'm realizing like, oh yeah, my names are terrible.

447
00:29:04.914 --> 00:29:06.574
What Greg says makes sense.

448
00:29:06.595 --> 00:29:08.375
That's exactly how this works.

449
00:29:09.283 --> 00:29:09.543
Cool.

450
00:29:09.583 --> 00:29:15.046
So basically what we're doing here is we're taking a factory and we're making a software factory.

451
00:29:15.286 --> 00:29:15.606
Basically.

452
00:29:15.786 --> 00:29:21.249
So, and this is why like I've seen it get not to knock people, startups and products and stuff like that.

453
00:29:21.529 --> 00:29:23.490
Like a software factory is not a product.

454
00:29:23.930 --> 00:29:25.551
It's not a special harness.

455
00:29:25.631 --> 00:29:28.392
It's not a like, oh, this company built a software.

456
00:29:28.412 --> 00:29:30.173
No, a software factory is literally...

457
00:29:30.513 --> 00:29:32.014
just a bunch of markdown files.

458
00:29:32.054 --> 00:29:41.718
And this is also another insane thing off topic, maybe a different video is some startups are now an agent with a couple of markdown files, right?

459
00:29:41.818 --> 00:29:43.138
We've really entered that time.

460
00:29:43.218 --> 00:29:45.760
So I hope this made sense for everyone.

461
00:29:45.780 --> 00:29:46.600
And this excites everyone.

462
00:29:46.620 --> 00:29:51.262
I'm very excited with the time we're in right now, because a lot of things are possible now.

463
00:29:52.283 --> 00:29:53.003
100%.

464
00:29:53.804 --> 00:29:56.065
This is insane that you're actually able to do this.

465
00:29:56.145 --> 00:30:02.587
It's cool that people like you are sharing this because I think it's worthwhile.

466
00:30:02.847 --> 00:30:08.629
I want to just do one quick note on Greploop or any code review software.

467
00:30:09.470 --> 00:30:20.294
I think if you're serious, no affiliation with Greploop or anything like that, but I think if you're serious about creating software, having some code review software

468
00:30:20.574 --> 00:30:43.994
software is pretty like I don't understand why you wouldn't use a grep loop a code rabbit one of these tools something right like it makes sense like because again if you have like you know we in business and then I know because a lot of business people are watching you know we take the service we provide and all that stuff seriously but it seems like with building software like we just don't care right and if you have people who

469
00:30:44.234 --> 00:30:51.179
who are going to use your app, like, I don't know, like, there's a level of like empathy I have for the user on the other side.

470
00:30:51.760 --> 00:31:02.467
And, you know, like a lot of these like startups, because they've raised bajillions of dollars, like they have a lot of free tiers, like, you know, you can cycle through free tiers and use a bunch of this stuff for free, right?

471
00:31:02.487 --> 00:31:08.612
So I highly encourage if you're building something that you're serious, you're passionate about, I would use a code review agent of any kind.

472
00:31:08.632 --> 00:31:08.752
Yeah.

473
00:31:09.172 --> 00:31:09.392
Cool.

474
00:31:09.993 --> 00:31:10.814
Thanks for coming on.

475
00:31:10.854 --> 00:31:11.895
Thanks for sharing the sauce.

476
00:31:12.055 --> 00:31:21.903
I'll include links for where to follow Mickey on the internet, on YouTube, all those places, his software that he's creating to go give him a follow.

477
00:31:22.584 --> 00:31:24.546
And dude, I'll see you next time.

478
00:31:24.746 --> 00:31:25.847
I appreciate you, Greg, as always.

479
00:31:25.867 --> 00:31:27.609
Thank you, everyone, for showing love and watching.

480
00:31:27.669 --> 00:31:28.890
And yeah, we'll see you in the next one.
