推荐微信扫码登录以获得更好的体验!另:🎉建议更新到最新版,以体验新功能!🎉 版本更新记录→

【AI编程】构建真正有效的软件工厂 · 四步法完整课程

3

剧集目录

标题时长
P1【AI编程】构建真正有效的软件工厂 · 四步法完整课程 中英31:29
P2【AI编程】构建真正有效的软件工厂 · 四步法完整课程 英文31:29
P3【AI编程】构建真正有效的软件工厂 · 四步法完整课程 无字31:29

P1 · 【AI编程】构建真正有效的软件工厂 · 四步法完整课程 p01 中英字幕 (P1)

字幕摘录

时间英文中文
0:00What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
0:03I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
0:08Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
0:15And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
0:21I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
0:26Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
0:34So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
0:40You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
0:44So enjoy the episode享受这集吧
0:45I can't wait to see what you build我迫不及待的想看你造什么
展开字幕全文(483 条)
序号英文中文
1What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
2I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
3Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
4And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
5I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
6Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
7So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
8You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
9So enjoy the episode享受这集吧
10I can't wait to see what you build我迫不及待的想看你造什么
11There's a reason why this concept is going viral and I'll see you at the end today's episode is brought to you by Brex有个原因,这个概念是病毒化的, 我会看到你在今天的结尾 剧集由Brex带来给你
12My company's been on Brex for a year and a half and I started because I kept hearing companies like Vercel open AI我的公司在Brex上已经一年半了 我开始是因为我一直听到公司的声音 像Vercel打开AI
13Anthropic were using Brex and I figured if they're using it why shouldn't die?Anthropic在使用Brex 我想如果他们在使用它 为什么不应该死?
14It's been a game changer.这已经是一个游戏的改变者。
15The thing that got me is how smooth it is.我得到的东西是 它是多么的光滑。
16It's got high-limit cards.有高限牌.
17It's got banking有银行业务
18It's got AI that handles the back office busy work like expense reports, which I don't want to do on its own它有AI,处理后 办公室繁忙的工作 像开支报告, 我不想自己做
19It's really just built for this agentic world if you're building something new它真的只是为这个代理世界建造 如果你正在建造新的东西
20It's time to get Brex check it out at brex.com solutions start-ups link in the description是时候让Brex在描述中的 brex.com 解决方案启动链接中检查出来
21Mickey welcome back to the pod by the end of this episode.米奇欢迎回到舱 本集结束。
22What are people gonna learn?人们会学到什么?
23We're gonna understand what this bizarre phrase software factory means.我们要明白这个奇怪的词 软件厂的意思。
24I'm actually gonna show you how I run mine我其实是要告诉你 我如何运行我的
25It's a lot easier than you think and it's definitely model and harness agnostic比你想象的要简单得多 而且绝对是模型和不可知论
26So you don't have to purchase some different product to have a software factory.所以你不需要购买一些不同的产品来拥有一个软件厂.
27It's gonna be fun and it's gonna be simple会很有趣的 很简单
28okay, so you're gonna explain what it is why it matters how it works how to think about it by the end of this people are好吧,所以你要去解释它是什么 它是什么重要 它如何工作 如何思考到这些人的结尾
29just gonna be able to只是会是能够
30Boot up their own software factory if they want or if they think you know what this Ross Mike guide如果他们想或者他们觉得你知道罗斯・麦克的指南
31I don't I don't like software factories.我不喜欢软件厂
32I don't like what he's saying they can pass我不喜欢他说他们能通过的东西
33100% 100%
34With the term software factory, there's been a lot of like startups who've started and you know随着软件厂这个术语, 有很多像初创企业 谁已经开始,你知道
35I'm not here to knock anyone's hustle我不是来敲别人的
36But a software factory is但是一个软件厂
37Completely harness and model agnostic meaning it doesn't matter what model you use完全使用和模型 不可知论的意思 它并不重要 你使用什么模型
38It doesn't matter what harness you use你用什么绳子不重要
39It should work right because a software factory is more about someone's workflow skills and domain knowledge and it's packed up in它应该是正确的,因为一个软件厂 更多关于某人的工作流程技能和域知识 并包装在
40Specific skills that they use in their development process now他们现在在发展进程中使用的具体技能
41I want everyone to think like the last after the ability probably went on codex Claude code curse or whatever it is我希望每个人都能像上次那样思考 可能是因为Claude的密码诅咒
42And you just typed right you said I want to build this and it built it out for you你刚刚打的对 你说我想建这个 它为你建造
43You saw it and you didn't like it and then you made some changes right and you saw the changes你看到它,你不喜欢它 然后你做了一些改变的权利,你看到了变化
44Maybe you liked it you deployed it to Vercellar to production and you're good to go or you keep kept on iterating或许你喜欢它,你部署它到Vercellar生产 你可以走了,或者你继续延展
45That's the process the whole point of a software factory is in each step of the development process软件厂在开发过程中的每一个步骤 都有一个过程
46How can I best maximize the models capability to get the greatest output right and also?我怎样才能最好地最大化模型能力 以获得最伟大的输出正确和同样?
47How can I move fast right because if we're using the term factory?我怎么能快速行动呢? 因为如果我们在用工厂这个词?
48There's some sort of structure and speed and conveyor belt nature that allows me to ship as quick as possible有某种结构 速度和传送带 允许我尽快运送
49without losing quality不失去质量
50That's the long bloated Michael Shamalis translate a definition of software factory.这就是长期膨胀的迈克尔·沙马利斯翻译软件厂的定义.
51I haven't lost anyone.我没有失去任何人。
52Hopefully Greg.希望是格雷格,你喜欢吗?
53That was perfect这是完美的
54Okay, so understood, but like why does that matter the reason why it matters is?好吧,所以理解, 但为什么它很重要的原因?
55Intelligence is continuing to increase we have amazing models like GPT 6 Astra a good software factory allows you情报在继续增加 我们有GPT 6 Astra等惊人的模型 一个好的软件厂允许你
56To systemize and use these models in a very efficient way以非常高效的方式系统化和使用这些模型
57Versus just typing in and continue to go back and forth and I think it's better.Versus只是打字 并继续回转 我觉得这样更好
58I just show you how mine works我只是告诉你我的功用
59To give people an idea now.给人们一个想法。
60I'll give my skills are available for free我会免费给自己的技能
61No charge nothing like that, but I don't want you to blindly copy me不要这样收费 但我不希望你盲目抄袭我
62I would like for you to think about it understand the process and then apply it yourself我想让你们考虑一下 了解这个过程 然后自己应用
63That being said I have这么说,我有
64About five or six files that make my software factory大约5到6个文件 使我的软件厂
65I have an agents dot MD file and for everyone who might not be aware with for age what an agents dot MD file is我有一个特工点MD文件, 对于每个可能不知道年龄的人来说 特工点MD文件是什么
66It's basically this one document this one markdown file.基本上就是这个文件 这个减记文件
67That's injected into the system prompt注射到系统上
68That's inject sorry not in the system prompt that's injected into the agent chat every time you communicate with an agent你每次和特工联络时 都会输入代理聊天的系统提示
69So every time I say hi if there's an agents dot MD file before the high is sent the agents dot MD file is set所以每次我问候,如果有 代理点MD文件之前的 高级被发送 代理点MD文件被设定
70And what's cool about this file is I can sort of dictate how I want the agent to act这个文件最酷的就是 我可以决定我要特工如何行动
71And we actually did a video not too long ago Greg where I talked about most people's agent dot MD file is useless事实上,我们做了一个视频 不久之前,格雷格 在那里我谈到 大多数人的代理点MD文件是无用的
72Because they were telling the agent empty file what the code looked like and already information因为他们告诉代理空文件 代码是什么样子和已经的信息
73That's in the code base that the agent can already know about but if you look at mine这在密码底部 特工已经知道了 但是如果你看看我
74There's a simple workflow and this workflow is something that's not native to the agent有个简单的工作流程 这个工作流程对特工来说不是本体的
75So it explains clearly how to do it and I'll walk you through every single step.所以,它清楚地解释了如何做到这一点, 我会走你的每一步。
76The first step is isolate第一步是隔离
77There's a skill called new feature and this is what it does.有一种技能叫做新特征 这就是它的作用。
78It says every new feature上面写着每个新特点
79Starts in a fresh get work tree branched from origin main so agents can work in parallel without conflicts开始从源头开始 工作树分支 这样代理商可以平行工作而无冲突
80Never built on me.从来没有建立在我身上。
81And if you know when Michael is on Greg's channel如果你知道迈克尔何时在格雷格频道
82There's always diagram.总是有图。
83So we're about to draw so with the first step when I'm working on a project and所以,我们即将画出这样的第一步 当我在做一个项目和
84I tell it to work on a feature我告诉它工作 一个特色
85the first thing it's going to do is isolate and what this basically means is you can think of首先它要做的是隔离 这基本上意味着你能想到
86Greg and Mike's app you can think of Greg's and Mike app like the journey being you know格雷格和迈克的应用 你可以想到格雷格和迈克的应用 就像旅程 你知道
87We started here.我们从这里开始的。
88We started prompting here and this is when we launched a production.我们开始在这里催促,这是当我们推出一个生产。
89We've got thousands of customers我们有成千上万的顾客
90The way most people work with their agents is at every single step of the journey they're building a feature大多数人的工作方式 与他们的代理 是在旅程的每一步 他们正在建立一个特色
91They're building a feature.他们正在打造一个特色。
92They're building a feature and it's it's a very linear process他们正在构建一个特征, 这是一个非常线性的过程
93right one feature at a time one feature at a time one feature at a time and右一个特性 一次一个特性 一次一个特性
94If you ever try to work part like like with on multiple features the same time.如果你曾经尝试像工作一样 在多个特征上 同时。
95Sometimes there's conflicts有时有冲突
96There's issues people have you know, oh my agent deleted this file that overwrote this file有问题 人们知道, 哦,我的经纪人删除了 这个文件,
97What this first step isolate does is the following I'm going to show via diagram第一步的隔离是 我要通过图表来显示
98So let's say Greg was like, I really don't like our landing page and I'm telling Greg, you know our因此,让我们假设格雷格喜欢, 我真的不喜欢我们的登陆页 我告诉格雷格,你知道我们的
99Our API calls can be faster when Greg works on this feature我们的API电话可以更快 当Greg工作在这个功能上
100What the agent does using my agents dot MD is it's going to create a new branch and you can think of a branch as特工使用我的特工点MD 会建立一个新的分支 你可以认为分支
101a copy paste of the exact moment where the app is应用程序的确切时间的复制粘贴
102So Greg is going to work on a new branch a new work tree of the app a work tree is basically a所以Greg要在一个新的分支上工作 一个应用的新工作树 一个工作树基本上是一个
103Copy of the app like you can think of someone copying a block of text复制应用程序,就像你能想到有人 复制一个块的文本
104Pacing it in a new document working on that document and at some point going to merge it back in the original document把它放在一份新文件中,处理该文件,并在某个时候将其重新合并到原始文件中
105So that's what Greg is doing.Greg就是这么做的
106He has a new document working on that feature他有一份新文件正在研究这个功能
107And guess what Mike has another feature has to work on so I can do it at the same time or I could do it a猜猜迈克有另一个功能 需要工作 所以我可以同时做到这一点 或者我可以做到这一点
108Different time I now have my own branch不同的时间,我现在有自己的分支
109Here's what's cool这是很酷的
110me and Greg and another person or you yourself with 50 different agents can work on multiple features and我和Greg 还有另一个人 或者你和50个不同的特工 可以研究多种特征
111There's not going to be an issue of one agent overstepping on another agents work不会有一个问题 一个特工越位 另一个特工的工作
112This happens a lot to people if you ever see tweets Greg of people saying man如果你看到Greg说男人的微博 这种事对人们来说很常见
113Like I was working on this and the agent deleted a bunch of stuff almost always好像我在忙这个 经纪人几乎总是删掉一堆东西
114Because people have their agents working on different features on the same branch and因为人们有他们的代理人 在同一个分支和
115The agent will do what you tell it to do探员会照你的话去做
116So you told it to update the landing page, but then you also told it to make the API calls faster所以,你告诉它更新登陆页, 但你也告诉它 使API呼叫更快
117And now it's noticing all these pages the way they're calling the API suck现在它注意到所有这些页 他们叫API烂
118Let me delete these and write these again, but then it was working on a design on that page.让我去删掉这些,再写一遍, 但后来它正在研究那页的设计。
119So issue start to arise所以问题开始出现
120Isolate allows me to work on multiple features at the same time孤立让我同时研究多个特性
121Parallelly without having an agent overstep on an agent.同时,没有代理人越位。
122This is the first step of my workflow这是我工作流程的第一步
123This isn't native to the agent.这对特工来说不是本地人
124So this makes sense to exist in因此,这是有道理的存在于
125the agents.md file and when代理 . md 文件及何时
126Greg is done or when I'm done and I'll explain like the workflow for thisGreg说完了 或者我说完了 我会解释的
127Just to close the loop when Mike's done all I do is麦克完成后,我就会关闭这个圈子
128Merge these changes back and then what Greg's done把这些变化合并起来 然后Greg做了什么
129He can either do it before me or he can do it after me他要么在我之前做 要么在我之后做
130But we're merging into the into the main但是,我们合并到主
131Document and there's not going to be conflicts because we worked on a copy at first文件和不会有冲突 因为我们刚开始就研究了一本
132So this allows me to ship fast with multiple agents if I show you and I can maybe show here if I show you my所以,这允许我与多个特工一起快船 如果我告诉你,我可以在这里,如果我告诉你我的
133terminal if you notice there's如果你注意到的话,结束
134Four tabs of bezel up three of them finished四块薄饼,三块
135But I literally have four different features on the same exact app one's working on an email client但我实际上有四个不同的功能 在同一个准确的应用 一个工作 在电子邮件客户端
136The other one is working on a computer environment a Linux environment另一个是Linux的电脑环境
137The other one is doing a landing page update so I can work on these confidently while still having isolation另一个正在更新登陆页 这样我就可以在保持隔离的同时 自信地研究这些
138It's not native to the agent this agents.md plus the new feature skill代理商不是本地人 这个代理商是Md 加上新的特技
139Allows me to do that.允许我这样做。
140I'll pause here any questions Greg so far.我会暂停任何问题 Greg到目前为止。
141Yeah, I mean it's是啊,我是说
142Like crystal clear.如结晶清净.
143I think it's the way I think about it is if you actually had a team of我想这就是我想的 如果你真的有一支队伍
144Engineers and you are trying to build an app you obviously wouldn't be工程师和你们想制造一个应用软件 显然你不会
145Building it all on main and having everyone just being pushing to main and stuff like that.把它全部建在主上, 让每个人只是推向主 之类的东西。
146That just doesn't make sense.这根本说不通
147I think我觉得
148You know, I'm non-technical你知道,我不是技术的
149And I think you have all of a sudden all these non-technical people starting to build apps and我认为你突然有这些非技术人士 开始制造应用软件
150They're running into this, you know, you you basically made mention you're kind of like oh, hey, man他们正遇到这个,你知道,你基本上 提到你有点像哦,嘿,男人
151Like sometimes it happens that agents overwrite stuff碞钩Τ 牡贝穦
152I mean the truth is 95% of the time if you're built it you're gonna have agents kind of mess up and我的意思是,真相是95%的时间 如果你建造它,你会有 特工那种混乱,
153Overwrite things so this is like to me this you know makes a lot of sense and it's sort of a bigger idea覆盖事物,这样对我来说, 这你知道很多道理, 这是一个更大的想法
154Which is how do you structure?你是如何构建的?
155Your you know the way you work with agents to be more like a team versus你知道你和特工们合作的方式 更像是团队对抗
156You know, yeah, no just more like a team.你知道,是的,不再像一个团队。
157Yeah, I mean and I mean it's a better name是啊,我的意思是,它是一个更好的名字
158Team is better than isolate.团队胜过孤立
159I might take the team, but that's我可能会带球队,但那是
160That's why I'm the marketer and you're the所以我是推销员 而你是
161engineer工程师
162But yeah, that's basically what it is, right?但是,是的,这基本上是它是什么,对不对?
163Isolate sounds like some sort of like whey protein that I'm隔离听起来像 某种杂草蛋白
164So if you guys check the link there will be a name update very soon所以,如果你们检查链接 很快会有名字更新
165But that's basically what this does it allows for me to have multiple agents working on different tasks all at the same time但基本上这能让我有多个特工 同时执行不同的任务
166Without overstepping each other right and there's also a cleanup process没有越位的权利 也有清理的过程
167I won't get into like once the branch like once the work is emerged in the work tree gets deleted all that type of stuff工作树上出现的时候 我就不会像树枝一样被删掉
168Happened so that's step number one number two is the actual building事情是这样的 第一步第二步是实际建筑
169And this I find has this was a skill that I shared originally way back我发现,这是 一种技能,我分享了最初的方式
170But now it's part of my workflow and I shared with everyone is code structure但现在这是我工作流程的一部分 我和大家分享的是代码结构
171We're going to talk about models soon我们马上就要谈模特了
172but one thing about但有一点
173The models is they are great at doing the work模特儿很擅长工作
174It just might not be done the best way right especially when writing code特别是写代码的时候 可能不是最好的方式
175There's for example fable is I would say one of the first models to really举例来说,有寓言,我会说 最早的模型之一 真的
176Write code that I would say huh like this is better than some of the best engineers写代码,我会说,嗯 这样比一些最好的工程师好
177I've seen right like fable runs writes really good code我见过像寓言一样的跑步 写得非常好
178But even Astro, which is workhorse most powerful model my favorite model some of the code quality decisions但即使是Astro,它是最强大的模型 我最喜欢的模型 一些代码质量决定
179It makes is and it's not that the models not capable它制造的,不是 模型不能
180The models is just getting it done and if it could get it done in the sloppy way模特儿只是把事情办好 如果能用草率的方式
181It'll get it done in the sloppy way what the code structure skill does it writes it in what's called a service layer?它会以草率的方式完成它 它的代码结构技巧 把它写在所谓的服务层?
182Architecture won't bore everyone, but basically it's written in a way where let's say you have you needed human intervention建筑不会让所有人厌烦 但基本上写的方式 可以说你需要人类的干预
183You hired a developer very easy for the developer to catch on or you yourself are a developer very easy for you to catch on你雇了一个开发商 很容易让开发商赶上 或者你自己是开发商 很容易让你赶上
184But even for your agents for them to come back to the code and read the code但即使你的特工 让他们回到密码 并读到密码
185They'll be like oh like yeah like it makes sense like I've had like I've had他们会像哦,是的,就像它有道理 我曾经有过一样
1865.6 soul write code and it works it does what it's supposed to do5.6 灵魂写代码,它能做它应该做的
187But then I'll have fable review the code and fable will be like this is disgusting like there's duplications但我会有寓言审查 代码和寓言会像这恶心 像有重复
188There's functions all over the place.到处都有功能.
189There's dead code right so just because it works doesn't mean it's written well this skill密码是死字的,不代表写得很好
190Gives the agent a guideline on how to write code so going back to this diagram again给代理人一个如何写代码的指引,这样又回到这个图表
191I'm working on a new feature right the first thing that happens is isolate the second thing that happens我在研究一个新的功能,第一件事就是隔离第二件事
192is and I'm gonna I hope people are seeing the我希望人们能看到
193Factory nature of it the second thing that happens is the building and in building we're using a skill called它的工厂性质 第二件事发生 建筑和建筑 我们使用一种技能叫做
194Code structure and basically in this process when I'm telling the agent Oh build me密码结构 基本上在这个过程中 当我告诉经纪人 吴建我
195This Andy page build me this feature for example安迪的这个页面给我建了这个功能 比如说
196I've been working on this app and the one feature that I wanted built is I wanted a skills like我一直在研究这个应用,我想要的其中一个特点 就是我想要一种技能
197Repository where I can have different agents of mine connect to this app and store the skills仓库,我可以有 不同的代理人 我的连接到这个应用程序 存储技能
198And I basically told the agent build me that and as it was writing the code it kept referencing the code structure我基本上告诉经纪人 建造我, 当它写代码时 它一直引用代码结构
199Skill so it started to write code in a way that me as a developer I can reviewSkill 这样它开始用一种方式 写代码,作为开发者我可以审查
200But you know God forbid I need to hire somebody to review the code但你知道上帝禁止我雇人审查密码
201It's not going to be the slop cannon where they're confused and they don't know what to do or they overcharge you不会是大炮 在那里他们困惑, 他们不知道该怎么办 或者他们多收你钱
202It's written in a way for a developer to understand and I find that if you use another agent that doesn't have context on your code base它写的方式 一个开发者 理解,我发现如果你使用 另一个代理 在你的代码基础没有上下文
203It will understand it very well.它会非常明白的。
204So first we所以,首先我们
205Isolate excuse the bad name隔绝的借口 坏名字
206Second we build right and all of these are done in an opinionated way that allow the agent to move第二,我们建立权利,所有这一切 都以一种有见解的方式 使代理移动
207Fast and to do the thing as best as possibly can be I think this makes sense, right?尽快做最好的事 我觉得这很合理,对吧?
208Yep, keep going.是的,继续走。
209So step number three is prove.第三步就证明了
210Here's the thing是这样的
211You know agents can't pinky promise, right?你知道特工们不能小题大做 对吧?
212So like if you push an agent enough, well GPT 6 Astra is所以,就像如果你推一个代理足够, 那么GPT 6 Astra是
213The reason why it's a big leap in model capability is like it like the heli like it is the least模型能力大跃进的原因 就像直升机一样是最小的
214hallucinating model which is fantastic有幻觉的模型,这太棒了
215but like that model aside most models you can kind of push to like但是,像那个模型 除了大多数模型 你可以推那种喜欢
216Lie or to believe something or it sometimes will straight-up be like, oh, I actually realize I didn't do this work for you撒谎或相信什么 否则有时候会直接说
217so one thing that I have the agent prove the agent do is to prove the work that it did and所以有一件事,我有经纪人 证明经纪人做的是 证明它所做的工作,
218This is probably my favorite skill.这也许是我最喜欢的技巧
219There's two skills involved in this这里面有两个技能
220evidence-driven testing and由证据驱动的测试和
221Basically what evidence-driven testing does if your machine has the capability to do it it will literally record the基本上由证据驱动的测试是做什么的 如果你的机器有能力做它会 字面上记录
222Before state meaning before the feature or let's say you're trying to fix a bug it will record the bug in action and在功能前的状态意义之前 或者说你想修补一个错误 它会记录这个错误
223What it will do after is after it's done fixing it will record a working version after right?之后会做什么 之后它完成 修复 它会记录一个工作版本 之后右?
224So this is what evidence-driven testing this it proves that the fix所以这是证据驱动的测试 这证明了固定
225Actually was made because you'll be surprised sometimes the agent will write the code and it'll think it work其实是因为你会惊讶 有时特工会写代码 它会认为它有用
226But it didn't test it or improve that it worked and it just told you to work但它没有测试或改进 它的工作,它只是告诉你工作
227So I need to make sure that the agent actually prove this work所以我得确保特工能证明这件事
228But let's say let's say your machine doesn't have the capability to do that但假设你的机器没有这个能力
229there's another skill called before and after and I can actually之前和之后还有另一种技能,我可以
230Let me pull up a PR to show this Greg because I think it is better show you than I tell you让我拉个公关来展示这个格雷格 因为我觉得这比告诉你好
231This is a PR my agent me.这是我经纪人的公关
232I didn't make this the agent make this这不是我制造的
233And I wanted it to create an admin email page and connect to an email service that I mean我希望它能创建一个管理电子邮件页面 并连接到一个电子邮件服务,我的意思是
234Look at what it did.观其所作.
235It showed me a before state or that page didn't exist它让我看到一个在状态之前 或者那页不存在
236It just it didn't and it shows me the after state, right?它只是它没有, 它显示我之后的状态,对不对?
237So for every feature that I'm building every PR that I'm doing因此,每个功能,我正在建立 我所做的每一个公关
238I am getting a before state and after state and the reason why this helps this helps me like I'll be honest我得到了一个前州和后州的原因 和为什么这样做 帮助我像我会诚实。
239I'm not reading all my code nowadays.我现在不读所有的代码。
240Like I might like okay did this like let's see就像我也许喜欢这样,让我们看看
241Barely, it's a skim.勉强,是滑行.
242It's a skim situation这是个滑稽的情况
243I'll be honest the skims have even become less and less now老实说,现在的滑板越来越少了
244But 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但我现在做的很多事情是 我在前端工作 在那里我保证它遵循
245My code structure skill and I make sure I'm getting before and after screenshots, right?我的密码结构技巧,我确保 我得到前后截图,对不对?
246I can even pull up.我甚至可以拉起来。
247Let me pull up another让我再拉一拉
248Example here's a more prominent example where I was working on a specific举个例子,我正在研究
249Computer feature where I wanted to give my agent a computer and it just didn't work right the first run didn't work电脑功能,我想给我的经纪人一台电脑 它只是没有工作的权利 第一次运行没有工作
250I didn't even have like my software factory set up我甚至连软件厂的设置都没有
251I was working on a different machine and it pushed the code and it didn't work as you can see nothing's going on我研究了另一台机器 它推开了代码 它没有工作,因为你可以看到什么都没有发生
252I told my agent it didn't work use the skills use the factory and我告诉我的经纪人 它没有工作 用技术用工厂和
253This is the after screenshot with it actually using the app, right?这是之后的截图 与它实际上使用应用,对不对?
254So these skills the prove and the before and after因此,这些技能 证明和前后
255Force the agent to give me强迫特工给我
256Factual like a before and after proof whether it's a video or it's事实就像前后 证明是视频还是视频
257Screenshots and there are times where it'll do the before but then it'll do the after and it'll be like截图和有时它会做之前, 但之后它会做之后,它会像
258I just looked at the after screenshot or the after video and I didn't really finish the feature我只是看了之后的截图 或之后的视频 我并没有真正完成这个功能
259So go back to what they'll go back to build it, right?回到他们要重建的地方去 对吧?
260This is the factory nature of it这就是工厂的性质
261I didn't have to tell it.我不必说
262Oh, but yeah, you failed your before and after go finish哦,但是,是的,你失败了 你的前后去完成
263The the skills are in in a way where the agent knows okay the before and after criteria hasn't been met技术在一种方式 代理知道好的 前后标准没有达到
264I have to go continue on building, right?我必须继续建设,对不对?
265So this所以这个
266Gives me a visual让我看到了
267Representation of the work that's been done.代表已完成的工作.
268It makes reviewing especially if you're a non-technical person特别是如果你是非技术人员的话
269It makes reviewing easier because you know, I just look at some screenshots or a video, right?它使审查更容易 因为,你知道,我只是 看一些截图或视频,对不对?
270So in the building process at some point所以在建设过程中
271I'll have a PR where I get to see before and after and even though I might not understand all this mumbo-jumbo我会有一个公关 在那里我可以看到前后 虽然我可能不明白 这一切的废话 -jumbo
272It it will it will explain it will show me visual它会解释它会给我看
273Proof that the work's been done now.证明工作已经完成了
274I already hear somebody asking what if the proof is not visual and there's actually我已经听到有人问 如果证据不是直观的 而且实际上有
275a PR I'll show someone公关,我给别人看
276performance I业绩一
277Think it's this one.以为这个.
278Okay, so I wanted to do another example here好,我想再举个例子
279I wanted to do a performance update meaning for one of the apps I was building the clicks weren't snappy enough我想做一个表演更新 意思是我正在制作的应用程序之一 点击不够快
280Like you can see now everything is snappy.就像你现在可以看到的一切是短暂的。
281It's loaded fast.满载迅速.
282That wasn't the case不是那样的
283So I told the agent fix it and it did and所以我告诉经纪人修好了它,它做到了
284It did end up giving me screenshots结果还是给我截图
285But let's say there this was like something that it couldn't give me screenshots for it will write test and then it'll give me但是,让我们假设,这是像的东西 它不能给我的截图,因为它会写测试 然后它会给我
286The results in this case it checked the speed at which the page is loading before in this case这个案子的结果,它检查了这个案子之前加载页面的速度
287One of the pages 815 milliseconds.1页815毫秒.
288This is a sin in web development这是网络开发的罪过
289Like this cannot happen and mind you this was written by GPT 5.6 soul, right?像这不可能发生 并提醒你 这是GPT 5.6灵魂写的,对不对?
290Great model, but he got it down to 60不错的模特儿,不过他已经降到60岁了
291817 61 so I have again actual proof by the agent that it's done what it said it did in the review process81761,所以我再次有 代理的实际证明 它已经做了它所说的 在复审过程中
292I'll pause right there我在这里暂停一下
293Anything I've missed so far Gregor does it so, you know我错过了Gregor的任何东西
294if you're trying to build a如果你试图建立一个
295Software factory trust obviously is gonna be a big part of that软件厂的信任显然会成为其中的一大部分
296And I think what you're saying is hey, we're if you know我想你说的是 嘿,我们是,如果你知道
297If you're gonna have all these agents, you know building features building apps如果你要拥有所有这些特工, 你知道建筑特性 构建应用程序
298We need to be able to trust the things that it's going to create.我们需要能够相信它将要创造的东西.
299So what you're saying is这么说吧
300Here are a couple skills that allow you as like the agent manager where in this case这里有几种技能,可以让你像代理经理一样 在这个情况下
301Mickey you're like you are the agent manager, right?米奇,你就像你是经纪人,对不对?
302You're not you're you're not deep in the code anymore你不是你 你不再深入密码
303you're kind of just looking at what's happening and你只是看看发生了什么
304what's cool about怎么样?
305The before-and-after visual stuff is it's kind of good for him之前和之后的视觉 对他有好处
306You know Millennials and Gen Z or people on you know Instagram stories or snap stories stuff like that你知道千年 和Gen Z 或人们 你知道Instagram的故事 或快速的故事之类的东西
307It's almost like you're just like clicking through story to story.这几乎就像你只是 点击的故事到故事。
308Yes.
309No, like it's it's it's bite-size不,就像它是咬的大小一样
310Basically, that's literally it right there, right?基本上,这是 字面上就在那里,对不对?
311It's it's allowing me to build trust with the agent because and what's funny is like you said earlier that kind of clicked in它允许我和经纪人建立信任 因为有趣的是 就像你刚才说的 那种点击
312This is what like normal organizations used to do with their engineers, right?这就像正常的组织 曾经与他们的工程师,对不对?
313it's like you build a feature and then there was someone whose job like a senior engineer whose job was to review your work and就像你造了个特色 然后有人像高级工程师一样 来审查你的工作
314You would have this PR with this description and it would show okay你会有这个公关 与这个描述, 它会显示好的
315Basically, this is the work that I've done and this is the test that I've written, right?基本上,这是我做过的工作, 这是我写的测试,对不对?
316So it's basically the same thing except now we're doing it with machines like that's essentially it and an example of the video所以,它基本上是一样的 除了现在,我们正在做 它与机器 这样基本上它和视频的例子
317This is a this is me using Kershaw Cloud Agents这是我用克肖云特工
318It says proof of improvement and like this is a video of the agent at work using the app, right?上面写着改进的证明 像这样的 工作代理使用应用程序的视频,对不对?
319So this allows me to your point like Instagram tick-tock.所以,这允许我讲你的观点 像Instagram勾当。
320I can watch this and see all right我可以看这个,看看一切
321Okay, the agent actually built this and it works好吧,代理 实际建造了这个,它的工作
322This makes it easy for me to not have to read code and I can just merge away and live my best life这让我很容易不用读代码 我就可以融为一体 过上最好的生活
323and go outside and touch grass出来摸摸草
324So there's that now we have现在我们有了
325One final step which is the ship step now the ship step I mentioned before and after最后一个步骤,就是现在的船步,就是我在前后提到的船步
326But there's this skill called grep loop which uses a third-party service named grep tile但有一种叫做grep循环的技巧 使用第三方服务 叫做grep砖
327Which is a code review agent now, you don't need to use a code review agent你不需要用代码审查代理
328But if you're really serious about building software and it's going to be used by users但如果你真的想造软件 用户会用它
329I highly suggest using some code review agent grep tiles my favorite code code rabbit我强烈建议使用一些代码审查代理grep瓷砖 我最喜欢的代码兔子
330Microscope there's tons of good ones out there显微镜里有很多好东西
331But me using grep tile they have this skill called grep loop and basically what this does但我使用grep瓦 他们有这种技能 叫做grep环 基本上它的作用
332And I think i'll show it with this pr我想我会展示它与这个PR
333Grep tile leaves these summaries and then it gives feedback.Grep瓷砖留下这些摘要,然后给出反馈.
334For example, this was the initial feedback it gave例如,这是它最初提供的反馈
335On the pr there was some issue with you know pagination right here.试镜上有些问题 你知道这里的帕吉纳
336Some menu space wasn't preserved一些菜单空间没有保留
337So it gave this feedback meaning the agent that wrote the code missed these things and that's fine所以它给出了这个反馈,意味着 写代码的特工错过了这些东西,这很好
338It happens right even humans miss these things, right?它发生的权利,甚至人类 错过这些事情,对不对?
339But what happens is grep tile not only gives feedback.但发生的事情是grep瓷砖 不仅提供反馈。
340It gives a confidence score给人信心分数
341Now this is a five out of five because after the feedback was given这是五分之五 因为反馈后
342If you see my name and then this line over here the feedback was addressed my agent addressed the feedback如果你看到我的名字,然后这行 这里的反馈是给的 我的经纪人给的反馈
343But before the feedback was addressed this score was a three out of five但是在反馈被处理之前 这个分数是五分之三
344What that tells my agent is that there are things that it missed and it needs to look at it这告诉我的经纪人,有些东西 它错过了,它需要看它
345What the grep loop skill does and by the way, this happens automatically someone doesn't have to write grep loop顺便说一句,Grep循环技术的功用是自动发生的,有人不用写Grep循环
346The agent will do it automatically what it does is as follows特工会自动执行以下任务
347It says it opens the pr with the before and after proof embedded in the description上面写着它打开了pr 上面写着在描述中的前后证据
348Whenever the change has a visible surface measure numbers or output pairs when it doesn't it'll give you numbers right or screenshot当变化有可见的表面测量数字或输出对时,它不会给你正确的数字或截图
349And then look what the agent does it runs grep loop or grep grep loop apps然后看看代理运行的grep循环或grep循环应用
350The difference is grep loop apps if your file change is like 10 000 lines plus不同之处在于 grep 循环应用程序, 如果您的文件更改像 10,000 行加
351That skill activates it.这技巧能激活它
352You don't have to worry if the agent does it itself, but look what it does.你不必担心 经纪人自己做,但看看它做什么。
353It says上面写着
354Grep tile reports five out of five until resolved comments finished by presenting pr urlGrep 砖块报告五分之五,直到通过提交 pr url 完成已解决的评论
355Basically, what this means is it will the agent will take the feedback it got基本上,这意味着 经纪人会接受反馈
356It will go back to build它会继续建造
357So check this out.看看这个
358Let's say we're at the point.说如是等正觉.
359Let me write this down.让我写下来。
360We're at the point.我们到了
361We're at built we're我们在建楼
362Shipped right and it's now running grep loop右转,它现在运行Grep循环
363When I get a feedback score a confidence score and it's three out of five当我得到反馈 得到一个信心得分, 这是三五
364What now happens remember we were talking about loops.现在发生的事情 记得我们在谈论循环。
365This is actually a good loop.这实际上是一个很好的循环。
366What happens is this goes back to building事情是这样的,这回是建筑
367Now the agent goes back to step two it starts to build after it builds what it does现在特工回到第二步 开始建造它的工作
368Does it do it proves and then it ships and here's what happens automatically the agent will wait for a new score这是否证明了,然后它就上船了 接下来是 代理商会自动等待新的分数
369Grep tile then gives us a four out of five.Grep瓷砖再给我们五分之四
370We caught some things but there's one final thing we missed我们抓到一些东西,但还有一件事我们错过了
371Go back to building回到楼里去
372Right.
373It builds it proves and guess what it does greg it ships and now I have a five out of five它建造它 证明并猜它在做什么 船,现在我有一个五分之一
374When I have a five out of five当我有五分之一的时候
375What's left now is for me to merge and I think maybe I have an open pr right here现在剩下的是让我合并 我想也许我有一个公开的PR就在这里
376So I can show you what that looks like这样我才能让你看到它的样子
377What's left for me?还剩什么给我?
378Is to just click merge就是点击合并
379when I click merge what happens is当我点击合并 会发生什么
380This is finally back in the main copy of the app of the main version of the app终于回到了应用程序主版的主版
381And I did this while working on 15 either我在15号工作时也这么做了
382simultaneous version同时版本
383Sorry对不起
384Features 15 different features特征 15种不同特征
385With different agents sub agents all that type of stuff what this allows and this is the factory nature有不同的代理子代理 所有这类的东西 这是工厂性质
386It allows for an agent to have an isolated instance where it can work on its own它允许一个特工拥有一个孤立的例子,可以自己工作
387It has guidelines on how to build it has a methodology to prove its work它有如何建设的准则,有方法证明它的工作
388And then it has an external service proving its work checking its work然后它有一个外部服务 证明它的工作 检查它的工作
389And if its work is not up to standard it has to continue in a loop working until that standard is met如果它的工作达不到标准... ...它必须连续工作直到达到标准
390Once I get a five out of five, this is when I enter the picture一旦我得到五分之一, 当我进入图片
391This is what a software factory is notice.这是软件厂的注意。
392We didn't talk about model.我们没谈模特儿
393We didn't talk about harness我们没说带子
394It's all workflows skills and a little bit of domain knowledge, right?这是所有的工作流程技巧 和一点点的域知识,对不对?
395Not everybody works the same.不是每个人都一样
396This is how I work这就是我的工作方式
397But I found great results但我找到了伟大的结果
398with this用这个
399I'll pause right here greg.我在这里暂停一下
400Let me know what I need to further explain or告诉我我需要什么 进一步解释或
401or add on或添加在
402I i'm like what's clicking in my head is just really this我觉得我脑海中点的就是这个
403physical factory analogy for a software factory软件厂的物理工厂类比
404So just to like summarize i'm going to tell you how i'm i'm seeing it.所以,只是喜欢总结 我要告诉你 我是如何看到它。
405I want I want your thoughts我要你们的想法
406So like the isolate piece and the step one所以像孤立的棋子和第一步
407Um, that's like a factory taking a custom order and you know giving it its own station嗯,这就像一个工厂 采取定制订单 你知道它自己的车站
408So it doesn't mess with the rest of production所以它不会和生产的其他部分搞乱
409Right, so you you you know, you called it a work tree, you know in software对,所以你知道,你称之为工作树, 在软件上
410It's a branch a work tree an isolated environment, but you know, that's the basic concept.这是一个分支 一个工作树 一个孤立的环境, 但你知道,这是基本的概念。
411Yes number two是,二号
412Build right build is the assembly line建造正确的建筑是组装线
413So the agent is actually like cutting and welding and assembling and wiring the product所以这个药剂就像切开、焊接、组装、接线
414Um, obviously in software, you're not doing that.嗯,很明显在软件里, 你没有这样做。
415You're writing code.你在写密码
416You're changing files你在改变文件
417You're adding structure to things you're you're actually creating something that's real in a software in a software sense你正在把结构加进你正在创造的东西 在软件意义上是真实的
418Step three is步骤三是
419The proving step which is basically a fancy way of saying quality control证明步骤 基本上是一种美妙的方式 说质量控制
420So basically right like before anything leaves the factory someone has to test it所以基本上就跟出厂前一样 得有人去测试一下
421You're not just going to like create a product and not have people test it like does it你不只是喜欢创造一种产品 也不要让别人去测试它
422Turn on does it does it fit does it break under pressure like all the things I you know打开它合适吗? 它在压力下破解 就像我所知道的一切
423I'm picturing like a car factor or something like that in software我想象的像汽车因素 或类似的东西 在软件
424you know, you can run tests like你知道,你可以运行测试像
425Well, you can run tests you can preview it you can do logs you and you know the screenshots you showed and then lastly你可以运行测试 你可以预览 你可以做日志 你知道你显示的截图 然后最后
426the shipping piece运输块
427Um, it's basically like once it passes quality control, you know, it's going out the door嗯,它基本上就像一旦它通过质量控制, 你知道,它走出去的门
428But there's going to be some things that you have to like let you know但有些事情你必须知道
429uh
430You're gonna have to merge it.你得把它合并起来
431You're gonna have to deploy the pr you're gonna have to do release notes你必须部署PR 你必须做发布通知
432You're gonna have to you know你必须要知道
433Give feedback back to the product team because maybe it doesn't pass quality control and then you have to like do that loop again把反馈反馈给产品组 因为也许它不会通过质量控制 然后你必须再次喜欢做这个循环
434Right exactly没错
435I think I might actually rename everything you like i've written to what you said because like now i'm realizing like oh我想我可能真的 重命名你喜欢的一切 我已经写到你说的话 因为像现在一样 我意识到像哦
436Yeah, my names are terrible that it says make sense.是啊,我的名字是可怕的 它说有道理。
437That's exactly how this works就是这样的
438Cool, so basically what we're doing here is we're taking a factory酷,所以基本上我们在这里做的是 我们要去一个工厂
439And we're making a software factory basically我们基本上正在制造一个软件厂
440So and this is why like i've seen again not to knock people startups and products and stuff like that所以,这就是为什么我再次看到 不再敲人 创业和产品之类的东西
441Like a software factory is not a product.像一个软件厂不是产品。
442It's not a special harness这不是特别的绳子
443It's not a like oh this company built a software.这可不是公司造的软件
444No a software factory is literally just a bunch of markdown files没有软件厂只是一堆减记文件
445And this is also another insane thing off topic.这也是另一个疯狂的话题。
446Maybe a different video is也许另一个视频是
447Some startups are now现在有些初创者
448An agent with a couple markdown files, right?一个特工有几份降级文件,对吧?
449We've really entered that time我们真的进入了那个时代
450So I hope this made sense for everyone and this excites everyone所以我希望这对每个人都有道理 这让每个人都兴奋
451I'm very excited with the time we're in right now because a lot of things are possible now我对我们现在的时间感到很兴奋 因为现在有很多事情是可能的
452100 I mean, no, this is this is insane that you're actually able to do this.100,我的意思是,不, 这是疯狂的,你实际上能够做到这一点。
453It's cool that you这很酷,你
454people like you are like像你这样的人
455Sharing this because I think it's it's worthwhile.分享这个,因为我觉得这是值得的。
456I want to just do one quick note on我想说一句
457Um grep loop or any code review software, you know, I think if you're serious, you know嗯,grep循环 或任何代码审查软件, 你知道,我认为 如果你是认真的,你知道
458No affiliation with grep loop, um or anything like that没有与grep循环,嗯或类似的东西
459But I think if you're serious about creating software having you know some code review但我想如果你真的想 创建一些软件... ...你知道一些代码审查
460software is软件是
461Pretty like I I don't understand why you wouldn't use a grep loop a code rabbit one of these tools something right like it means我好像不明白你为什么不用密码兔子 来做这种工具
462like because again if you have like, you know就像再次,如果你有这样的,你知道的
463We in in business and then I know because a lot of business people are watching我们做生意,然后我知道 因为很多商人在看
464You know你知道吗
465We take the service we provide and all that stuff seriously我们认真对待我们提供的服务和所有的东西
466But it seems like with building software like we just don't care right and if you have people但是,它似乎像 建设软件 像我们只是不关心的权利 如果你有的人
467Who are going to use your app?谁要用你的应用程序?
468Like I don't know like there's a level of like empathy I have for the user on the other side我对另一边的用户有同情心
469And you know like a lot of these like startups because they've raised the jillions of dollars你知道很多像初创企业一样的 因为他们筹集了巨款
470Like they have a lot of free tiers like you know就像他们有很多免费的等级,你知道的
471You can cycle through free tiers and use a bunch of this stuff for free, right?你可以通过免费的阶梯循环 免费使用这些东西,对不对?
472So I highly encourage if you're building something that you're serious you're passionate about.所以,我非常鼓励你 建造的东西,你是认真的 你热心。
473I would use a code review agent of any kind我会用任何密码审查代理
474Yeah, cool.是啊,凉爽。
475Thanks for coming on.谢谢你能来
476Thanks for sharing the sauce.感谢分享酱汁。
477I'll include links for where to follow我将包含链接 用于跟踪
478Mickey on the internet on youtube all those places his his software that he's creating toMickey在YouTube的互联网上 将他的软件放在他制作的
479Go give him a follow and uh, dude.去跟踪他,嗯,伙计。
480I'll see you next time.下次见
481I appreciate you very much非常感谢你
482Thank you for showing love and watching and yeah, we'll see you in the next one谢谢你表现的爱和观看 是的,我们会看到你在下一个
483Thank you everyone for showing love and watching and yeah, we'll see you in the next one感谢大家的爱和观看 是的,我们会看到你在下一个
该视频共有字幕 484 条。解锁更多字幕为会员功能,请移动到 价格

P2 · 【AI编程】构建真正有效的软件工厂 · 四步法完整课程 p02 英文字幕 (P2)

字幕摘录

时间英文中文
0:00What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
0:03I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
0:08Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
0:15And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
0:21I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
0:26Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
0:34So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
0:40You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
0:44So enjoy the episode享受这集吧
0:45I can't wait to see what you build我迫不及待的想看你造什么
展开字幕全文(483 条)
序号英文中文
1What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
2I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
3Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
4And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
5I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
6Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
7So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
8You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
9So enjoy the episode享受这集吧
10I can't wait to see what you build我迫不及待的想看你造什么
11There's a reason why this concept is going viral and I'll see you at the end today's episode is brought to you by Brex有个原因,这个概念是病毒化的, 我会看到你在今天的结尾 剧集由Brex带来给你
12My company's been on Brex for a year and a half and I started because I kept hearing companies like Vercel open AI我的公司在Brex上已经一年半了 我开始是因为我一直听到公司的声音 像Vercel打开AI
13Anthropic were using Brex and I figured if they're using it why shouldn't die?Anthropic在使用Brex 我想如果他们在使用它 为什么不应该死?
14It's been a game changer.这已经是一个游戏的改变者。
15The thing that got me is how smooth it is.我得到的东西是 它是多么的光滑。
16It's got high-limit cards.有高限牌.
17It's got banking有银行业务
18It's got AI that handles the back office busy work like expense reports, which I don't want to do on its own它有AI,处理后 办公室繁忙的工作 像开支报告, 我不想自己做
19It's really just built for this agentic world if you're building something new它真的只是为这个代理世界建造 如果你正在建造新的东西
20It's time to get Brex check it out at brex.com solutions start-ups link in the description是时候让Brex在描述中的 brex.com 解决方案启动链接中检查出来
21Mickey welcome back to the pod by the end of this episode.米奇欢迎回到舱 本集结束。
22What are people gonna learn?人们会学到什么?
23We're gonna understand what this bizarre phrase software factory means.我们要明白这个奇怪的词 软件厂的意思。
24I'm actually gonna show you how I run mine我其实是要告诉你 我如何运行我的
25It's a lot easier than you think and it's definitely model and harness agnostic比你想象的要简单得多 而且绝对是模型和不可知论
26So you don't have to purchase some different product to have a software factory.所以你不需要购买一些不同的产品来拥有一个软件厂.
27It's gonna be fun and it's gonna be simple会很有趣的 很简单
28okay, so you're gonna explain what it is why it matters how it works how to think about it by the end of this people are好吧,所以你要去解释它是什么 它是什么重要 它如何工作 如何思考到这些人的结尾
29just gonna be able to只是会是能够
30Boot up their own software factory if they want or if they think you know what this Ross Mike guide如果他们想或者他们觉得你知道罗斯・麦克的指南
31I don't I don't like software factories.我不喜欢软件厂
32I don't like what he's saying they can pass我不喜欢他说他们能通过的东西
33100% 100%
34With the term software factory, there's been a lot of like startups who've started and you know随着软件厂这个术语, 有很多像初创企业 谁已经开始,你知道
35I'm not here to knock anyone's hustle我不是来敲别人的
36But a software factory is但是一个软件厂
37Completely harness and model agnostic meaning it doesn't matter what model you use完全使用和模型 不可知论的意思 它并不重要 你使用什么模型
38It doesn't matter what harness you use你用什么绳子不重要
39It should work right because a software factory is more about someone's workflow skills and domain knowledge and it's packed up in它应该是正确的,因为一个软件厂 更多关于某人的工作流程技能和域知识 并包装在
40Specific skills that they use in their development process now他们现在在发展进程中使用的具体技能
41I want everyone to think like the last after the ability probably went on codex Claude code curse or whatever it is我希望每个人都能像上次那样思考 可能是因为Claude的密码诅咒
42And you just typed right you said I want to build this and it built it out for you你刚刚打的对 你说我想建这个 它为你建造
43You saw it and you didn't like it and then you made some changes right and you saw the changes你看到它,你不喜欢它 然后你做了一些改变的权利,你看到了变化
44Maybe you liked it you deployed it to Vercellar to production and you're good to go or you keep kept on iterating或许你喜欢它,你部署它到Vercellar生产 你可以走了,或者你继续延展
45That's the process the whole point of a software factory is in each step of the development process软件厂在开发过程中的每一个步骤 都有一个过程
46How can I best maximize the models capability to get the greatest output right and also?我怎样才能最好地最大化模型能力 以获得最伟大的输出正确和同样?
47How can I move fast right because if we're using the term factory?我怎么能快速行动呢? 因为如果我们在用工厂这个词?
48There's some sort of structure and speed and conveyor belt nature that allows me to ship as quick as possible有某种结构 速度和传送带 允许我尽快运送
49without losing quality不失去质量
50That's the long bloated Michael Shamalis translate a definition of software factory.这就是长期膨胀的迈克尔·沙马利斯翻译软件厂的定义.
51I haven't lost anyone.我没有失去任何人。
52Hopefully Greg.希望是格雷格,你喜欢吗?
53That was perfect这是完美的
54Okay, so understood, but like why does that matter the reason why it matters is?好吧,所以理解, 但为什么它很重要的原因?
55Intelligence is continuing to increase we have amazing models like GPT 6 Astra a good software factory allows you情报在继续增加 我们有GPT 6 Astra等惊人的模型 一个好的软件厂允许你
56To systemize and use these models in a very efficient way以非常高效的方式系统化和使用这些模型
57Versus just typing in and continue to go back and forth and I think it's better.Versus只是打字 并继续回转 我觉得这样更好
58I just show you how mine works我只是告诉你我的功用
59To give people an idea now.给人们一个想法。
60I'll give my skills are available for free我会免费给自己的技能
61No charge nothing like that, but I don't want you to blindly copy me不要这样收费 但我不希望你盲目抄袭我
62I would like for you to think about it understand the process and then apply it yourself我想让你们考虑一下 了解这个过程 然后自己应用
63That being said I have这么说,我有
64About five or six files that make my software factory大约5到6个文件 使我的软件厂
65I have an agents dot MD file and for everyone who might not be aware with for age what an agents dot MD file is我有一个特工点MD文件, 对于每个可能不知道年龄的人来说 特工点MD文件是什么
66It's basically this one document this one markdown file.基本上就是这个文件 这个减记文件
67That's injected into the system prompt注射到系统上
68That's inject sorry not in the system prompt that's injected into the agent chat every time you communicate with an agent你每次和特工联络时 都会输入代理聊天的系统提示
69So every time I say hi if there's an agents dot MD file before the high is sent the agents dot MD file is set所以每次我问候,如果有 代理点MD文件之前的 高级被发送 代理点MD文件被设定
70And what's cool about this file is I can sort of dictate how I want the agent to act这个文件最酷的就是 我可以决定我要特工如何行动
71And we actually did a video not too long ago Greg where I talked about most people's agent dot MD file is useless事实上,我们做了一个视频 不久之前,格雷格 在那里我谈到 大多数人的代理点MD文件是无用的
72Because they were telling the agent empty file what the code looked like and already information因为他们告诉代理空文件 代码是什么样子和已经的信息
73That's in the code base that the agent can already know about but if you look at mine这在密码底部 特工已经知道了 但是如果你看看我
74There's a simple workflow and this workflow is something that's not native to the agent有个简单的工作流程 这个工作流程对特工来说不是本体的
75So it explains clearly how to do it and I'll walk you through every single step.所以,它清楚地解释了如何做到这一点, 我会走你的每一步。
76The first step is isolate第一步是隔离
77There's a skill called new feature and this is what it does.有一种技能叫做新特征 这就是它的作用。
78It says every new feature上面写着每个新特点
79Starts in a fresh get work tree branched from origin main so agents can work in parallel without conflicts开始从源头开始 工作树分支 这样代理商可以平行工作而无冲突
80Never built on me.从来没有建立在我身上。
81And if you know when Michael is on Greg's channel如果你知道迈克尔何时在格雷格频道
82There's always diagram.总是有图。
83So we're about to draw so with the first step when I'm working on a project and所以,我们即将画出这样的第一步 当我在做一个项目和
84I tell it to work on a feature我告诉它工作 一个特色
85the first thing it's going to do is isolate and what this basically means is you can think of首先它要做的是隔离 这基本上意味着你能想到
86Greg and Mike's app you can think of Greg's and Mike app like the journey being you know格雷格和迈克的应用 你可以想到格雷格和迈克的应用 就像旅程 你知道
87We started here.我们从这里开始的。
88We started prompting here and this is when we launched a production.我们开始在这里催促,这是当我们推出一个生产。
89We've got thousands of customers我们有成千上万的顾客
90The way most people work with their agents is at every single step of the journey they're building a feature大多数人的工作方式 与他们的代理 是在旅程的每一步 他们正在建立一个特色
91They're building a feature.他们正在打造一个特色。
92They're building a feature and it's it's a very linear process他们正在构建一个特征, 这是一个非常线性的过程
93right one feature at a time one feature at a time one feature at a time and右一个特性 一次一个特性 一次一个特性
94If you ever try to work part like like with on multiple features the same time.如果你曾经尝试像工作一样 在多个特征上 同时。
95Sometimes there's conflicts有时有冲突
96There's issues people have you know, oh my agent deleted this file that overwrote this file有问题 人们知道, 哦,我的经纪人删除了 这个文件,
97What this first step isolate does is the following I'm going to show via diagram第一步的隔离是 我要通过图表来显示
98So let's say Greg was like, I really don't like our landing page and I'm telling Greg, you know our因此,让我们假设格雷格喜欢, 我真的不喜欢我们的登陆页 我告诉格雷格,你知道我们的
99Our API calls can be faster when Greg works on this feature我们的API电话可以更快 当Greg工作在这个功能上
100What the agent does using my agents dot MD is it's going to create a new branch and you can think of a branch as特工使用我的特工点MD 会建立一个新的分支 你可以认为分支
101a copy paste of the exact moment where the app is应用程序的确切时间的复制粘贴
102So Greg is going to work on a new branch a new work tree of the app a work tree is basically a所以Greg要在一个新的分支上工作 一个应用的新工作树 一个工作树基本上是一个
103Copy of the app like you can think of someone copying a block of text复制应用程序,就像你能想到有人 复制一个块的文本
104Pacing it in a new document working on that document and at some point going to merge it back in the original document把它放在一份新文件中,处理该文件,并在某个时候将其重新合并到原始文件中
105So that's what Greg is doing.Greg就是这么做的
106He has a new document working on that feature他有一份新文件正在研究这个功能
107And guess what Mike has another feature has to work on so I can do it at the same time or I could do it a猜猜迈克有另一个功能 需要工作 所以我可以同时做到这一点 或者我可以做到这一点
108Different time I now have my own branch不同的时间,我现在有自己的分支
109Here's what's cool这是很酷的
110me and Greg and another person or you yourself with 50 different agents can work on multiple features and我和Greg 还有另一个人 或者你和50个不同的特工 可以研究多种特征
111There's not going to be an issue of one agent overstepping on another agents work不会有一个问题 一个特工越位 另一个特工的工作
112This happens a lot to people if you ever see tweets Greg of people saying man如果你看到Greg说男人的微博 这种事对人们来说很常见
113Like I was working on this and the agent deleted a bunch of stuff almost always好像我在忙这个 经纪人几乎总是删掉一堆东西
114Because people have their agents working on different features on the same branch and因为人们有他们的代理人 在同一个分支和
115The agent will do what you tell it to do探员会照你的话去做
116So you told it to update the landing page, but then you also told it to make the API calls faster所以,你告诉它更新登陆页, 但你也告诉它 使API呼叫更快
117And now it's noticing all these pages the way they're calling the API suck现在它注意到所有这些页 他们叫API烂
118Let me delete these and write these again, but then it was working on a design on that page.让我去删掉这些,再写一遍, 但后来它正在研究那页的设计。
119So issue start to arise所以问题开始出现
120Isolate allows me to work on multiple features at the same time孤立让我同时研究多个特性
121Parallelly without having an agent overstep on an agent.同时,没有代理人越位。
122This is the first step of my workflow这是我工作流程的第一步
123This isn't native to the agent.这对特工来说不是本地人
124So this makes sense to exist in因此,这是有道理的存在于
125the agents.md file and when代理 . md 文件及何时
126Greg is done or when I'm done and I'll explain like the workflow for thisGreg说完了 或者我说完了 我会解释的
127Just to close the loop when Mike's done all I do is麦克完成后,我就会关闭这个圈子
128Merge these changes back and then what Greg's done把这些变化合并起来 然后Greg做了什么
129He can either do it before me or he can do it after me他要么在我之前做 要么在我之后做
130But we're merging into the into the main但是,我们合并到主
131Document and there's not going to be conflicts because we worked on a copy at first文件和不会有冲突 因为我们刚开始就研究了一本
132So this allows me to ship fast with multiple agents if I show you and I can maybe show here if I show you my所以,这允许我与多个特工一起快船 如果我告诉你,我可以在这里,如果我告诉你我的
133terminal if you notice there's如果你注意到的话,结束
134Four tabs of bezel up three of them finished四块薄饼,三块
135But I literally have four different features on the same exact app one's working on an email client但我实际上有四个不同的功能 在同一个准确的应用 一个工作 在电子邮件客户端
136The other one is working on a computer environment a Linux environment另一个是Linux的电脑环境
137The other one is doing a landing page update so I can work on these confidently while still having isolation另一个正在更新登陆页 这样我就可以在保持隔离的同时 自信地研究这些
138It's not native to the agent this agents.md plus the new feature skill代理商不是本地人 这个代理商是Md 加上新的特技
139Allows me to do that.允许我这样做。
140I'll pause here any questions Greg so far.我会暂停任何问题 Greg到目前为止。
141Yeah, I mean it's是啊,我是说
142Like crystal clear.如结晶清净.
143I think it's the way I think about it is if you actually had a team of我想这就是我想的 如果你真的有一支队伍
144Engineers and you are trying to build an app you obviously wouldn't be工程师和你们想制造一个应用软件 显然你不会
145Building it all on main and having everyone just being pushing to main and stuff like that.把它全部建在主上, 让每个人只是推向主 之类的东西。
146That just doesn't make sense.这根本说不通
147I think我觉得
148You know, I'm non-technical你知道,我不是技术的
149And I think you have all of a sudden all these non-technical people starting to build apps and我认为你突然有这些非技术人士 开始制造应用软件
150They're running into this, you know, you you basically made mention you're kind of like oh, hey, man他们正遇到这个,你知道,你基本上 提到你有点像哦,嘿,男人
151Like sometimes it happens that agents overwrite stuff碞钩Τ 牡贝穦
152I mean the truth is 95% of the time if you're built it you're gonna have agents kind of mess up and我的意思是,真相是95%的时间 如果你建造它,你会有 特工那种混乱,
153Overwrite things so this is like to me this you know makes a lot of sense and it's sort of a bigger idea覆盖事物,这样对我来说, 这你知道很多道理, 这是一个更大的想法
154Which is how do you structure?你是如何构建的?
155Your you know the way you work with agents to be more like a team versus你知道你和特工们合作的方式 更像是团队对抗
156You know, yeah, no just more like a team.你知道,是的,不再像一个团队。
157Yeah, I mean and I mean it's a better name是啊,我的意思是,它是一个更好的名字
158Team is better than isolate.团队胜过孤立
159I might take the team, but that's我可能会带球队,但那是
160That's why I'm the marketer and you're the所以我是推销员 而你是
161engineer工程师
162But yeah, that's basically what it is, right?但是,是的,这基本上是它是什么,对不对?
163Isolate sounds like some sort of like whey protein that I'm隔离听起来像 某种杂草蛋白
164So if you guys check the link there will be a name update very soon所以,如果你们检查链接 很快会有名字更新
165But that's basically what this does it allows for me to have multiple agents working on different tasks all at the same time但基本上这能让我有多个特工 同时执行不同的任务
166Without overstepping each other right and there's also a cleanup process没有越位的权利 也有清理的过程
167I won't get into like once the branch like once the work is emerged in the work tree gets deleted all that type of stuff工作树上出现的时候 我就不会像树枝一样被删掉
168Happened so that's step number one number two is the actual building事情是这样的 第一步第二步是实际建筑
169And this I find has this was a skill that I shared originally way back我发现,这是 一种技能,我分享了最初的方式
170But now it's part of my workflow and I shared with everyone is code structure但现在这是我工作流程的一部分 我和大家分享的是代码结构
171We're going to talk about models soon我们马上就要谈模特了
172but one thing about但有一点
173The models is they are great at doing the work模特儿很擅长工作
174It just might not be done the best way right especially when writing code特别是写代码的时候 可能不是最好的方式
175There's for example fable is I would say one of the first models to really举例来说,有寓言,我会说 最早的模型之一 真的
176Write code that I would say huh like this is better than some of the best engineers写代码,我会说,嗯 这样比一些最好的工程师好
177I've seen right like fable runs writes really good code我见过像寓言一样的跑步 写得非常好
178But even Astro, which is workhorse most powerful model my favorite model some of the code quality decisions但即使是Astro,它是最强大的模型 我最喜欢的模型 一些代码质量决定
179It makes is and it's not that the models not capable它制造的,不是 模型不能
180The models is just getting it done and if it could get it done in the sloppy way模特儿只是把事情办好 如果能用草率的方式
181It'll get it done in the sloppy way what the code structure skill does it writes it in what's called a service layer?它会以草率的方式完成它 它的代码结构技巧 把它写在所谓的服务层?
182Architecture won't bore everyone, but basically it's written in a way where let's say you have you needed human intervention建筑不会让所有人厌烦 但基本上写的方式 可以说你需要人类的干预
183You hired a developer very easy for the developer to catch on or you yourself are a developer very easy for you to catch on你雇了一个开发商 很容易让开发商赶上 或者你自己是开发商 很容易让你赶上
184But even for your agents for them to come back to the code and read the code但即使你的特工 让他们回到密码 并读到密码
185They'll be like oh like yeah like it makes sense like I've had like I've had他们会像哦,是的,就像它有道理 我曾经有过一样
1865.6 soul write code and it works it does what it's supposed to do5.6 灵魂写代码,它能做它应该做的
187But then I'll have fable review the code and fable will be like this is disgusting like there's duplications但我会有寓言审查 代码和寓言会像这恶心 像有重复
188There's functions all over the place.到处都有功能.
189There's dead code right so just because it works doesn't mean it's written well this skill密码是死字的,不代表写得很好
190Gives the agent a guideline on how to write code so going back to this diagram again给代理人一个如何写代码的指引,这样又回到这个图表
191I'm working on a new feature right the first thing that happens is isolate the second thing that happens我在研究一个新的功能,第一件事就是隔离第二件事
192is and I'm gonna I hope people are seeing the我希望人们能看到
193Factory nature of it the second thing that happens is the building and in building we're using a skill called它的工厂性质 第二件事发生 建筑和建筑 我们使用一种技能叫做
194Code structure and basically in this process when I'm telling the agent Oh build me密码结构 基本上在这个过程中 当我告诉经纪人 吴建我
195This Andy page build me this feature for example安迪的这个页面给我建了这个功能 比如说
196I've been working on this app and the one feature that I wanted built is I wanted a skills like我一直在研究这个应用,我想要的其中一个特点 就是我想要一种技能
197Repository where I can have different agents of mine connect to this app and store the skills仓库,我可以有 不同的代理人 我的连接到这个应用程序 存储技能
198And I basically told the agent build me that and as it was writing the code it kept referencing the code structure我基本上告诉经纪人 建造我, 当它写代码时 它一直引用代码结构
199Skill so it started to write code in a way that me as a developer I can reviewSkill 这样它开始用一种方式 写代码,作为开发者我可以审查
200But you know God forbid I need to hire somebody to review the code但你知道上帝禁止我雇人审查密码
201It's not going to be the slop cannon where they're confused and they don't know what to do or they overcharge you不会是大炮 在那里他们困惑, 他们不知道该怎么办 或者他们多收你钱
202It's written in a way for a developer to understand and I find that if you use another agent that doesn't have context on your code base它写的方式 一个开发者 理解,我发现如果你使用 另一个代理 在你的代码基础没有上下文
203It will understand it very well.它会非常明白的。
204So first we所以,首先我们
205Isolate excuse the bad name隔绝的借口 坏名字
206Second we build right and all of these are done in an opinionated way that allow the agent to move第二,我们建立权利,所有这一切 都以一种有见解的方式 使代理移动
207Fast and to do the thing as best as possibly can be I think this makes sense, right?尽快做最好的事 我觉得这很合理,对吧?
208Yep, keep going.是的,继续走。
209So step number three is prove.第三步就证明了
210Here's the thing是这样的
211You know agents can't pinky promise, right?你知道特工们不能小题大做 对吧?
212So like if you push an agent enough, well GPT 6 Astra is所以,就像如果你推一个代理足够, 那么GPT 6 Astra是
213The reason why it's a big leap in model capability is like it like the heli like it is the least模型能力大跃进的原因 就像直升机一样是最小的
214hallucinating model which is fantastic有幻觉的模型,这太棒了
215but like that model aside most models you can kind of push to like但是,像那个模型 除了大多数模型 你可以推那种喜欢
216Lie or to believe something or it sometimes will straight-up be like, oh, I actually realize I didn't do this work for you撒谎或相信什么 否则有时候会直接说
217so one thing that I have the agent prove the agent do is to prove the work that it did and所以有一件事,我有经纪人 证明经纪人做的是 证明它所做的工作,
218This is probably my favorite skill.这也许是我最喜欢的技巧
219There's two skills involved in this这里面有两个技能
220evidence-driven testing and由证据驱动的测试和
221Basically what evidence-driven testing does if your machine has the capability to do it it will literally record the基本上由证据驱动的测试是做什么的 如果你的机器有能力做它会 字面上记录
222Before state meaning before the feature or let's say you're trying to fix a bug it will record the bug in action and在功能前的状态意义之前 或者说你想修补一个错误 它会记录这个错误
223What it will do after is after it's done fixing it will record a working version after right?之后会做什么 之后它完成 修复 它会记录一个工作版本 之后右?
224So this is what evidence-driven testing this it proves that the fix所以这是证据驱动的测试 这证明了固定
225Actually was made because you'll be surprised sometimes the agent will write the code and it'll think it work其实是因为你会惊讶 有时特工会写代码 它会认为它有用
226But it didn't test it or improve that it worked and it just told you to work但它没有测试或改进 它的工作,它只是告诉你工作
227So I need to make sure that the agent actually prove this work所以我得确保特工能证明这件事
228But let's say let's say your machine doesn't have the capability to do that但假设你的机器没有这个能力
229there's another skill called before and after and I can actually之前和之后还有另一种技能,我可以
230Let me pull up a PR to show this Greg because I think it is better show you than I tell you让我拉个公关来展示这个格雷格 因为我觉得这比告诉你好
231This is a PR my agent me.这是我经纪人的公关
232I didn't make this the agent make this这不是我制造的
233And I wanted it to create an admin email page and connect to an email service that I mean我希望它能创建一个管理电子邮件页面 并连接到一个电子邮件服务,我的意思是
234Look at what it did.观其所作.
235It showed me a before state or that page didn't exist它让我看到一个在状态之前 或者那页不存在
236It just it didn't and it shows me the after state, right?它只是它没有, 它显示我之后的状态,对不对?
237So for every feature that I'm building every PR that I'm doing因此,每个功能,我正在建立 我所做的每一个公关
238I am getting a before state and after state and the reason why this helps this helps me like I'll be honest我得到了一个前州和后州的原因 和为什么这样做 帮助我像我会诚实。
239I'm not reading all my code nowadays.我现在不读所有的代码。
240Like I might like okay did this like let's see就像我也许喜欢这样,让我们看看
241Barely, it's a skim.勉强,是滑行.
242It's a skim situation这是个滑稽的情况
243I'll be honest the skims have even become less and less now老实说,现在的滑板越来越少了
244But 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但我现在做的很多事情是 我在前端工作 在那里我保证它遵循
245My code structure skill and I make sure I'm getting before and after screenshots, right?我的密码结构技巧,我确保 我得到前后截图,对不对?
246I can even pull up.我甚至可以拉起来。
247Let me pull up another让我再拉一拉
248Example here's a more prominent example where I was working on a specific举个例子,我正在研究
249Computer feature where I wanted to give my agent a computer and it just didn't work right the first run didn't work电脑功能,我想给我的经纪人一台电脑 它只是没有工作的权利 第一次运行没有工作
250I didn't even have like my software factory set up我甚至连软件厂的设置都没有
251I was working on a different machine and it pushed the code and it didn't work as you can see nothing's going on我研究了另一台机器 它推开了代码 它没有工作,因为你可以看到什么都没有发生
252I told my agent it didn't work use the skills use the factory and我告诉我的经纪人 它没有工作 用技术用工厂和
253This is the after screenshot with it actually using the app, right?这是之后的截图 与它实际上使用应用,对不对?
254So these skills the prove and the before and after因此,这些技能 证明和前后
255Force the agent to give me强迫特工给我
256Factual like a before and after proof whether it's a video or it's事实就像前后 证明是视频还是视频
257Screenshots and there are times where it'll do the before but then it'll do the after and it'll be like截图和有时它会做之前, 但之后它会做之后,它会像
258I just looked at the after screenshot or the after video and I didn't really finish the feature我只是看了之后的截图 或之后的视频 我并没有真正完成这个功能
259So go back to what they'll go back to build it, right?回到他们要重建的地方去 对吧?
260This is the factory nature of it这就是工厂的性质
261I didn't have to tell it.我不必说
262Oh, but yeah, you failed your before and after go finish哦,但是,是的,你失败了 你的前后去完成
263The the skills are in in a way where the agent knows okay the before and after criteria hasn't been met技术在一种方式 代理知道好的 前后标准没有达到
264I have to go continue on building, right?我必须继续建设,对不对?
265So this所以这个
266Gives me a visual让我看到了
267Representation of the work that's been done.代表已完成的工作.
268It makes reviewing especially if you're a non-technical person特别是如果你是非技术人员的话
269It makes reviewing easier because you know, I just look at some screenshots or a video, right?它使审查更容易 因为,你知道,我只是 看一些截图或视频,对不对?
270So in the building process at some point所以在建设过程中
271I'll have a PR where I get to see before and after and even though I might not understand all this mumbo-jumbo我会有一个公关 在那里我可以看到前后 虽然我可能不明白 这一切的废话 -jumbo
272It it will it will explain it will show me visual它会解释它会给我看
273Proof that the work's been done now.证明工作已经完成了
274I already hear somebody asking what if the proof is not visual and there's actually我已经听到有人问 如果证据不是直观的 而且实际上有
275a PR I'll show someone公关,我给别人看
276performance I业绩一
277Think it's this one.以为这个.
278Okay, so I wanted to do another example here好,我想再举个例子
279I wanted to do a performance update meaning for one of the apps I was building the clicks weren't snappy enough我想做一个表演更新 意思是我正在制作的应用程序之一 点击不够快
280Like you can see now everything is snappy.就像你现在可以看到的一切是短暂的。
281It's loaded fast.满载迅速.
282That wasn't the case不是那样的
283So I told the agent fix it and it did and所以我告诉经纪人修好了它,它做到了
284It did end up giving me screenshots结果还是给我截图
285But let's say there this was like something that it couldn't give me screenshots for it will write test and then it'll give me但是,让我们假设,这是像的东西 它不能给我的截图,因为它会写测试 然后它会给我
286The results in this case it checked the speed at which the page is loading before in this case这个案子的结果,它检查了这个案子之前加载页面的速度
287One of the pages 815 milliseconds.1页815毫秒.
288This is a sin in web development这是网络开发的罪过
289Like this cannot happen and mind you this was written by GPT 5.6 soul, right?像这不可能发生 并提醒你 这是GPT 5.6灵魂写的,对不对?
290Great model, but he got it down to 60不错的模特儿,不过他已经降到60岁了
291817 61 so I have again actual proof by the agent that it's done what it said it did in the review process81761,所以我再次有 代理的实际证明 它已经做了它所说的 在复审过程中
292I'll pause right there我在这里暂停一下
293Anything I've missed so far Gregor does it so, you know我错过了Gregor的任何东西
294if you're trying to build a如果你试图建立一个
295Software factory trust obviously is gonna be a big part of that软件厂的信任显然会成为其中的一大部分
296And I think what you're saying is hey, we're if you know我想你说的是 嘿,我们是,如果你知道
297If you're gonna have all these agents, you know building features building apps如果你要拥有所有这些特工, 你知道建筑特性 构建应用程序
298We need to be able to trust the things that it's going to create.我们需要能够相信它将要创造的东西.
299So what you're saying is这么说吧
300Here are a couple skills that allow you as like the agent manager where in this case这里有几种技能,可以让你像代理经理一样 在这个情况下
301Mickey you're like you are the agent manager, right?米奇,你就像你是经纪人,对不对?
302You're not you're you're not deep in the code anymore你不是你 你不再深入密码
303you're kind of just looking at what's happening and你只是看看发生了什么
304what's cool about怎么样?
305The before-and-after visual stuff is it's kind of good for him之前和之后的视觉 对他有好处
306You know Millennials and Gen Z or people on you know Instagram stories or snap stories stuff like that你知道千年 和Gen Z 或人们 你知道Instagram的故事 或快速的故事之类的东西
307It's almost like you're just like clicking through story to story.这几乎就像你只是 点击的故事到故事。
308Yes.
309No, like it's it's it's bite-size不,就像它是咬的大小一样
310Basically, that's literally it right there, right?基本上,这是 字面上就在那里,对不对?
311It's it's allowing me to build trust with the agent because and what's funny is like you said earlier that kind of clicked in它允许我和经纪人建立信任 因为有趣的是 就像你刚才说的 那种点击
312This is what like normal organizations used to do with their engineers, right?这就像正常的组织 曾经与他们的工程师,对不对?
313it's like you build a feature and then there was someone whose job like a senior engineer whose job was to review your work and就像你造了个特色 然后有人像高级工程师一样 来审查你的工作
314You would have this PR with this description and it would show okay你会有这个公关 与这个描述, 它会显示好的
315Basically, this is the work that I've done and this is the test that I've written, right?基本上,这是我做过的工作, 这是我写的测试,对不对?
316So it's basically the same thing except now we're doing it with machines like that's essentially it and an example of the video所以,它基本上是一样的 除了现在,我们正在做 它与机器 这样基本上它和视频的例子
317This is a this is me using Kershaw Cloud Agents这是我用克肖云特工
318It says proof of improvement and like this is a video of the agent at work using the app, right?上面写着改进的证明 像这样的 工作代理使用应用程序的视频,对不对?
319So this allows me to your point like Instagram tick-tock.所以,这允许我讲你的观点 像Instagram勾当。
320I can watch this and see all right我可以看这个,看看一切
321Okay, the agent actually built this and it works好吧,代理 实际建造了这个,它的工作
322This makes it easy for me to not have to read code and I can just merge away and live my best life这让我很容易不用读代码 我就可以融为一体 过上最好的生活
323and go outside and touch grass出来摸摸草
324So there's that now we have现在我们有了
325One final step which is the ship step now the ship step I mentioned before and after最后一个步骤,就是现在的船步,就是我在前后提到的船步
326But there's this skill called grep loop which uses a third-party service named grep tile但有一种叫做grep循环的技巧 使用第三方服务 叫做grep砖
327Which is a code review agent now, you don't need to use a code review agent你不需要用代码审查代理
328But if you're really serious about building software and it's going to be used by users但如果你真的想造软件 用户会用它
329I highly suggest using some code review agent grep tiles my favorite code code rabbit我强烈建议使用一些代码审查代理grep瓷砖 我最喜欢的代码兔子
330Microscope there's tons of good ones out there显微镜里有很多好东西
331But me using grep tile they have this skill called grep loop and basically what this does但我使用grep瓦 他们有这种技能 叫做grep环 基本上它的作用
332And I think i'll show it with this pr我想我会展示它与这个PR
333Grep tile leaves these summaries and then it gives feedback.Grep瓷砖留下这些摘要,然后给出反馈.
334For example, this was the initial feedback it gave例如,这是它最初提供的反馈
335On the pr there was some issue with you know pagination right here.试镜上有些问题 你知道这里的帕吉纳
336Some menu space wasn't preserved一些菜单空间没有保留
337So it gave this feedback meaning the agent that wrote the code missed these things and that's fine所以它给出了这个反馈,意味着 写代码的特工错过了这些东西,这很好
338It happens right even humans miss these things, right?它发生的权利,甚至人类 错过这些事情,对不对?
339But what happens is grep tile not only gives feedback.但发生的事情是grep瓷砖 不仅提供反馈。
340It gives a confidence score给人信心分数
341Now this is a five out of five because after the feedback was given这是五分之五 因为反馈后
342If you see my name and then this line over here the feedback was addressed my agent addressed the feedback如果你看到我的名字,然后这行 这里的反馈是给的 我的经纪人给的反馈
343But before the feedback was addressed this score was a three out of five但是在反馈被处理之前 这个分数是五分之三
344What that tells my agent is that there are things that it missed and it needs to look at it这告诉我的经纪人,有些东西 它错过了,它需要看它
345What the grep loop skill does and by the way, this happens automatically someone doesn't have to write grep loop顺便说一句,Grep循环技术的功用是自动发生的,有人不用写Grep循环
346The agent will do it automatically what it does is as follows特工会自动执行以下任务
347It says it opens the pr with the before and after proof embedded in the description上面写着它打开了pr 上面写着在描述中的前后证据
348Whenever the change has a visible surface measure numbers or output pairs when it doesn't it'll give you numbers right or screenshot当变化有可见的表面测量数字或输出对时,它不会给你正确的数字或截图
349And then look what the agent does it runs grep loop or grep grep loop apps然后看看代理运行的grep循环或grep循环应用
350The difference is grep loop apps if your file change is like 10 000 lines plus不同之处在于 grep 循环应用程序, 如果您的文件更改像 10,000 行加
351That skill activates it.这技巧能激活它
352You don't have to worry if the agent does it itself, but look what it does.你不必担心 经纪人自己做,但看看它做什么。
353It says上面写着
354Grep tile reports five out of five until resolved comments finished by presenting pr urlGrep 砖块报告五分之五,直到通过提交 pr url 完成已解决的评论
355Basically, what this means is it will the agent will take the feedback it got基本上,这意味着 经纪人会接受反馈
356It will go back to build它会继续建造
357So check this out.看看这个
358Let's say we're at the point.说如是等正觉.
359Let me write this down.让我写下来。
360We're at the point.我们到了
361We're at built we're我们在建楼
362Shipped right and it's now running grep loop右转,它现在运行Grep循环
363When I get a feedback score a confidence score and it's three out of five当我得到反馈 得到一个信心得分, 这是三五
364What now happens remember we were talking about loops.现在发生的事情 记得我们在谈论循环。
365This is actually a good loop.这实际上是一个很好的循环。
366What happens is this goes back to building事情是这样的,这回是建筑
367Now the agent goes back to step two it starts to build after it builds what it does现在特工回到第二步 开始建造它的工作
368Does it do it proves and then it ships and here's what happens automatically the agent will wait for a new score这是否证明了,然后它就上船了 接下来是 代理商会自动等待新的分数
369Grep tile then gives us a four out of five.Grep瓷砖再给我们五分之四
370We caught some things but there's one final thing we missed我们抓到一些东西,但还有一件事我们错过了
371Go back to building回到楼里去
372Right.
373It builds it proves and guess what it does greg it ships and now I have a five out of five它建造它 证明并猜它在做什么 船,现在我有一个五分之一
374When I have a five out of five当我有五分之一的时候
375What's left now is for me to merge and I think maybe I have an open pr right here现在剩下的是让我合并 我想也许我有一个公开的PR就在这里
376So I can show you what that looks like这样我才能让你看到它的样子
377What's left for me?还剩什么给我?
378Is to just click merge就是点击合并
379when I click merge what happens is当我点击合并 会发生什么
380This is finally back in the main copy of the app of the main version of the app终于回到了应用程序主版的主版
381And I did this while working on 15 either我在15号工作时也这么做了
382simultaneous version同时版本
383Sorry对不起
384Features 15 different features特征 15种不同特征
385With different agents sub agents all that type of stuff what this allows and this is the factory nature有不同的代理子代理 所有这类的东西 这是工厂性质
386It allows for an agent to have an isolated instance where it can work on its own它允许一个特工拥有一个孤立的例子,可以自己工作
387It has guidelines on how to build it has a methodology to prove its work它有如何建设的准则,有方法证明它的工作
388And then it has an external service proving its work checking its work然后它有一个外部服务 证明它的工作 检查它的工作
389And if its work is not up to standard it has to continue in a loop working until that standard is met如果它的工作达不到标准... ...它必须连续工作直到达到标准
390Once I get a five out of five, this is when I enter the picture一旦我得到五分之一, 当我进入图片
391This is what a software factory is notice.这是软件厂的注意。
392We didn't talk about model.我们没谈模特儿
393We didn't talk about harness我们没说带子
394It's all workflows skills and a little bit of domain knowledge, right?这是所有的工作流程技巧 和一点点的域知识,对不对?
395Not everybody works the same.不是每个人都一样
396This is how I work这就是我的工作方式
397But I found great results但我找到了伟大的结果
398with this用这个
399I'll pause right here greg.我在这里暂停一下
400Let me know what I need to further explain or告诉我我需要什么 进一步解释或
401or add on或添加在
402I i'm like what's clicking in my head is just really this我觉得我脑海中点的就是这个
403physical factory analogy for a software factory软件厂的物理工厂类比
404So just to like summarize i'm going to tell you how i'm i'm seeing it.所以,只是喜欢总结 我要告诉你 我是如何看到它。
405I want I want your thoughts我要你们的想法
406So like the isolate piece and the step one所以像孤立的棋子和第一步
407Um, that's like a factory taking a custom order and you know giving it its own station嗯,这就像一个工厂 采取定制订单 你知道它自己的车站
408So it doesn't mess with the rest of production所以它不会和生产的其他部分搞乱
409Right, so you you you know, you called it a work tree, you know in software对,所以你知道,你称之为工作树, 在软件上
410It's a branch a work tree an isolated environment, but you know, that's the basic concept.这是一个分支 一个工作树 一个孤立的环境, 但你知道,这是基本的概念。
411Yes number two是,二号
412Build right build is the assembly line建造正确的建筑是组装线
413So the agent is actually like cutting and welding and assembling and wiring the product所以这个药剂就像切开、焊接、组装、接线
414Um, obviously in software, you're not doing that.嗯,很明显在软件里, 你没有这样做。
415You're writing code.你在写密码
416You're changing files你在改变文件
417You're adding structure to things you're you're actually creating something that's real in a software in a software sense你正在把结构加进你正在创造的东西 在软件意义上是真实的
418Step three is步骤三是
419The proving step which is basically a fancy way of saying quality control证明步骤 基本上是一种美妙的方式 说质量控制
420So basically right like before anything leaves the factory someone has to test it所以基本上就跟出厂前一样 得有人去测试一下
421You're not just going to like create a product and not have people test it like does it你不只是喜欢创造一种产品 也不要让别人去测试它
422Turn on does it does it fit does it break under pressure like all the things I you know打开它合适吗? 它在压力下破解 就像我所知道的一切
423I'm picturing like a car factor or something like that in software我想象的像汽车因素 或类似的东西 在软件
424you know, you can run tests like你知道,你可以运行测试像
425Well, you can run tests you can preview it you can do logs you and you know the screenshots you showed and then lastly你可以运行测试 你可以预览 你可以做日志 你知道你显示的截图 然后最后
426the shipping piece运输块
427Um, it's basically like once it passes quality control, you know, it's going out the door嗯,它基本上就像一旦它通过质量控制, 你知道,它走出去的门
428But there's going to be some things that you have to like let you know但有些事情你必须知道
429uh
430You're gonna have to merge it.你得把它合并起来
431You're gonna have to deploy the pr you're gonna have to do release notes你必须部署PR 你必须做发布通知
432You're gonna have to you know你必须要知道
433Give feedback back to the product team because maybe it doesn't pass quality control and then you have to like do that loop again把反馈反馈给产品组 因为也许它不会通过质量控制 然后你必须再次喜欢做这个循环
434Right exactly没错
435I think I might actually rename everything you like i've written to what you said because like now i'm realizing like oh我想我可能真的 重命名你喜欢的一切 我已经写到你说的话 因为像现在一样 我意识到像哦
436Yeah, my names are terrible that it says make sense.是啊,我的名字是可怕的 它说有道理。
437That's exactly how this works就是这样的
438Cool, so basically what we're doing here is we're taking a factory酷,所以基本上我们在这里做的是 我们要去一个工厂
439And we're making a software factory basically我们基本上正在制造一个软件厂
440So and this is why like i've seen again not to knock people startups and products and stuff like that所以,这就是为什么我再次看到 不再敲人 创业和产品之类的东西
441Like a software factory is not a product.像一个软件厂不是产品。
442It's not a special harness这不是特别的绳子
443It's not a like oh this company built a software.这可不是公司造的软件
444No a software factory is literally just a bunch of markdown files没有软件厂只是一堆减记文件
445And this is also another insane thing off topic.这也是另一个疯狂的话题。
446Maybe a different video is也许另一个视频是
447Some startups are now现在有些初创者
448An agent with a couple markdown files, right?一个特工有几份降级文件,对吧?
449We've really entered that time我们真的进入了那个时代
450So I hope this made sense for everyone and this excites everyone所以我希望这对每个人都有道理 这让每个人都兴奋
451I'm very excited with the time we're in right now because a lot of things are possible now我对我们现在的时间感到很兴奋 因为现在有很多事情是可能的
452100 I mean, no, this is this is insane that you're actually able to do this.100,我的意思是,不, 这是疯狂的,你实际上能够做到这一点。
453It's cool that you这很酷,你
454people like you are like像你这样的人
455Sharing this because I think it's it's worthwhile.分享这个,因为我觉得这是值得的。
456I want to just do one quick note on我想说一句
457Um grep loop or any code review software, you know, I think if you're serious, you know嗯,grep循环 或任何代码审查软件, 你知道,我认为 如果你是认真的,你知道
458No affiliation with grep loop, um or anything like that没有与grep循环,嗯或类似的东西
459But I think if you're serious about creating software having you know some code review但我想如果你真的想 创建一些软件... ...你知道一些代码审查
460software is软件是
461Pretty like I I don't understand why you wouldn't use a grep loop a code rabbit one of these tools something right like it means我好像不明白你为什么不用密码兔子 来做这种工具
462like because again if you have like, you know就像再次,如果你有这样的,你知道的
463We in in business and then I know because a lot of business people are watching我们做生意,然后我知道 因为很多商人在看
464You know你知道吗
465We take the service we provide and all that stuff seriously我们认真对待我们提供的服务和所有的东西
466But it seems like with building software like we just don't care right and if you have people但是,它似乎像 建设软件 像我们只是不关心的权利 如果你有的人
467Who are going to use your app?谁要用你的应用程序?
468Like I don't know like there's a level of like empathy I have for the user on the other side我对另一边的用户有同情心
469And you know like a lot of these like startups because they've raised the jillions of dollars你知道很多像初创企业一样的 因为他们筹集了巨款
470Like they have a lot of free tiers like you know就像他们有很多免费的等级,你知道的
471You can cycle through free tiers and use a bunch of this stuff for free, right?你可以通过免费的阶梯循环 免费使用这些东西,对不对?
472So I highly encourage if you're building something that you're serious you're passionate about.所以,我非常鼓励你 建造的东西,你是认真的 你热心。
473I would use a code review agent of any kind我会用任何密码审查代理
474Yeah, cool.是啊,凉爽。
475Thanks for coming on.谢谢你能来
476Thanks for sharing the sauce.感谢分享酱汁。
477I'll include links for where to follow我将包含链接 用于跟踪
478Mickey on the internet on youtube all those places his his software that he's creating toMickey在YouTube的互联网上 将他的软件放在他制作的
479Go give him a follow and uh, dude.去跟踪他,嗯,伙计。
480I'll see you next time.下次见
481I appreciate you very much非常感谢你
482Always thank you everyone for showing love and watching and yeah, we'll see you in the next one总是感谢大家 展现爱和看 是的,我们会看到你在下一个
483And watching and yeah, we'll see you in the next one看着,是的,我们会看到你在下一个
该视频共有字幕 484 条。解锁更多字幕为会员功能,请移动到 价格

P3 · 【AI编程】构建真正有效的软件工厂 · 四步法完整课程 p03 无字幕 (P3)

字幕摘录

时间英文中文
0:00What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
0:03I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
0:08Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
0:15And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
0:21I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
0:26Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
0:34So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
0:40You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
0:44So enjoy the episode享受这集吧
0:45I can't wait to see what you build我迫不及待的想看你造什么
展开字幕全文(518 条)
序号英文中文
1What are software factories and why is it going viral?软件工厂是什么 为什么会是病毒?
2I mean, it's basically this concept that allows you to use AI agents to actually ship我的意思是,它基本上是这个概念 允许你使用AI代理 实际运送
3Software that isn't sloppy at all that is more like a factory more like think about an assembly line完全不草率的软件 更像是工厂 更像是想装配线
4And you're just instead of building physical products you're building software and that's kind of the dream而你只是代替建造 实物产品 你正在建造软件 这就是一种梦想
5I mean if you're able to just create this factory that builds software and it's valuable我是说如果你能创造出一个制造软件的工厂 那很有价值的
6Software and you can create multiple apps that generate revenue and add value to people's lives that sounds pretty good to me软件和你可以创建多个应用程序 创造收入 增加人们的生活价值
7So in today's episode I brought on Ross Mike and he clearly explains the entire process by the end of this episode所以在今天的剧集里 我给罗斯・麦克带来了 他清楚地解释了整个过程
8You're gonna understand how to set your own software factory up yourself.你会明白怎么建立你自己的软件厂
9So enjoy the episode享受这集吧
10I can't wait to see what you build我迫不及待的想看你造什么
11There's a reason why this concept is going viral and I'll see you at the end today's episode is brought to you by Brex有个原因,这个概念是病毒化的, 我会看到你在今天的结尾 剧集由Brex带来给你
12My company's been on Brex for a year and a half and I started because I kept hearing companies like Vercel open AI我的公司在Brex上已经一年半了 我开始是因为我一直听到公司的声音 像Vercel打开AI
13Anthropic were using Brex and I figured if they're using it why shouldn't die?Anthropic在使用Brex 我想如果他们在使用它 为什么不应该死?
14It's been a game changer.这已经是一个游戏的改变者。
15The thing that got me is how smooth it is.我得到的东西是 它是多么的光滑。
16It's got high-limit cards.有高限牌.
17It's got banking有银行业务
18It's got AI that handles the back office busy work like expense reports, which I don't want to do on its own它有AI,处理后 办公室繁忙的工作 像开支报告, 我不想自己做
19It's really just built for this agentic world if you're building something new它真的只是为这个代理世界建造 如果你正在建造新的东西
20It's time to get Brex check it out at brex.com solutions start-ups link in the description是时候让Brex在描述中的 brex.com 解决方案启动链接中检查出来
21Mickey welcome back to the pod by the end of this episode.米奇欢迎回到舱 本集结束。
22What are people gonna learn?人们会学到什么?
23We're gonna understand what this bizarre phrase software factory means.我们要明白这个奇怪的词 软件厂的意思。
24I'm actually gonna show you how I run mine我其实是要告诉你 我如何运行我的
25It's a lot easier than you think and it's definitely model and harness agnostic比你想象的要简单得多 而且绝对是模型和不可知论
26So you don't have to purchase some different product to have a software factory.所以你不需要购买一些不同的产品来拥有一个软件厂.
27It's gonna be fun and it's gonna be simple会很有趣的 很简单
28okay, so you're gonna explain what it is why it matters how it works how to think about it by the end of this people are好吧,所以你要去解释它是什么 它是什么重要 它如何工作 如何思考到这些人的结尾
29just gonna be able to只是会是能够
30Boot up their own software factory if they want or if they think you know what this Ross Mike guide如果他们想或者他们觉得你知道罗斯・麦克的指南
31I don't I don't like software factories.我不喜欢软件厂
32I don't like what he's saying they can pass我不喜欢他说他们能通过的东西
33100% 100%
34With the term software factory, there's been a lot of like startups who've started and you know随着软件厂这个术语, 有很多像初创企业 谁已经开始,你知道
35I'm not here to knock anyone's hustle我不是来敲别人的
36But a software factory is但是一个软件厂
37Completely harness and model agnostic meaning it doesn't matter what model you use完全使用和模型 不可知论的意思 它并不重要 你使用什么模型
38It doesn't matter what harness you use你用什么绳子不重要
39It should work right because a software factory is more about someone's workflow skills and domain knowledge and it's packed up in它应该是正确的,因为一个软件厂 更多关于某人的工作流程技能和域知识 并包装在
40Specific skills that they use in their development process now他们现在在发展进程中使用的具体技能
41I want everyone to think like the last after the ability probably went on codex Claude code curse or whatever it is我希望每个人都能像上次那样思考 可能是因为Claude的密码诅咒
42And you just typed right you said I want to build this and it built it out for you你刚刚打的对 你说我想建这个 它为你建造
43You saw it and you didn't like it and then you made some changes, right?你看到它,你不喜欢它 然后你做了一些改变,对不对?
44And you saw the changes maybe you liked it你看见了变化 也许你喜欢它
45You deployed it to versell or to production and you're good to go or you keep kept on iterating你用它来画画画画画画画画画画画 也可以继续画画画画画
46That's the process the whole point of a software factory is in each step of the development process软件厂在开发过程中的每一个步骤 都有一个过程
47How can I best maximize the models capability to get the greatest output right?我怎样才能最大限度地发挥模型的能力 才能得到最大的输出?
48And also, how can I move fast right because if we're using the term factory而且,我怎么才能快速行动呢 因为如果我们在使用工厂这个词
49There's some sort of structure and speed and conveyor belt nature that allows me to ship as quick as possible有某种结构 速度和传送带 允许我尽快运送
50without losing不输
51Quality, that's the long bloated Michael Schumacher translate a definition of software factory质量,这就是长期膨胀的迈克尔·舒马赫 翻译软件厂的定义
52I haven't lost anyone hopefully Greg.我并没有失去任何人 希望格雷格。
53That was perfect.这是完美的。
54Okay, so好吧,这样吧
55Understood, but like why does that matter?明白了,但为什么这很重要?
56the reason why it matters is关键的原因
57Intelligence is continuing to increase.情报继续增加。
58我们有惊人的模型,如GPT 6 Astra a
59Good software factory allows you to systemize and use these models in a very efficient way良好的软件厂可以使这些模型系统化,并以非常高效的方式使用
60Versus just typing in and continue to go back and forth and I think it's better.Versus只是打字 并继续回转 我觉得这样更好
61I just show you how mine works我只是告诉你我的功用
62To give people an idea now现在给大家一个想法
63I'll give my skills are available for free no charge nothing like that我会免费提供我的技能 而不是那样
64But I don't want you to blindly copy me但我不希望你盲目地复制我
65I would like for you to think about it understand the process and then apply it yourself我想让你们考虑一下 了解这个过程 然后自己应用
66That being said I have这么说,我有
67About five or six files that make my software factory大约5到6个文件 使我的软件厂
68I have an agents dot MD file and for everyone who might not be aware with for age what an agents dot MD file is我有一个特工点MD文件, 对于每个可能不知道年龄的人来说 特工点MD文件是什么
69It's basically this one document this one markdown file.基本上就是这个文件 这个减记文件
70That's injected into the system prompt.注射到系统迅速。
71That's inject这是注射
72Sorry, not in the system prompt that's injected into the agent chat every time you communicate with an agent抱歉 系统里没有输入代理聊天的提示
73So every time I say hi and there's an agents dot MD file before the highest set the agents dot MD file asset所以每次我问好 和有代理点MD文件 之前的最高设置 代理点MD文件资产
74And what's cool about this file is I can sort of dictate how I want the agent to act and这个文件最酷的就是 我可以决定我如何让特工行动
75We actually did a video not too long ago Greg where I talked about most people's agent dot MD file is useless不久前,我们拍了一段录像 Greg 在那里,我谈到 大多数人的代理点MD文件是没用的
76because they were telling the agent empty file what the code looked like and因为他们告诉代理空文件 代码是什么样子和
77Already information that's in the code base that the agent can already know about but if you look at mine特工已经知道密码库里的信息了 但是如果你看看我
78There's a simple workflow and this workflow is something that's not native to the agent有个简单的工作流程 这个工作流程对特工来说不是本体的
79So it explains clearly how to do it and I'll walk you through every single step.所以,它清楚地解释了如何做到这一点, 我会走你的每一步。
80The first step is isolate第一步是隔离
81There's a skill called new feature and this is what it does.有一种技能叫做新特征 这就是它的作用。
82It says every new feature上面写着每个新特点
83Starts in a fresh get work tree branched from origin main so agents can work in parallel without conflicts开始从源头开始 工作树分支 这样代理商可以平行工作而无冲突
84Never built on me.从来没有建立在我身上。
85And if you know when Michael is on Greg's channel如果你知道迈克尔何时在格雷格频道
86There's always diagram.总是有图。
87So we're about to draw so with the first step when I'm working on a project and所以,我们即将画出这样的第一步 当我在做一个项目和
88I tell it to work on a feature.我告诉它工作 一个特色。
89The first thing it's going to do is isolate and what this basically means is you can think of它要做的第一件事是隔离 这基本上意味着你可以想到
90Greg and Mike's app you can think of Greg's and Mike app like the journey being you know格雷格和迈克的应用 你可以想到格雷格和迈克的应用 就像旅程 你知道
91We started here.我们从这里开始的。
92We started prompting here and this is when we launched a production.我们开始在这里催促,这是当我们推出一个生产。
93We've got thousands of customers我们有成千上万的顾客
94The way most people work with their agents is at every single step of the journey they're building a feature大多数人的工作方式 与他们的代理 是在旅程的每一步 他们正在建立一个特色
95They're building a feature.他们正在打造一个特色。
96They're building a feature and it's it's a very linear process他们正在构建一个特征, 这是一个非常线性的过程
97right one feature at a time one feature at a time one feature at a time and右一个特性 一次一个特性 一次一个特性
98If you ever try to work part like like with on multiple features the same time.如果你曾经尝试像工作一样 在多个特征上 同时。
99Sometimes there's conflicts有时有冲突
100There's issues people have you know, oh my agent deleted this file that overwrote this file有问题 人们知道, 哦,我的经纪人删除了 这个文件,
101What this first step isolate does is the following I'm going to show via diagram第一步的隔离是 我要通过图表来显示
102So let's say Greg was like I really don't like our landing page and I'm telling Greg, you know our因此,让我们假设格雷格是 我真的不喜欢我们的登陆页 我告诉格雷格,你知道我们的
103Our API calls can be faster when Greg works on this feature我们的API电话可以更快 当Greg工作在这个功能上
104What the agent does using my agents dot MD is it's going to create a new branch and you can think of a branch as特工使用我的特工点MD 会建立一个新的分支 你可以认为分支
105a copy paste of the exact moment where the app is应用程序的确切时间的复制粘贴
106So Greg is going to work on a new branch a new work tree of the app所以Greg打算去一个新的分支工作 新的工作树的应用
107A work tree is basically a copy of the app工作树基本上就是应用程序的复制品
108Like you can think of someone copying a block of text pasting it in a new document就像有人在新文档中 复制一整块文字
109Working on that document and at some point going to merge it back in the original document.正在研究该文件,并在某个时候将其重新并入原始文件。
110So that's what Greg is doing格雷格就是这样做的
111He has a new document working on that feature他有一份新文件正在研究这个功能
112And guess what Mike has another feature has to work on so I can do it at the same time or I could do it a猜猜迈克有另一个功能 需要工作 所以我可以同时做到这一点 或者我可以做到这一点
113Different time.不同时间
114I now have my own branch我现在有自己的树枝
115Here's what's cool这是很酷的
116Me and Greg and another person or you yourself with 50 different agents can work on multiple features我和Greg还有另一个人 或者你和50个不同的特工 可以研究多个特性
117And there's not going to be an issue of one agent overstepping on another agent's work也不会出现一个特工越位的问题
118This happens a lot to people if you ever see tweets Greg of people saying man如果你看到Greg说男人的微博 这种事对人们来说很常见
119Like I was working on this and the agent deleted a bunch of stuff就像我在忙这个 经纪人删了一堆东西
120Almost always it's because people have their agents working on different features on the same branch几乎总是因为人们的特工 在同一分支上工作着不同的特征
121And the agent will do what you tell it to do经纪人会照你的话去做
122So you told it to update the landing page, but then you also told it to make the api calls faster所以,你告诉它更新 登陆页面, 但你也告诉它 使Api呼叫更快
123And now it's noticing oh these pages the way they're calling the api suck现在它注意到了哦 这些页 他们所谓的猿吸
124Let me delete these and write these again, but then it was working on a design on that page.让我去删掉这些,再写一遍, 但后来它正在研究那页的设计。
125So issues start to arise所以,问题开始出现
126Isolate allows me to work on multiple features at the same time孤立让我同时研究多个特性
127Parallelly without having an agent overstep on an agent与此同时,没有代理人越位
128This is the first step of my workflow.这是我工作流程的第一步。
129This isn't native to the agent.这对特工来说不是本地人
130So this所以这个
131makes sense to exist in有道理存在于
132the agents.md file and when代理 . md 文件及何时
133Greg is done or when i'm done and i'll explain like the workflow for this but just to close the loopGreg已经搞定了 或者等我做完了 我会解释的 就像这个工作流程
134When Mike's done all I do is当迈克完成了我所做的一切
135Merge these changes back and then what Greg's done把这些变化合并起来 然后Greg做了什么
136He can either do it before me or he can do it after me他要么在我之前做 要么在我之后做
137But we're merging into the into the main但是,我们合并到主
138Document and there's not going to be conflicts because we worked on a copy at first文件和不会有冲突 因为我们刚开始就研究了一本
139So this allows me to ship fast with multiple agents if I show you这样我就能跟多个探员一起快船
140And I can maybe show here if I show you my terminal if you notice there's如果我告诉你我的终点站 如果你注意到
141Four tabs of bezelo three of them finished四块贝赛罗三块
142But I literally have four different features on the same exact app one's working on an email client但我实际上有四个不同的功能 在同一个准确的应用 一个工作 在电子邮件客户端
143The other one is working on a computer environment a linux environment另外一个在电脑环境上工作 一个Linux环境
144The other one is doing a landing page update so I can work on these confidently另一个正在更新登陆页 这样我就能自信地处理这些
145While still having isolation.还在隔离
146It's not native to the agent经纪人不是本地人
147This agents.md plus the new feature skill这个代理商Md加上新的特性技能
148Allows me to do that i'll pause here any questions Greg so far允许我这样做,我会暂停 在这里任何问题 Greg 到目前为止
149Yeah, I mean it's是啊,我是说
150Like crystal clear.如结晶清净.
151I think it's if the way I think about it is if you actually had a team我认为,如果我的想法是 如果你真的有一个团队
152Of engineers and you are trying to build an app you obviously wouldn't be工程师和你想制造一个应用程序 你显然不会
153Building it all on main and having everyone just being pushing to main and stuff like that.把它全部建在主上, 让每个人只是推向主 之类的东西。
154That just doesn't make sense.这根本说不通
155I think um我觉得嗯
156You know, i'm non-technical你知道,我不是技术
157Um, and I think you have all of a sudden all these non-technical people starting to build apps and they're running into this嗯,我想你 突然,所有这些非技术的人 开始制造应用 他们跑到这个
158You know, you you basically made mention you're kind of like, oh hey, man你知道,你基本上说 你有点像,哦,嘿,男人
159Like sometimes it happens that agents overwrite stuff碞钩Τ 牡贝穦
160I mean the truth is 95 percent of the time if you're built it我的意思是,真相是95%的时间 如果你建造它
161You're going to have agents kind of mess up and overwrite things.你会有特工 那种混乱和覆盖的东西。
162So this is like这就像
163To me this you know makes a lot of sense and it's sort of a bigger idea对我来说,你知道这有很多道理, 这是一个更大的想法
164Which is how do you structure?你是如何构建的?
165your您的电话
166You know the way you work with agents to be more like a team你知道你和特工合作的方式 更像一个团队
167versus
168Uh, you know, yeah, no just more like a team嗯,你知道,是的,没有 只是像一个团队
169Yeah, I mean and I mean it's a better name a team is better than isolate.是啊,我的意思是,我的意思是 这是一个更好的名字 一个团队比孤立更好。
170I might take the team我可能会带球队去
171but that's但这是
172That's why i'm the marketer and you're the uh, the engineer所以我是推销员 而你是工程师
173But yeah, that's basically what it is, right?但是,是的,这基本上是它是什么,对不对?
174So isolate sounds like所以隔离听起来像
175Some sort of like whey protein that i'm yeah某种像Whey蛋白质,我是啊
176So if you guys check the link there will be a name update very soon所以,如果你们检查链接 很快会有名字更新
177But that's basically what this does it allows for me to have multiple agents working on different tasks all at the same time但基本上这能让我有多个特工 同时执行不同的任务
178Without overstepping each other right and there's also a cleanup process没有越位的权利 也有清理的过程
179I won't get into like once the branch like once the work is merged in the work tree gets deleted工作树上的工作一旦合并 我就不会像分行一样被删掉
180All that type of stuff happens.所有这种事情都会发生
181So that's step number one.所以这是第一步。
182Number two is the actual building and this I find二号是真正的建筑,我发现
183Has this was a skill that I shared originally way back, but now it's part of my workflow这是否是我原先分享过的一种技能?
184And I shared with everyone is code structure我和大家分享的是代码结构
185We're going to talk about models soon我们马上就要谈模特了
186but one thing about但有一点
187Uh, the models is they are great at doing the work模特儿很擅长做这个工作
188It just might not be done the best way, right?这也许不是最好的办法 对吧?
189Especially when writing code特别是写代码时
190There's for example fable is I would say one of the first models to really举例来说,有寓言,我会说 最早的模型之一 真的
191Write code that I would say, huh?写密码,我会说,是吧?
192like喜欢
193This is better than some of the best engineers i've seen right like fable runs writes really good code这比一些最好的工程师好 我见过右 像寓言跑写 非常好的代码
194But even astra which is workhorse most powerful model my favorite model但即使Astra是最强大的模型 我最喜欢的模型
195Some of the code quality decisions it makes is uh, and it's not that the model's not capable有些代码质量决定是 呃 并不是模型不能
196The model's is just getting it done.模型的只是把它完成。
197And if it could get it done in a sloppy way如果能用草率的方式完成的话
198It'll get it done in a sloppy way这会很草率地完成的
199What the code structure skill does it writes it in what's called a service layer architecture won't bore everywhere它的代码结构技术 写在所谓的服务层架构上 不会在任何地方无聊
200But basically it's written in a way where let's say you had you needed human intervention但基本上写的方式 可以说你需要人类干预
201You hired a developer very easy for the developer to catch on or you yourself are a developer very easy for you to catch on你雇了一个开发商 很容易让开发商赶上 或者你自己是开发商 很容易让你赶上
202But even for your agents for them to come back to the code and read the code但即使你的特工 让他们回到密码 并读到密码
203They'll be like, oh like yeah, like it makes sense他们会像,哦,是的,就像它有意义
204Like i've had like i've had gbt 5.6 soul write code and it works就像我有GBT 5.6 灵魂写代码 它工作
205It does what it's supposed to do它做它应该做的
206But then i'll have fable review the code and fable will be like this is disgusting like there's duplications但我会有寓言 检查代码和寓言 将像这恶心 像有重复
207There's functions all over the place.到处都有功能.
208There's dead code, right?有死密码,对不对?
209So just because it works doesn't mean it's written.所以,仅仅因为它的工作不代表它是写出来的.
210Well, this skill这个技巧
211Gives the agent a guideline on how to write code.给特工一个如何写代码的指引.
212So going back to this diagram again所以又回到这个图表
213I'm working on a new feature, right?我在研究一个新的功能,对吧?
214the first thing that happens is isolate the second thing that happens is and i'm gonna I hope people are seeing the第一件事是隔离第二件事 我希望人们能看到
215Factory nature of it.工厂性质
216The second thing that happens is the building and in building we're using a skill called第二件事是建筑和建筑 我们使用一种叫做
217code structure and basically in this process when i'm telling the agent oh build me密码结构 基本上在这个过程中 当我告诉代理OH建立我
218This ending page build me这个结尾页面造我
219Of this feature, for example例如,这一特点
220I've been working on this app and the one feature that I wanted built is I wanted a skills我一直在研究这个应用,我想要的其中一个特点 就是我想要技能
221Like repository where I can have different agents of mine connect to this app and store the skills and I basically told the agent就像寄存器 在那里我可以有 不同的特工 我的连接到这个应用程序 并存储技能 我基本上告诉了特工
222Build me that and as it was writing the code it kept referencing the code structure帮我建这个,当它写代码的时候 它一直引用代码结构
223Skill, so it started to write code in a way that me as a developer I can reviewSkill,所以它开始写代码的方式 我作为一个开发者,我可以审查
224But you know god forbid I need to hire somebody to review the code但你知道上帝禁止我雇人审查密码
225It's not going to be the slop cannon where they're confused and they don't know what to do or they overcharge you不会是大炮 在那里他们困惑, 他们不知道该怎么办 或者他们多收你钱
226It's written in a way for a developer to understand and I find that它写的方式 一个开发者理解 我发现
227If you use another agent that doesn't have context on your code base, it will understand it very well如果你用另一个没有上下文的代理, 它会非常了解它
228So first we isolate excuse the bad name所以,我们首先隔离 借口的坏名字
229Second we build right and all of these are done in an opinionated way that allow the agent to move第二,我们建立权利,所有这一切 都以一种有见解的方式 使代理移动
230Fast and to do the thing as best as possibly尽可能快做最好的事
231Can be可能会
232I think this makes sense, right?我觉得这样很合理,对吧?
233Great.不错
234Yep.
235Keep going继续
236So step number three is prove.第三步就证明了
237Here's the thing是这样的
238You know agents can't pinky promise你知道特工们不会答应的
239Right, so like if you push an agent enough well gpt six astra is好吧,所以如果你推一个 足够好的经纪人 Gpt 6 Astra是
240The reason why it's a big leap in model capability is like it like the like it is the least hallucinating model模型能力大跃进的原因 就像是幻觉最小的模型
241Which is fantastic这太棒了
242but like that model aside most models you can kind of push to like但是,像那个模型 除了大多数模型 你可以推那种喜欢
243Lie or to believe something or it sometimes will straight up be like oh撒谎或相信什么 否则它有时会像OH
244I actually realized I didn't do this work for you我其实意识到我并不是为你做的
245So one thing that I have the agent prove the agent do is to prove the work that it did所以有一件事,我让经纪人证明 经纪人做的是证明它所做的工作
246And this is probably my favorite skill这也许是我最喜欢的技巧
247There's two skills involved in this evidence-driven testing and basically what evidence-driven testing does if your machine has the capability to do it这种由证据驱动的测试涉及两种技能 基本上由证据驱动的测试能做什么 如果你的机器有能力做
248it will literally record the它会记录
249Before state meaning before the feature or let's say you're trying to fix a bug在功能前的状态意义之前 或者说你想修一个错误
250It will record the bug in action它会记录运行中的错误
251And what it will do after is after it's done fixing it will record a working version after之后它要做的是完成修复后 记录一个工作版本
252Right, so this is what evidence-driven testing does it proves that the fix对,所以这是证据驱动的测试 证明了固定
253Actually was made because you'll be surprised sometimes the agent will write the code and it'll think it worked其实是因为你会很惊讶 有时特工会写代码 它会认为它有用
254But it didn't test it or it proved that it worked and it just told you it worked但是它没有测试它,或者它证明了它有效 它只是告诉你它有效
255So I need to make sure that the agent actually proved this work所以我得确保特工能证明这工作
256But let's say let's say your machine doesn't have the capability to do that但假设你的机器没有这个能力
257There's another skill called before and after and I can actually let me pull up a pr to show this greg because I think之前和之后还有一种技能 我其实可以让我拉个P来展示这个格格
258It is better show you than I tell you不如告诉你
259This is a pr my agent made这是我的经纪人做的试镜
260I didn't make this the agent made this and I wanted it to create an admin email page and connect to an email service我没有让这个代理做这个 我希望它能建立一个管理电子邮件页面 并连接到电子邮件服务
261that I made我做了一个
262Look at what it did.观其所作.
263It showed me a before state where the page didn't exist.它告诉我一个之前的状态 那里没有页面。
264It just it didn't只是没有
265And it shows me the after state它给我看之后的状态
266Right.
267So for every feature that i'm building every pr that i'm doing所以,每一个功能,我正在构建 我所做的每个pr
268I am getting a before state and after state and the reason why this helps this helps me like我得到了一个前州和后州的原因 和为什么这样做帮助我喜欢
269I'll be honest.我会说实话的
270I'm not reading all my code nowadays like I might like okay did this我今时不读所有密码,我可能喜欢这样做
271Like let's see让我们看看
272Barely, it's a skim.勉强,是滑行.
273It's a skim situation这是个滑稽的情况
274I'll be honest the skims have even become less and less now老实说,现在的滑板越来越少了
275But 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但我现在所做的很多事情是 我在前端工作 在那里我确保它遵循
276My code structure skill and I make sure i'm getting before and after screenshots, right?我的密码结构技巧,我确保 我得到前后截图,对不对?
277I can even pull up.我甚至可以拉起来。
278Let me pull up another让我再拉一拉
279Example here's a more prominent example where I was working on a specific举个例子,我正在研究
280A computer feature where I wanted to give my agent a computer我想给我经纪人一台电脑的电脑功能
281And it just didn't work right the first run didn't work第一次跑步没有成功
282Um, I didn't even have like my software factory set up嗯,我甚至没有像 我的软件厂设置
283I was working on a different machine and it pushed the code and it didn't work as you can see nothing's going on我研究了另一台机器 它推开了代码 它没有工作,因为你可以看到什么都没有发生
284I told my agent it didn't work use the skills use the factory我告诉我的经纪人没有用工厂的技巧
285And this is the after screenshot with it actually using the app, right?这是后面的截图,它实际上使用 应用,对不对?
286So these skills the prove and the before and after因此,这些技能 证明和前后
287Force the agent to give me强迫特工给我
288factual like a before and after proof whether it's a video or事实就像一个前后 证明它是视频还是
289It's screenshots and there are times where it'll do the before but then it'll do the after and it'll be like这是截图,有时它会做 之前,但后来它会做
290Oh, I just looked at the after screenshot or the after video and I didn't really finish the feature哦,我刚刚看了之后的截图 或之后的视频 我并没有真正完成这个功能
291So i'll go back to what i'll go back to building所以,我会回到什么 我会回到建筑
292Right.
293This is the factory nature of it.这就是工厂的性质。
294I didn't have to tell it我不用说出来
295Oh, but yeah, you failed your before and after go finish哦,但是,是的,你失败了 你的前后去完成
296The the skills are in in a way where the agent knows, okay技术在一种方式 经纪人知道,好吗?
297The before and after criteria hasn't been met.前后标准未达.
298I have to go continue on building, right?我必须继续建设,对不对?
299so this所以这个
300Gives me a visual representation of the work that's been done让我可以直观地描述已经完成的工作
301It makes reviewing especially if you're a non-technical person特别是如果你是非技术人员的话
302It makes reviewing easier because you know, I just look at some screenshots or a video, right?它使审查更容易 因为,你知道,我只是 看一些截图或视频,对不对?
303So in the building process at some point所以在建设过程中
304I'll have a pr where I get to see before and after and even though I might not understand all this mumbo jumbo我会在之前和之后看一看 虽然我可能不明白这些蠢事
305It it will it will explain it will show me visual它会解释它会给我看
306Um proof that the work's been done now.证明工作已经完成了
307I already hear somebody asking what if the proof is not visual我已经听到有人问 如果证据不是视觉的
308and there's actually其实还有
309um a pr i'll show someone performance嗯,一个pr,我会展示某人的表演
310I think it's this one我想是这个
311Okay, so I wanted to do another example here.好,我想再举个例子
312I wanted to do a performance update我想做一个表演更新
313Meaning for one of the apps I was building the clicks weren't snappy enough like you can see now everything is snappy意思是我正在制作的应用程序 点击不够快,你可以看到现在一切都很快
314It's loading fast.快装了
315That wasn't the case不是那样的
316So I told the agent fix it and it did所以我告诉经纪人修好了它
317And it did end up giving me screenshots最终它给了我截图
318But let's say this was like something that it couldn't give me screenshots for但是,让我们假设这是的东西 它不能给我截图
319It will write tests and then it'll give me the results in this case它会写测试 然后它会给我这个案子的结果
320It checked the speed at which the page was loading before in this case one of the pages 815 milliseconds它检查了在815毫秒的页前装入的速度
321This is a sin in web development like this cannot happen and mind you this was written by gbt 5.6 soul, right?这在网络开发中是罪过 像这样是不可能发生的 记住这是Gbt 5.6灵魂写的 对吧?
322great model好样的
323But it got it down to 60但它把它降为60
324817 61 so I have again actual proof81761,所以我又有实际证据了
325By the agent that it's done what it said it did in the review process被代理人说已经按审查程序做了
326I'll pause right there我在这里暂停一下
327Anything I've missed so far gregor does it so?我错过了什么吗?
328you know你知道吗
329if you're trying to build a如果你试图建立一个
330Software factory trust obviously is going to be a big part of that软件厂的信托显然将成为其中的一大部分
331And I think what you're saying is hey we're if you know, you're gonna if you're gonna have all these agents, you know我想,你的意思是,嘿,我们是,如果你知道, 你会得到所有这些特工,你知道的。
332Building features building apps.建筑特色建筑应用.
333We need to be able to trust the things that it's going to create because what you're saying is我们需要能够相信它将创造的东西 因为你说的是
334Here are a couple skills that allow you as like the agent manager where in this case这里有几种技能,可以让你像代理经理一样 在这个情况下
335Mickey you're like you are the agent manager, right?米奇,你就像你是经纪人,对不对?
336You're not you're you're not deep in the code anymore你不是你 你不再深入密码
337You're kind of just looking at what's happening你只是看看发生了什么
338and what's cool about还有什么很酷的
339The before and after visual stuff is it's kind of good for视觉之前和之后的东西 是种好的
340You know millennials and gen z or people on you know, instagram stories or snap stories stuff like that你知道千禧年和Gen z或人们 你知道,Instagram故事 或快速的故事之类的东西
341It's almost like you're just like clicking through story to story.这几乎就像你只是 点击的故事到故事。
342Yes.
343No, like it's it's it's bite size不,就像它是咬的大小一样
344Basically, that's literally it right there, right?基本上,这是 字面上就在那里,对不对?
345It's it's allowing me to build trust with the agent because and what's funny is like you said earlier它允许我和经纪人建立信任 因为有趣的是你刚才说的
346And it kind of clicked in my head我脑海中闪烁着
347This is what like normal organizations used to do with their engineers, right?这就像正常的组织 曾经与他们的工程师,对不对?
348It's like you build a feature and then there was someone whose job like a senior engineer whose job was to review your work就像你造了个特写 然后有人像高级工程师一样 来审查你的工作
349And you would have this pr with this description你会有这个 pr 与这个描述
350And it would show okay.它会显示好的。
351Basically, this is the work that i've done and this is the test that i've written, right?基本上,这是我做过的工作, 这是我写的测试,对不对?
352So it's basically the same thing except now we're doing it with machines like that's essentially it and an example of the video所以,它基本上是一样的 除了现在,我们正在做 它与机器 这样基本上它和视频的例子
353um
354This is a this is me using cursor cloud agents这个是我用光标云剂
355It says proof of improvement and like this is a video of the agent at work上面写着改进的证据 像这样的 是工作代理的录像
356Using the app right so this allows me to your point like instagram tiktok.使用软件,这样我就能像Instagram tiktok那样讲到你们的观点。
357I can watch this我可以看这个
358And see all right.而见一切法.
359Okay, the agent actually built this and it works好吧,代理 实际建造了这个,它的工作
360This makes it easy for me to not have to read code and I can just merge away and live my best life这让我很容易不用读代码 我就可以融为一体 过上最好的生活
361And go outside and touch grass出去摸摸草丛
362So there's that now we have现在我们有了
363One final step which is the ship step now the ship step I mentioned before and after最后一个步骤,就是现在的船步,就是我在前后提到的船步
364But there's the skill called grep loop which uses a third party service named grep tile但是有一种叫做grep循环的技巧 它使用第三方服务 叫做grep瓷砖
365Which is a code review agent now you don't need to use a code review code review agent你不需要用代码审查 代码审查代理
366But if you're really serious about building software and it's going to be used by users但如果你真的想造软件 用户会用它
367I highly suggest using some code review agent grep tiles my favorite code code rabbit macroscope.我强烈建议使用一些代码审查代理grep 瓷砖 我最喜欢的代码 兔子宏观镜。
368There's tons of good ones out there外面有很多好东西
369But me using grep tile they have this skill called grep loop但我用grep瓦 他们有这种技能叫做grep环
370And basically what this does and I think i'll show it with this pr基本上,这是做什么的 我想我会显示它与这个PR
371Grep tile leaves these summaries and then it gives feedback.Grep瓷砖留下这些摘要,然后给出反馈.
372For example, this was the initial feedback it gave例如,这是它最初提供的反馈
373Um on the pr there was some issue with you know pagination right here嗯,在Pr上有一些问题 你知道Pagination在这里
374Some menu space wasn't preserved一些菜单空间没有保留
375So it gave this feedback meaning the agent that wrote the code missed these things and that's fine所以它给出了这个反馈,意味着 写代码的特工错过了这些东西,这很好
376It happens right even humans miss these things, right?它发生的权利,甚至人类 错过这些事情,对不对?
377But what happens is grep tile not only gives feedback it gives a confidence score但发生的情况是grep瓷砖 不仅给回馈 也给信心分数
378Now this is a five out of five because after the feedback was given这是五分之五 因为反馈后
379If you see my name and then this line over here the feedback was addressed my agent addressed the feedback如果你看到我的名字,然后这行 这里的反馈是给的 我的经纪人给的反馈
380But before the feedback was addressed this score was a three out of five但是在反馈被处理之前 这个分数是五分之三
381What that tells my agent is that there are things that it missed and it needs to look at it这告诉我的经纪人,有些东西 它错过了,它需要看它
382What the grep loop skill does and by the way, this happens automatically someone doesn't have to write grep loop顺便说一句,Grep循环技术的功用是自动发生的,有人不用写Grep循环
383The agent will do it automatically what it does is as follows特工会自动执行以下任务
384It says it opens the pr with the before and after proof embedded in the description上面写着它打开了pr 上面写着在描述中的前后证据
385Whenever the change has a visible surface measure numbers or output pairs when it doesn't it'll give you numbers right or screenshot当变化有可见的表面测量数字或输出对时,它不会给你正确的数字或截图
386And then look what the agent does it runs grep loop or grep grep loop apps然后看看代理运行的grep循环或grep循环应用
387The difference is grep loop apps.区别在于grep循环应用.
388If your file change was like 10 000 lines plus如果你的文件更改像 1万行加
389That skill activates again.这技能又激活了
390You don't have to worry if the agent does it itself, but look what it does.你不必担心 经纪人自己做,但看看它做什么。
391It says上面写着
392Grep tile reports five out of five until resolved comments finished by presenting pr urlGrep 砖块报告五分之五,直到通过提交 pr url 完成已解决的评论
393Basically what this means is it will the agent will take the feedback it it got基本上这意味着 经纪人会接受反馈
394It will go back to build它会继续建造
395So check this out.看看这个
396Let's say we're at the point.说如是等正觉.
397Let me write this down.让我写下来。
398We're at the point.我们到了
399We're at built.我们在建。
400We're at我们到了
401Ship right and it's now running grep loop船右转,它现在运行Grep环
402When I get a feedback score a confidence score and it's three out of five当我得到反馈 得到一个信心得分, 这是三五
403What now happens remember we were talking about loops this is actually a good loop what happens is this goes back to building现在发生的事情 记得我们在谈论环路 这其实是一个很好的环路 会发生什么
404Now the agent goes back to step two现在特工回到第二步
405It starts to build after it builds what it does.它在建造它的工作之后就开始建造。
406What does it do it proves and then it ships这能证明什么,然后它飞船
407And here's what happens automatically the agent will wait for a new score事情是这样的 代理商会等着新的分数
408Grep tile then gives us a four out of five.Grep瓷砖再给我们五分之四
409We caught some things but there's one final thing we missed我们抓到一些东西,但还有一件事我们错过了
410Go back to building回到楼里去
411Right it builds it proves and guess what it does greg it ships and now I have a five out of five对,它造就了它 证明并猜它在做什么 船,现在我有五分之一
412When I have a five out of five当我有五分之一的时候
413What's left now is for me to merge and I think maybe I have an open pr right here so I can show you that looks like现在剩下的是让我合并 我想也许我有一个公开的棱镜就在这里 这样我就可以让你看看它看起来像
414What's left for me?还剩什么给我?
415Is to just click merge就是点击合并
416when I click merge what happens is当我点击合并 会发生什么
417This is finally back in the main copy of the app of the main version of the app终于回到了应用程序主版的主版
418And I did this while working on 15 either我在15号工作时也这么做了
419simultaneous version同时版本
420Sorry对不起
421Features 15 different features with different agents sub agents all that type of stuff what this allows and this is the factory nature具有15个不同特性 具有不同的代理子代理 所有这种类型的东西 这是工厂的性质
422It allows for an agent to have an isolated instance where it can work on its own它允许一个特工拥有一个孤立的例子,可以自己工作
423It has guidelines on how to build it has a methodology to prove its work它有如何建设的准则,有方法证明它的工作
424And then it has an external service proving its work checking its work然后它有一个外部服务 证明它的工作 检查它的工作
425And if its work is not up to standard it has to continue in the loop working until that standard is met如果它的工作达不到标准 就必须继续循环工作 直到达到标准
426Once I get a five out of five, this is when I enter the picture一旦我得到五分之一, 当我进入图片
427This is what a software factory is notice.这是软件厂的注意。
428We didn't talk about model.我们没谈模特儿
429We didn't talk about harness我们没说带子
430It's all workflows skills and a little bit of domain knowledge, right?这是所有的工作流程技巧 和一点点的域知识,对不对?
431Not everybody works the same.不是每个人都一样
432This is how I work这就是我的工作方式
433But I found great results但我找到了伟大的结果
434With this i'll pause right here greg.有了这个,我会在这里暂停。
435Let me know what I need to further explain or告诉我我需要什么 进一步解释或
436Or add on或加进
437I i'm like what's clicking in my head is just really this我觉得我脑海中点的就是这个
438physical factory analogy for a software factory软件厂的物理工厂类比
439So just to like summarize i'm going to tell you how i'm i'm singing.所以,只是喜欢总结 我要告诉你 我如何唱歌。
440I want I want your thoughts我要你们的想法
441So like the isolate piece and the step one所以像孤立的棋子和第一步
442Um, that's like a factory taking a custom order and you know giving it its own station嗯,这就像一个工厂 采取定制订单 你知道它自己的车站
443So it doesn't mess with the rest of production所以它不会和生产的其他部分搞乱
444Right, so you you you know, you called it a work tree, you know in software对,所以你知道,你称之为工作树, 在软件上
445It's a branch a work tree an isolated environment, but you know, that's the basic concept.这是一个分支 一个工作树 一个孤立的环境, 但你知道,这是基本的概念。
446Yes number two是,二号
447Build right build is the assembly line建造正确的建筑是组装线
448So the agent is actually like cutting and welding and assembling and wiring the product所以这个药剂就像切开、焊接、组装、接线
449Obviously in software, you're not doing that.很明显,在软件里,你没有这样做。
450You're writing code.你在写密码
451You're changing files你在改变文件
452You're adding structure to things you're actually creating something that's real in a software in a software sense你正在把结构加进你实际上创造的东西 在软件意义上的软件中是真实的
453Step three is步骤三是
454The proving step which is basically a fancy way of saying quality control证明步骤 基本上是一种美妙的方式 说质量控制
455So basically right like before anything leaves the factory someone has to test it所以基本上就跟出厂前一样 得有人去测试一下
456You're not just going to like create a product and not have people test it like does it你不只是喜欢创造一种产品 也不要让别人去测试它
457Turn on does it does it fit does it break under pressure like all the things I you know打开它合适吗? 它在压力下破解 就像我所知道的一切
458I'm picturing like a car factor or something like that我想象的就像汽车因素之类的
459in software软件
460you know, you can run tests like你知道,你可以运行测试像
461Well, you can run tests you can preview it you can do logs you and you know the screenshots you showed and then lastly你可以运行测试 你可以预览 你可以做日志 你知道你显示的截图 然后最后
462the shipping piece运输块
463Um, it's basically like once it passes quality control, you know, it's going out the door嗯,它基本上就像一旦它通过质量控制, 你知道,它走出去的门
464But there's going to be some things that you have to like let you know但有些事情你必须知道
465uh
466You're gonna have to merge it.你得把它合并起来
467You're gonna have to deploy the pr you're gonna have to do release notes你必须部署PR 你必须做发布通知
468You're gonna have to you know你必须要知道
469Give feedback back to the product team给产品组回馈
470Because maybe it doesn't pass quality control and then you have to like do that loop again, right exactly因为也许它不会通过质量控制 然后你必须再次喜欢做这个循环,对吗?
471I think I might actually rename everything you like i've written to what you said because like now i'm realizing like oh我想我可能真的 重命名你喜欢的一切 我已经写到你说的话 因为像现在一样 我意识到像哦
472Yeah, my names are terrible that says makes sense.是啊,我的名字是可怕的 说有道理。
473That's exactly how this works就是这样的
474Cool.凉爽。
475So basically what we're doing here is we're taking a factory所以,基本上,我们在这里做的是 我们要一个工厂
476And we're making a software factory basically so and this is why like i've seen again not to knock我们正在做一个软件厂 基本上是这样 这就是为什么我看到 再次不要敲门
477People startups and products and stuff like that like a software factory is not a product.像软件厂那样的创业企业和产品 都不是产品
478It's not a special harness这不是特别的绳子
479It's not a like oh this company built a software又不是公司造的软件
480No, a software factory is literally just a bunch of markdown files不,一个软件厂 字面上只是一堆减记文件
481And this is also another insane thing off topic.这也是另一个疯狂的话题。
482Maybe a different video is也许另一个视频是
483Some startups are now现在有些初创者
484An agent with a couple markdown files, right?一个特工有几份降级文件,对吧?
485We've really entered that time我们真的进入了那个时代
486So I uh hope uh, this made sense for everyone and this excites everyone所以,我希望,嗯, 这让每个人都有道理 和这个激动每个人
487I'm very excited with the time we're in right now because a lot of things are possible now我对我们现在的时间感到很兴奋 因为现在有很多事情是可能的
488100 I mean, no, this is this is insane that you're actually able to do this.100,我的意思是,不, 这是疯狂的,你实际上能够做到这一点。
489It's cool that you这很酷,你
490people like you are like像你这样的人
491Sharing this because I think it's it's worthwhile.分享这个,因为我觉得这是值得的。
492I want to just do one quick note on我想说一句
493Um grep loop or any code review software, you know, I think if you're serious, you know嗯,grep循环 或任何代码审查软件, 你知道,我认为 如果你是认真的,你知道
494No affiliation with grep loop, um or anything like that没有与grep循环,嗯或类似的东西
495But I think if you're serious about creating software having you know some code review但我想如果你真的想 创建一些软件... ...你知道一些代码审查
496software is软件是
497Pretty like I I don't understand why you wouldn't use a grep loop a code rabbit one of these tools something right like我好像不明白你为什么不用Grep 循环密码兔子... ...这些工具之一...
498Because again if you have like, you know因为如果你有这样的,你知道
499We in in business and then I know because a lot of business people are watching我们做生意,然后我知道 因为很多商人在看
500You know你知道吗
501We take the service we provide and all that stuff seriously我们认真对待我们提供的服务和所有的东西
502But it seems like with building software like we just don't care right and if you have people who are going to use your app但是,它似乎像 建造软件,我们只是不关心的权利 如果你有的人 谁要使用你的应用
503Like I don't know like there's a level of like empathy I have for the user on the other side我对另一边的用户有同情心
504And you know like a lot of these like startups because they've raised the jillions of dollars你知道很多像初创企业一样的 因为他们筹集了巨款
505Like they have a lot of free tiers like you know就像他们有很多免费的等级,你知道的
506You can cycle through free tiers and use a bunch of this stuff for free, right?你可以通过免费的阶梯循环 免费使用这些东西,对不对?
507So 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所以,我非常鼓励你做一些 你认真的东西 你热衷于我 使用任何种类的代码审查代理
508Yeah, cool.是啊,凉爽。
509Thanks for coming on.谢谢你能来
510Thanks for sharing the sauce.感谢分享酱汁。
511I'll include links for where to follow我将包含链接 用于跟踪
512Mickey on the internet on youtube all those places his his software that he's creating toMickey在YouTube的互联网上 将他的软件放在他制作的
513go give him a follow and去跟踪他
514Dude i'll see you next time.伙计,下次见
515I appreciate you.谢谢你
516Greg is always.格雷格总是。
517Thank you everyone for showing love and watching感谢大家的爱和观看
518And yeah, we'll see you in the next one是的,下次见
该视频共有字幕 519 条。解锁更多字幕为会员功能,请移动到 价格