跳到主内容
@wquguru
精选88Hacker News Best(web_list)技巧与观点

前Apple工程师用AI建App复盘:模型迭代快,架构需极简

I quit big tech to build with AI

原文
发到 X
推荐理由

这是一份极具参考价值的一手工程实践复盘,详细记录了从复杂流水线到极简Agent架构的取舍过程及代码量变化,对正在构建AI应用的开发者有直接指导意义。

5 Months Building With AI — Both the Doomers & Hype Crowd Are Wrong

用 AI 构建产品五个月——悲观派与炒作派都错了

James Stryker

詹姆斯·斯特赖克 (James Stryker)

Founder & CEO, DrawSolve | Ex-Apple

DrawSolve 创始人兼首席执行官 | 前苹果公司员工

December 3, 2026

2026年12月3日

Originally published on LinkedIn

最初发布于 LinkedIn

In April I resigned from a secure product design job in big tech to find out how much useful work a person can actually do with AI. I've been a product design engineer for more than 23 years, from the first FDA-approved wearable robot to hardware that shipped in the tens of millions. The one discipline I'd never tackled deeply was software. I'd scratched that itch for years by writing MATLAB calculators, useful but narrow, and after building a few simple programs with coding agents I decided to find out if a domain expert could build something far more ambitious: a broad engineering calculator that does in minutes what my MATLAB tools took days to do from just a hand sketch or whiteboard picture.

今年四月,我辞去了一家大型科技公司中稳定的产品设计工作,去探究一个人究竟能用 AI 完成多少有价值的工作。作为一名拥有超过 23 年经验的产品设计工程师,我曾参与从首款获得 FDA 批准的穿戴式机器人到出货量达数千万的硬件项目。我从未深入涉足的领域是软件工程。多年来,我一直通过编写 MATLAB 计算器来满足这方面的需求,这些工具虽有用但功能狭窄。在用编码代理(coding agents)构建了几个简单程序后,我决定一探究竟:一个领域专家能否构建出更雄心勃勃的东西——一个广泛的工程计算器,只需手绘草图或白板照片,就能在几分钟内完成我的 MATLAB 工具需要几天才能完成的工作。

I started writing code in June and five months of 100+ hour weeks later, after more than 300,000 lines of code and a test suite three quarters the size of the product, I have DrawSolve, which I just launched. What I learned along the way is nothing like what I read from either the doomer or hype crowds. Here are my key takeaways:

我从六月开始编写代码,经过五个月每周 100 多小时的辛勤工作,在编写了超过 30 万行代码以及一个规模相当于产品四分之三的测试套件后,我终于推出了 DrawSolve。在此过程中我学到的东西与我之前从悲观派或炒作派那里读到的截然不同。以下是我的主要心得:

AI will not take most jobs

AI 不会取代大多数工作

AI agents are not like us. They are unbelievably good at some tasks and unbelievably bad at others. They will effortlessly propose complex classifiers and schemas I can barely comprehend, then skip right past the basic question of whether the information the system needs even exists. Every day I have to stop an agent from piling on complexity to fix a bug and redirect it to the root cause.

AI 代理与我们不同。它们在有些任务上表现出色,而在其他任务上则糟糕透顶。它们能毫不费力地提出我几乎无法理解的复杂分类器和模式,然后直接跳过系统所需信息是否存在的根本问题。每天我都必须阻止代理为了修复一个 bug 而堆砌复杂性,并引导它去解决根本原因。

This was constant in the novel core logic of my program and rare in the derivative pieces: the website, login, payments, hosting, HTML. The AI can handle the repetitive derivative work and allow you to focus on the core logic.

在我的程序新颖的核心逻辑中,这种情况屡见不鲜;而在衍生部分(如网站、登录、支付、托管、HTML)中则较为罕见。AI 可以处理重复性的衍生工作,让你专注于核心逻辑。

AI adds enormous leverage to your ideas, but without the ideas it is essentially a space heater in a datacenter.

AI 为你的想法提供了巨大的杠杆作用,但如果没有想法,它本质上只是数据中心里的一个电暖器。

AI removes the easy work and leaves you the hard work

AI 消除了简单的工作,却留下了困难的工作

I expected building with agents to feel like having a team. It felt more like having routine tasks removed from my day and being left with nothing but hard decisions. In a normal engineering job a small fraction of your hours go to the questions that decide whether the thing works and most of the time is the plumbing that gets you there. With agents the plumbing disappears and what is left is a stream of architectural tradeoffs with a team of agents ready to tear apart and rewrite with each wrong call.

我本以为使用智能体(agents)进行开发会像拥有一支团队。但实际感受更像是日常琐事被移除,只剩下艰难的决策。在普通的工程工作中,只有极少部分时间花在决定项目能否成功的关键问题上,大部分时间都在处理实现功能的‘管道’工作。而在使用智能体时,这些‘管道’工作消失了,剩下的是一连串架构权衡,以及一支随时准备在你每次错误决策后拆解并重写代码的智能体团队。

I have never thought harder for longer and it was exhausting in a way I had not felt since early in my career. I had to learn to pace myself. The ease of building encourages casual planning, but I quickly found that without rigid constraints the agents will build similar functions in multiple places leaving me to debug and align them each one by one. I had to build systems to document and enforce each decision across the more than a thousand sessions it took to build the program.

我从未如此长时间地深度思考过,这种疲惫感是我职业生涯早期以来未曾体验过的。我不得不学会控制节奏。构建的便捷性鼓励随意的规划,但我很快发现,如果没有严格的约束,智能体会在多个地方构建相似的功能,迫使我逐一调试并对齐它们。我必须建立系统来记录和强制执行每一个决策,因为构建这个程序经历了超过一千个会话。

The agents did not make the hard part easier. They made it the only part.

智能体并没有让困难的部分变得更容易。它们让困难的部分成为唯一的部分。

Building with AI is not like managing a team

与 AI 协作构建产品不像管理团队

With engineers you align on a vision, remove the roadblocks, and then get out of the way so they can surprise you with their best work. With agents you define the vision and then build systems to rigidly hold them to it, because unlike people, their work drifts in a bad way rather than a good way. People are the opposite; typically I've found the key breakthroughs are when individuals push back and take things in unexpected directions I would have missed. AI is a tool you point at a specific, well-defined goal.

对于工程师,你统一愿景,清除障碍,然后退后一步,让他们用最好的作品给你惊喜。而对于智能体,你定义愿景,然后构建系统以严格约束其遵循该愿景,因为与人不同,智能体的工作会以一种糟糕的方式偏离正轨,而非良好的方式。人的情况则相反;通常我发现,关键的突破往往发生在个人提出反对意见并将事情引向我原本会忽略的意外方向时。AI 是一个你指向特定、明确目标的工具。

The hand calculator made knowing how to calculate nearly worthless, but knowing what to calculate more valuable than ever, and AI is the same.

手持计算器让计算技能几乎变得毫无价值,但让知道该计算什么变得比以往更有价值,AI 也是如此。

Better will beat cheaper

质量胜过价格

It is true that AI unlocks cheap derivative software, and likely soon entire products built by a few employees. But I believe the companies that focus on doing the same for less will ultimately fail, and the winners will be the companies that do things that were infeasible before. As a mechanical engineer I can't help comparing this to the late-90s prevalence of computer aided design tools. A company could have used them to ship the same products with fewer engineers. Instead we got a dramatic increase in optimization and complexity, and a wave of niche products that were never feasible before. You can see it in cars going from large and boxy to densely packed and curvy. Curvy cars weren't impossible before those tools; the packaging tradeoffs were just too tedious to work through by hand. Industry didn't end up needing fewer engineers. It needed more of them, powered by the software's leverage, and in some cases entirely new jobs, disciplines and industries.

诚然,AI 解锁了廉价的衍生软件,并且很快就能由少数员工构建出完整的产品。但我认为,那些专注于以更少成本做同样事情的公司最终会失败,而赢家将是那些实现以前不可行事物的公司。作为一名机械工程师,我不禁将其与 90 年代末计算机辅助设计(CAD)工具的普及相提并论。一家公司本可以利用这些工具,用更少的工程师交付相同的产品。但我们看到的是优化和复杂度的显著增加,以及一波以前从未可行的利基产品浪潮。这一点在汽车上体现得淋漓尽致:汽车从大型、方正变得紧凑且线条流畅。在这些工具出现之前,曲线造型的汽车并非不可能;只是手动处理包装权衡过于繁琐。行业最终并没有需要更少的工程师,而是需要更多的工程师,借助软件的杠杆效应,并在某些情况下催生了全新的职位、学科和行业。

DrawSolve is my own small example. Engineering calculators have existed for decades, but each one needs specialized code for its domain and its problem type. My MATLAB tools were the same: one to three days each, and each answered one question. What AI changes is that the setup can be general. Hand it an arbitrary sketch and a plain-language problem and it works out which physical scenarios apply and how the pieces interact, and only then integrates everything in a traditional computation stack. Any single case could have been programmed by hand, but the nearly infinite combinations could not; the space is simply too large to code discretely.

DrawSolve 是我自己的一个小例子。工程计算器已经存在了几十年,但每一个都需要针对其领域和问题类型编写专门的代码。我的 MATLAB 工具也是如此:每个工具耗时一到三天,且每个只回答一个问题。AI 带来的改变在于设置可以是通用的。给它一个任意草图和自然语言描述的问题,它就能推导出适用的物理场景以及各部分如何相互作用,然后才在传统计算栈中进行集成。任何单个案例都可以手工编程,但近乎无限的组合却无法做到;这个空间太大,无法离散编码。

Models will obsolete your scaffolding — and that's good

模型将使你的脚手架过时——而这件好事

I got a firsthand lesson in how fast this moves during my second week live. I had spent five months carefully benchmarking and wiring an 89-step stateless pipeline that gave me a huge accuracy and consistency edge over models from earlier this year. Then Fable 5.2 and Carbon 4 dropped and were able to consistently solve multi-step sections of the pipeline with a single freeform agentic step. Significant portions of my original scaffolding were obsolete by week two!

在我上线的第二周,我亲身领教了这一切发展得有多快。我曾花了五个月时间仔细基准测试并搭建了一个包含 89 个步骤的无状态流水线,这使我相比今年早些时候的模型在准确性和一致性上拥有巨大优势。随后 Fable 5.2 和 Carbon 4 发布,能够以单个自由形式的智能体步骤一致地解决流水线中的多步部分。到第二周时,我原始脚手架的很大一部分都已过时!

It was a gut punch for a day or two, and then I rebuilt the backend pipeline from 89 steps down to 15 with internal agentic loops wherever they outperformed my stateless call and deterministic check sequences. In the long run it is the best thing that could have happened to the product: most of the brittle plumbing is gone, the engine now handles brand-new engineering domains much more smoothly, and the core value to the engineer — a verified solver, clear assumptions, and a live interactive model — is maintained and fundamentally stronger — with ~100,000 fewer lines of code to maintain.

起初的一两天里,这确实让人备受打击。随后,我从内部重构了后端流水线,将步骤从 89 步减少到 15 步,并在任何地方使用内部智能体循环(agentic loops)来替代我的无状态调用和确定性检查序列,只要它们表现更优。从长远来看,这是产品所能遇到的最好的事情:大部分脆弱的底层代码已被移除,引擎现在能更顺畅地处理全新的工程领域,而工程师的核心价值——经过验证的求解器、清晰的假设以及实时交互式模型——得以保持并变得更为强大——同时需要维护的代码行数减少了约 10 万行。

If you are building with AI, assume the models will eat your clever workarounds every six months and focus your efforts on where the user experience and underlying kernel get stronger with model advances.

如果你正在利用 AI 进行构建,请假设模型每六个月就会吞噬掉你巧妙的变通方案,并将你的精力集中在那些随着模型进步而能增强用户体验和底层内核的地方。

AI is leverage for the individual

AI 是个人力量的杠杆

AI coding tools, and soon many other kinds of tools like DrawSolve, will let anyone with a clear concept turn it into something real. These things will succeed or fail on functionality, customer experience and brand trust. For the first time in history an individual can build something that competes with a billion-dollar incumbent. Software value is going to shift away from basic features and toward user experience and tailored feature sets. And the most exciting part, for you and for me, is that AI is fluent in every language and getting started is easier than any other new technology I’ve seen. But once you get started be prepared to stretch yourself to work harder than ever.

AI 编码工具,以及不久后许多其他类型的工具如 DrawSolve,将让任何拥有清晰概念的人将其变为现实。这些工具的成功或失败取决于功能、客户体验和品牌信任度。历史上首次,个人能够构建出能与数十亿美元市值的行业巨头相竞争的产品。软件的价值将从基本功能转向用户体验和定制化的功能集。最令人兴奋的部分在于,对于你和我来说,AI 精通每一种语言,而且入门比以往我见过的任何其他新技术都要容易。但一旦开始,就要准备好全力以赴,比以往更加努力地工作。

The risk is in the loop, not the model

风险在于循环过程,而非模型本身

I’m not a philosopher and don't have anything new to say about consciousness. What I can tell you is what models look like from the inside when you work with them one stateless call at a time. They are tools. Incredibly powerful tools, but tools. They take input, produce output, and stop. It is easy to be fooled by how well they write and converse, but the chat products are built to behave that way.

我不是哲学家,也无意对意识发表什么新见解。我能告诉你的是,当你一次通过一个无状态调用来与模型交互时,从内部看它们是什么样的。它们是工具。极其强大的工具,但终究是工具。它们接收输入,产生输出,然后停止。它们写作和对话的能力非常出色,很容易让人上当受骗,但聊天产品正是被设计成以这种方式表现的。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件