Factory 如何用 Claude 构建自主软件工程:从 Droids 到无人值守工厂
原题How Factory is building autonomous software with Claude
推荐理由Factory 创始人以银行遗留系统迁移解释经验复用与自主执行的关系。适合思考模型、运行框架和公司流程应如何随能力提升共同调整。
看前速览
Factory 创始人 Matan 介绍 Droids、规划模型与组织工作流如何共同演进,让软件工程从反复监督转向更有价值的判断。
企业复杂性塑造了 Factory 的自主化目标
混合语言、历史代码和组织习惯,使产业环境成为解决有用代码生成问题的关键场景。
长期自主运行需要信任与可配置流程
Droids 可以监测、调查并提出修改,但客户了解自身业务,需要决定系统如何融入组织。
规划质量直接影响监督成本
Matan 认为上游规划失误往往很晚才暴露,更强的前沿模型让长期委派更可行。
产能增长让客户价值判断更重要
能交付数百项功能后,真正困难的是判断哪些变化能让客户更满意。
模型、harness 与公司必须共同演进
模型吸收原先由工具层承担的能力后,团队需要重新设计支撑机制与工作流。
完整摘要
Matan 从理论物理和程序合成转向创业,因为真正有价值的代码生成问题存在于大型企业的混合语言、历史系统与复杂流程中。Factory 从一开始就以软件工程自主化为目标,早期市场尚未成熟的时间也让他逐步学会招聘、产品和销售。
他设想的无人值守软件工厂,可以让 Droids 连续工作数天或数周,监测上线变化、在沙箱复现问题、提出修复并继续观察结果。信任和客户配置能力十分重要:企业应能按自身业务塑造系统。银行 COBOL 现代化案例中,他称第二次迁移所需人工参与减少了 90%,但没有提供独立测量或完整实施方法。
前沿模型的关键价值体现在规划和协调,因为规划出错可能到消耗数十亿 Token 后才被发现。减少监督后,人类更需要判断哪些产出真正改善客户体验。Matan 用模型、harness、公司工作流三层解释演进:模型会不断吸收旧有工具层能力,团队也必须重做设计。他强调与 Anthropic 合作中的可靠性、安全约束和共同目标,最后建议创业者从无法停止思考的问题出发。自主化与效率成效仍属于创始人在官方合作访谈中的陈述。
章节
文字稿
简要描述Brief Description
Factory 如何借助 Claude 构建自主软件How Factory is building autonomous software with Claude
目录Table of Contents
- 简介Intro
- 从弦理论到创办 FactoryFrom string theory to founding Factory
- 使命:实现软件工程的自主化The mission: autonomy for software engineering
- 为时过早的教训Lessons from being too early
- 机器人与“黑暗工厂”Droids and the "dark factory"
- 一项人工投入减少 90% 的 COBOL 现代化改造A COBOL modernization with 90% less human effort
- 当 Droids 需要前沿模型时When Droids need frontier models
- Opus 带来的突破:减少人工监督What Opus unlocks: less human oversight
- 交付 300 件产品,并重新思考什么才重要Shipping 300 things and rethinking what matters
- Anthropic 合作伙伴关系The Anthropic partnership
- 是什么在阻碍黑灯工厂?What's blocking the dark factory
- 给有志创业者的建议Advice for would-be founders
简介Intro
我认为,最具人性的艺术作品或技术成果之一,就是重新思考我们以往所做的一切,并找到一个全新的视角。借助 Opus 和 Fable 这样的模型,我们有时间做到这一点,因为它们承担了过去占用我们大量时间的许多工作。I think that's some of the most human pieces of art or pieces of technology, rethink what we've been doing before and figure out this entirely new angle. And we have time to do that by using models like Opus and Fable, where they take on a lot of the work that used to occupy so much of our time.
从弦理论到创立 FactoryFrom string theory to founding Factory
主持人:Matan,今天很高兴能和你一起聊聊。我们坐下来之前稍微谈过这个话题,但你的经历实在很特别。2023年出现了一个关键转折点:在这之前,你还是一名博士生,研究十维黑洞中的 AdS/CFT 对应和弦理论;而在那之后,你成了 Factory 的创始人。这中间发生了什么?Host: Matan, super great to be here with you today. We were talking about this a little bit before we sat down, but you have such an unusual background. In 2023, there's this pivotal moment where on one side of it, you were a PhD student studying the AdS/CFT correspondence in 10-dimensional black holes and string theory. On the other side of it, you become a founder, of Factory. What happened?
嘉宾:我想,在湾区长大,创业文化无处不在。我小时候很叛逆,心想:“我才不想跟创业沾边呢。我要做一件最截然相反的事。”于是我钻研起理论物理,一做就是大约12年。人嘛,总会做出这样的选择。对,没错。我觉得,2023年3月和4月之间的那道分界线,标志着我终于意识到:虽然理论物理和弦理论极其优美,正如你所注意到的,我当时研究的是十维黑洞,但我们并不生活在十维空间里,也不住在黑洞附近。Guest: I guess growing up in the Bay Area, the culture is startups. And I was a rebellious child. I was like, I want nothing to do with startups. I'm going to do the most opposite thing. I got into theoretical physics and did that for about 12 years. As one does. Yeah, right. That dividing line between March and April 2023, I think that was the culmination of realizing that while theoretical physics and string theory is extremely beautiful, as you've noticed, I was working on 10-dimensional black holes, and we don't live in 10 dimensions, nor do we live near a black hole.
但后来我参加了一场程序合成研讨会——我们现在称之为代码生成——这一下就彻底把我迷住了。我深深着迷,简直为之痴狂。到了 2023 年,我渐渐清楚地意识到,要解决这个问题,学术界并不是合适的地方。你得进入业界,和全球一些最大的企业合作,面对那些最混乱的代码库:有些代码已经有 30 年历史,有些则是全新的;有些用 COBOL 编写,半数用 Python 编写。正是这种非常奇特、不断变化的环境,让代码生成问题变得最有意思。But then I took a seminar in program synthesis, which we now call code generation, and that just completely nerd-sniped me. Head over heels, was obsessed with that. Then it just became very clear in 2023 that to solve this problem, academia was not the place. You had to go into the industry. You had to work with some of the world's largest enterprises, some of the messiest codebases where some of the code is 30 years old, some of it is brand new, some of it is in COBOL, half of it is in Python. Just this very weird dynamic situation is where the code generation problem becomes the most interesting.
使命:实现软件工程的自主化The mission: autonomy for software engineering
我们最初制作的第一份演示文稿中阐述的使命,与我们今天的使命相同:为软件工程带来自主能力。软件工程师是世界上最出色的问题解决者之一,但他们的工作中有太多内容,尤其是在大型企业里,并没有发挥出应有的价值。The mission that we have in the very first deck that we ever made is the same as our mission today, which is to bring autonomy to software engineering. Software engineers are some of the best problem solvers in the world, but so much of their life, especially in a large enterprise, is not as high leverage as it could be.
主持人:从第一天起,你就坚信这会成为一家自主软件工厂,尽管当时的模型还远远达不到这个水平。Host: You had this conviction from day one that this is going to be an autonomous software factory, even though at the time, the models weren't really there yet.
嘉宾:模型会越来越好,能够完成的这类任务也会越来越多。以前我们还在兜售智能体的愿景,现在嘛,大家都知道了。Guest: Models are going to get better. They're going to be able to do more and more of these tasks. Before, we were selling the vision of agents, now it's like everyone knows.
关于过早行动的经验教训Lessons from being too early
2023年至2025年这两年,是你穿越沙漠的旅程。我记得你在别处说过,有时候太早就和犯错没什么两样。那段沙漠之旅教会了你什么?That 2-year period between 2023-2025 was your journey through the desert. I think you said elsewhere that sometimes being too early is the same as being wrong. What did that desert teach you?
嘉宾:我痴迷于发现问题、解决问题。那是我唯一在乎的事。这是我有生以来做过的第一份工作。我对创业公司相关的一切都一无所知。不管是招聘、工程、产品开发、销售还是市场营销,我全都不懂。在我看来,如果时机正好、世界也已准备就绪,那我就是个不合适的创始人,因为我什么都不懂。我们会错失这个机会。现在想来,这也算是因祸得福,因为我觉得,这让我有时间成长,也学会了那些真正重要的东西,让公司如今能够扩大规模。Guest: I was obsessed with problems and solving problems. That was all I cared about. This is really the first job I've ever had. I knew nothing about anything relating to building a company. Whether it's hiring, engineering, building product, sales, marketing, none of it. If the timing was right and the world was ready, I was the wrong founder in my mind because I didn't know anything. We would have missed the opportunity. It's kind of a blessing in disguise because I think it allowed me the time to grow and learn the things that really matter to now scale.
机器人与“黑暗工厂”Droids and the "dark factory"
你提到过这样一个概念:这些机器人在黑灯工厂里工作,每周7天、每天24小时不间断运行。你们现在是如何打造产品,以迎接这样的未来的?You've mentioned this concept of these Droids working in a dark factory, lights off 24 hours a day, 7 days a week. How are you building the product now for that future?
嘉宾:当你逐渐习惯把任务交给那些能够连续运行几天甚至几周的智能体时,你也会慢慢接受这样一种想法:有些事情你可以几天都不去碰它。这会逐步促成行为上的改变。此外,当他们看到产出确实有价值时,也会逐渐建立起一些信任。信任会变得愈发重要。现在,你手头的系统会在你不查看、也不一定每次都明确批准的情况下自行执行任务。设想有一座软件工厂始终在监控,一旦发现“嘿,我们刚部署了某项变更,而现在这一步的完成率下降了”,就能及时察觉。Guest: As you get used to delegating tasks to agents that can go for days or weeks on end, you start getting used to the idea that there's something that you're not going to go and touch for a couple of days at a time. It slowly starts building that behavior change. Also, when they see that the output is actually meaningful, they start to build some of that trust. Trust is going to become all the more important. You're now having systems that are doing things without you looking, without you necessarily explicitly approving every time. Having a software factory that is always monitoring, seeing, oh, hey, we just deployed some change, and now the completion rate through this step has gone down.
我们来搭建一个沙盒环境,进行测试,看看为什么会发生这种情况。我们找到了一种可行的解决方案。我联系你,告诉你什么办法可能奏效,然后部署它,再次监控情况。我认为,设身处地为用户着想、尊重他们作为开发者的智慧,这一点非常重要。他们比我们更了解自己的业务。我们能做的最好的事情,就是让他们能够自行配置,并根据组织的特点灵活调整。Let's go and spin up a sandbox where we go and test and see why did that happen? We found a candidate solution. Let me go ping you and show you what might fix it, and then deploy it and monitor again. I think it's so important to meet our users where they are and respect their intelligence as developers. They know their business more than we do. And the best we can do is allow them to configure it and morph it to the silhouette of their organization.
以减少 90% 人力投入实现 COBOL 现代化A COBOL modernization with 90% less human effort
你有没有可以展示的案例,介绍 Droid 如何为客户端到端地完成某件令人印象深刻或疯狂的事情?Do you have any hero examples of a Droid doing something really impressive or crazy end-to-end for a customer?
嘉宾:每一家银行都有一长串亟待完成的 COBOL 现代化改造项目,而且个个都很棘手。大家都不想被分配去做这个,因为那简直就是:“天哪,接下来这一年,我的日子都要在处理这堆事中煎熬。”我们曾为一家银行做过一次这样的现代化改造。在推进过程中,我们不断总结经验:这家银行是怎么做事的,以及今后我们如何从中学习。第一次改造时,我们的一位工程师和他们的几位工程师并肩工作。之后再做下一个项目时,需要人工参与的工作量减少了 90%。对他们来说,那一刻简直像变魔术一样。那些工程师眼里都含着喜悦的泪水,因为做这类迁移项目实在是太痛苦了。Guest: Every single bank has a backlog list of these crazy COBOL modernizations that they need to do. It's all like, no engineer wants to be assigned to this because that is like, "Oh, God, for the next year, my life is going to suck dealing with this." With one such bank, we did one of these modernizations. As it was working, it was extracting lessons. This is the way this bank does things. This is how we can learn from it in the future. That was one of our engineers sitting next to some of their engineers to go and do that first pass. Then after that, the next one, the amount of human involvement was 90% less. That to them, was a magic moment. There are tears of joy in these engineers' eyes because working on those migrations is the worst.
当机器人需要前沿模型时When Droids need frontier models
你觉得 Droids 在哪些方面需要变得非常、非常聪明,并且需要具备前沿能力?Where do you feel that the Droids need to be very, very smart, and they need the frontier?
嘉宾:如果让一家公司的 CTO 实现每一行代码,那就不是对他们时间的高效利用。事实证明,我们通常会采用这样的组织结构:由某个人凭借对问题更深入的了解,或更丰富的问题解决经验,提出一个通用的系统解决方案。这里的情况也类似:如果是我自己在做规划,或者处理一些相当复杂、需要协调许多环节的事情,我就会用 Opus。Guest: If you have the CTO of a company implement every line of code, that is not an efficient use of their time. It turns out that typically we will have structure where there is someone who has maybe more context about a problem or more history of problem-solving, where they're going to come up with a general systems' solution. It's analogous here where, I myself, if I'm doing planning or something pretty complicated where I need to orchestrate a lot of moving parts, I'll use Opus.
Opus 带来的突破:减少人工监督What Opus unlocks: less human oversight
Opus 让你能够和 Droids 一起构建哪些以前无法构建的东西?What has Opus enabled you to build with the Droids that you weren't able to before?
嘉宾:我认为最大的突破,也是对我们来说最重要的一点,就是减少人工监督。规划要难得多;否则你可能要等到后面生成了数十亿个 token,才会发现哪里出了问题。我觉得现在有种直觉上的信任感,觉得可以更相信这些计划,甚至可能根本不会去看它们,而是直接说:“嗯,听起来很棒。就这么做吧。”看到这种变化挺酷的。以前是你会看计划,而且会密切监控;现在就像……只有在极其罕见的边界情况下,你才会回头问:“等等,我们计划里到底做了什么?”这种情况真的非常非常少。不过,在公司工作有些残酷的现实:有些事情你就是必须做,而且必须达到一定的可靠性门槛。Guest: I think the biggest unlock, and this is the most important part for us, is reducing human oversight. That planning is a lot more difficult, or you'll only find out if you went awry, billions of tokens down the line. I think there's the gut sense of you can trust the plans a little bit more to the point where you literally might not even look at them, and you're like, yeah, sounds great. Let's go and do it. That's been pretty cool to see. Before, it was like, you see it, but you're really closely monitoring to now it's like… It's only a very crazy corner case where you'll go back and be like, wait, what did we do in the plan? It rarely, rarely happens. There are certain things that are the brutal reality of working at a company where there are just things that you have to do that need to meet a certain reliability threshold.
很棒的是,Opus 和 Fable 能接手很多以前要花大量时间才能做完的事情,就像是在说:“这部分交给我吧。”每家公司都想推出30样东西,但受限于现有资源,最后只能推出三样多一点。And what's cool is Opus and Fable, it takes a lot of those things that previously you had to spend a ridiculous amount of time doing, and it's like, "I got you covered there." Every company wants to ship 30 things, but they can only ship three and a quarter because of the resourcing that they have.
交付 300 件产品,并重新思考什么才重要Shipping 300 things and rethinking what matters
好,现在你可以交付 300 件东西了。但这 300 件东西真的能带来改变吗?它们真的能让客户更满意,或者改善你与客户或终端用户之间的关系吗?我认为,这让人们开始思考:我们的核心竞争力究竟是什么?我们怎样才能把它发挥得更好?这才是真正困难的地方,因为有时我们会把自己局限在一个框框里,觉得自己只能做到这些。对我来说,这非常令人兴奋,因为我认为,最具人性化的艺术作品或技术成果,往往会重新审视我们过去的做法,并找到一个全新的切入角度。借助 Opus 和 Fable 这样的模型,我们可以腾出时间来做这件事,因为它们能接手许多过去占用我们大量时间的工作。Well, now you can ship 300 things. But will those 300 things actually make a difference? Are they going to actually make happier customers or better relationships with your customers or your end users? I think it shifts the question for the humans to now be like, what really is our core competency? How can we deliver on that better? That is the thing that's really hard because sometimes we put ourselves in such a box of like, this is all that we can do. To me, it's very exciting because I think that's some of the most human pieces of art or pieces of technology, rethink what we've been doing before, and figure out this entirely new angle. We have time to do that by using models like Opus and Fable, where they take on a lot of the work that used to occupy so much of our time.
Anthropic 合作伙伴关系The Anthropic partnership
当你想到 Anthropic 和这项合作时,首先想到的是什么?When you think of Anthropic and you think of that partnership, what's top of mind for you?
嘉宾:我认为最重要的是我们合作方式上的可靠性。要认识到,在我们热衷的事情上,双方有很多共同点;同时要确保安排得当,比如说,明确哪些重要事情值得我们投入时间,哪些事情值得你们投入时间。我们非常明确地希望看到这样一个世界:人类潜能得到释放,抱负不断提升,同时也要遵守一些必要的限制,包括一些安全方面的限制。有些信息传达也确实至关重要。这些工具有时会让人感到害怕。它们非常强大,而这本身就令人畏惧。但对世界来说,这也是一件美好的事。我们应该强调它带来的好处,以及 Droid 如何借助 Claude 变得更好,Claude 又如何借助 Droid 变得更好。Guest: I think the biggest thing is reliability in terms of how we work. Understanding that there are a lot of things that we have in common in terms of what we're excited about, and making sure that it's set up such that like, hey, here are the important things we should spend our time on. Here are the things that you guys should spend your time on. We very clearly want to see a world where human potential is unlocked, and this ambition is raised, and there are certain constraints that are required. There're some safety constraints that are required. There's some messaging that really matters. Sometimes these tools can be scary. They're very powerful, and that is inherently scary. But it's also a beautiful thing for the world that we should highlight the benefits that are coming from it and how Droid can be better with Claude and how Claude can be better with Droid.
非常重要的一点是,我们的合作伙伴必须和我们一样认真对待这件事,把它视为一个眼下的问题。有些人会说:“哦,最后它可能会变得很疯狂。”但事实是,不,这件事当下就极其重要,涉及 AI 工程这块拼图的方方面面。It's really important that the people that we partner with take it as seriously as we do, as a today problem. Some people are like, "Oh, eventually it might be crazy." It's like, no, today this is extremely important across every piece of this AI engineering puzzle.
是什么在阻碍黑灯工厂?What's blocking the dark factory
展望一年之后,当你们拥有这些黑灯工厂时。我们还没有完全做到这一步。有哪些阻碍?目前的瓶颈是什么?Looking ahead a year in advance when you have these dark factories. We're not fully there yet. What are the blockers? What are the bottlenecks right now?
嘉宾:在我看来,这里有三个同心圆。核心是模型,其次是工具框架,再外面是公司,以及公司的整体工作流程。这些都在飞速发展。如今模型的能力和两年前相比,简直不可同日而语,完全、完全不一样。如今的模型,已经能做到两年前模型加工具框架才能做到的事。这是一个很好的号召,提醒每个人都要把目标定得更高。因为随着模型越来越强,如果你懒得改变自己的工具框架,它就会被淘汰。随着这些模型变得越来越聪明,它们会逐渐吸收工具框架的更多功能。Guest: The way I think about it, there are three concentric circles. At the core, there's the model, then there's the harness, and then there's the company and the workflows of the company as a whole. These are all growing very quickly. The model capabilities now versus 2 years ago, it's insane. Completely, completely different. A model today could do what a model plus a harness could do 2 years ago. It's a cool call to arms for everyone to raise the scale of their ambition. Because as models get better, if you are lazy, and you don't change your harness, it's going to be superseded. As these models get smarter and smarter, they start to absorb more of the harness.
怎么围绕这一点来构建?另外,你怎么看这种真正智能的模型能为你带来的助力?我们不能安于现状。事情发展得太快了。对于任何我们曾认为是最佳方案的东西,我们都得随时准备拿起大锤砸掉。每个月,我们都需要重新审视:这仍然是最优方案吗?随着这些模型越来越强大,我们也要建立深度合作,彼此理解,形成这样的关系,让我们能看清他们正在思考哪些问题。我们可以相信,这方面的能力会不断提升。与此同时,我们得确保把这个空缺补上,这样才能一起乘上这股浪潮。How do you build for that? Then also, how do you think about the leverage that type of really intelligent model can give you? We cannot settle. Things are moving way too quickly. We need to always have in one hand a sledgehammer to whatever we thought was the best solution. Every month, we need to rethink. Is this still optimal? As these models are getting better, and also having a deep partnership, understanding and having this relationship where we can see, hey, these are the types of problems they're thinking about. We can trust, okay, this is going to be going up there. Let's make sure we're filling this hole in the meantime, so that we can ride that wave together.
给未来创业者的建议Advice for would-be founders
我想回到最开始。我们刚才谈到了那个让你走上这条道路的关键时刻。现在有不少有志创业者正在看,他们的关键时刻就在前方。你有什么建议想给这些创业者吗?I want to go back to the very beginning. We were talking about your pivotal moment that led you onto this path. There are a number of would-be founders watching this, and their pivotal moment is right ahead of them. What advice would you have to those founders?
嘉宾:这有点好笑,但每当有人问我该不该创业时,我总是说不。因为如果他们需要我的肯定,你懂的。我只是喜欢对问题真正着迷。然后一切就都变得特别有趣。找到那个你真的会一直想着、甚至让你夜不能寐的事情。我们如今所处的这个时代,有件很美妙的事:通常你可以说,哦,让我夜不能寐的是我想当宇航员,或者别的什么。五十年前,这非常不现实。但在今天,这完全现实。Guest: This is a bit funny, but anytime a person asks me if they should start a company, I always say no. Because if they need my affirmation, you know. I just like really getting obsessed with problems. Then everything is just so much fun. Find the thing that you literally cannot stop thinking about and just keeps you up at night. The beautiful thing about the era in which we're in now, normally you could say, oh, the thing that keeps me up at night is I want to be an astronaut, or whatever. Fifty years ago, it's pretty unrealistic. It is extremely realistic today.
即使你有最天马行空、最疯狂的想法,而这也是唯一让你夜不能寐的事,它也确实比以往任何时候都更容易实现。找到那件让你着迷、让你的求知欲自然而然迸发出来的事,我觉得其他一切都会随之而来。非常感谢。这次谈话太精彩了。我真的很感谢你抽出时间。谢谢你邀请我。这次聊得很开心。Even if you have the most out there crazy ideas, and that's the only thing that keeps you up at night, it's actually way more achievable than it's ever been. Find the thing that you get obsessed about, the intellectual curiosity just pours out of you, and I think the rest will come from that. Thank you so much. This has been an amazing conversation. I really appreciate the time. Thank you for having me. This was fun.