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