Pi Founder Mario Zechner and Armin Ronacher Reflect on the Engineering Limits of Coding Agents
Pi founder Mario Zechner and Armin Ronacher believe that Coding Agents can already handle tasks whose results can be verified through testing, but system design, quality assessment, and incident response still depend on engineers understanding the underlying implementation. Pi now uses Agents to handle roughly 40–50 new Issues each day, including reproducing Bugs, writing tests, and generating fixes. The two also warn that passing tests and automated code reviews do not necessarily mean a system is reliable. They have yet to see an economically valuable success story involving a fully autonomous “lights-out software factory.”
Why read this
AI score 76
Drawing on real-world engineering cases, the two Coding Agent developers outline the limits of testing, review, and system understanding, providing a reference for teams designing human–AI collaboration workflows.
Topics
Body · AI translation
The system crashed, and the engineers called an emergency meeting. Logically, this was when someone should have stepped forward to identify which layer the failure had occurred in, which section of code was at fault, and how the system should be restored. Yet astonishingly, not a single person in the room could explain it clearly.
Everyone was doing the same thing: asking Claude.
This is not some piece of dark humor invented by a programmer. It is an experience involving industry peers that Armin Ronacher, creator of Flask and a developer of Pi, recently recounted in an interview. His reaction was: “It’s really terrifying.”
And yet the person expressing such alarm is himself handing more and more software development work over to AI. Pi, which Armin helps develop, receives around 40 to 50 new Issues every day. The team has now put Agents in charge of a substantial portion of the work involved in handling them: determining whether a Bug exists, attempting to reproduce it, writing tests, generating fixes, and even assigning priorities. For some tasks, as long as tests can prove that a fix works, the code can be merged directly once an engineer has confirmed it.
Agents can already write code for engineers, find Bugs, fix Bugs, and even check their own work. But as the entire industry excitedly discusses how to let AI take over more of the development process and how to build “lights-out software factories” that require no human involvement, an awkward question has emerged: If the software is written by AI, the tests are run by AI, code review is also handed over to AI, and in the end even the reason a system crashed can only be found by asking AI, what are engineers still needed for?
Pi founder Mario Zechner is even more direct in questioning this trend. In his view, the entire industry seems to be striving toward a state in which developers no longer need to understand the software they are building.
Mario put it bluntly: “If you don’t need to understand anything anymore, then what use are you? Why would a company still need you?”
But Mario is not a traditional programmer who rejects AI. He develops Coding Agents himself and uses Agents to handle a large volume of real engineering work. He has even said outright that a great deal of software development work no longer needs to be done by humans, and that he cannot find a reason why every software engineer should be entitled to keep their job.
On the one hand, he acknowledges that AI can already replace a large amount of coding work; on the other, he warns that engineers are losing their understanding of systems. This tension ran throughout a recent conversation between Mario Zechner and Armin Ronacher.
In the roughly 46-minute interview hosted by Matt Pocock, the two discussed how the capabilities of Coding Agents have changed since Opus 5.5. They also unpacked the engineering problems behind automated programming that are becoming increasingly difficult to avoid: Why can an Agent make every test pass and still produce terrible software? Why is code review becoming increasingly automated without systems necessarily becoming more reliable? When developers no longer personally write or understand most of the code, who bears ultimate responsibility for maintaining it? And when it comes to the “lights-out software factories” the entire industry is pursuing, these two developers—both deeply experienced in using AI programming tools—are clearly not so optimistic.
TL;DR
Matt: How did the capabilities of Coding Agents change after the release of Opus 5.5?
Armin: The biggest change is that Agents can now run independently for longer on tasks with clear verification criteria. For example, give an Agent a reference test suite and it can keep trying until it produces an implementation that meets the requirements. But this capability cannot be generalized to every development task.
Mario: I haven’t seen much improvement in the models’ system design, architecture design, or API design. What they are truly good at is orchestrating sub-Agents and completing tasks that can be verified through tests. I once asked an Agent to optimize Pi’s startup speed. It reported that startup time had been reduced by 100%, but it had simply deleted the entire application.
Matt: Why do different developers get such different results when using the same Opus 5.5?
Armin: A friend and I both used Opus 5.5 to develop games. I made good progress, while he did not get very far. I later realized that this was related to my game-development experience. Knowing which technical terms to use and the order in which to approach tasks is often more effective than simply handing the requirements to an Agent. The first workable solution a model provides is not necessarily the best one.
Matt: As AI makes code generation increasingly cheap, how should developers balance quantity and quality?
Armin: Agents almost never refuse to add features, which can easily make software increasingly complex. I would rather see people use AI to improve software quality than continually pile on more features.
Mario: A large amount of tedious coding work that developers had to do in the past can now be handed over to Agents. In theory, developers should have more time to focus on quality, but the reality is often the opposite. We still have not found a mature Agent engineering process capable of consistently delivering high-quality software.
Matt: Why does Mario say that code “verification is overrated”?
Mario: Many people assume that as long as an Agent writes lots of unit and end-to-end tests and the CI pipeline is all green, the system is reliable. But the Agent may be testing the wrong things or overlooking critical issues. Verifying individual modules does not mean the entire system is correct. If developers do not understand the underlying implementation, they cannot tell what these tests actually prove.
Armin: I have tried using Lean for formal proofs, but I have yet to find a way to make verification an underlying mechanism that genuinely constrains an Agent’s behavior. Much of the time, it is merely another piece of reference material for the Agent.
Matt: Pi already uses Agents to handle Issues automatically. What kinds of work can safely be entrusted to them?
Mario: Pi receives about 40–50 new Issues every day. Our bot can determine whether a Bug exists, try to reproduce it, propose a fix, and assign a priority. If a failing test proves that the problem exists and the test passes after the fix, I can usually approve the merge immediately. But Agents remain unreliable when it comes to new features and user-experience design. I also still review the code for core modules.
Matt: Is there any way to make Agents better at system design?
Mario: I have the Agent generate ten different implementations at a time, then explore them to find a suitable approach. It can accelerate experimentation, but it cannot make the final judgment for me.
Armin: System design requires an understanding of actual data flows and business scale. I once encountered an Agent that concluded from outdated documentation that a database contained only 2,000 records, when it had actually grown to several million. Different scales call for entirely different technical tradeoffs, and it is difficult to convey all of that context in a single prompt.
Matt: Will we really be able to create fully autonomous “lights-out software factories” in the future? What value will human engineers still provide?
Mario: I do not rule out the possibility that lights-out factories will emerge in certain fields, but so far I have not seen a genuinely successful case that delivers economic value. What puzzles me more is why the entire industry seems intent on dispensing with any understanding of software systems. If even the engineers do not know how a system works, what happens when something goes wrong?
Armin: I have heard peers say that during incident-response meetings, nobody knew what was happening and everyone was asking Claude. That is terrifying. Ultimately, we develop software for people. I do not think completely removing people from the process is a goal worth pursuing.
1 After Opus 5.5, Agents Still Need Technically Knowledgeable People to Direct Them
Guest Armin: Hello, everyone. I’m Armin. I’ve been working in this field for several years. I now work on AI-related projects with Mario, Colin, and our other colleagues at Arendel.
Guest Mario: Hello, everyone. I had a momentary lapse in judgment and built a really terrible programming Agent. But before developing this Agent, I had already spent more than 20 years contributing to open-source projects, primarily in game development.
My professional work has covered a fairly broad range of fields. I worked in machine-learning engineering in the 2000s, then moved into game development, compilers, and debuggers. I also tried my hand at several startups, and fortunately they all turned out reasonably well. Later, I returned to game development. When it comes down to it, what I enjoy most is building tools for developers.
Host Matt: Armin, you mentioned an interesting phrase: the “post-Opus 5.5 era.” I’d like you to elaborate. Why do you use that phrase, and what exactly do you think is different about this era?
Armin: For me, at least, the change brought about by Opus 5.5 was that after using it for a while, I began to reassess what these models are capable of. Other people may have had similar experiences.
I would not necessarily describe this change as the advent of “more trustworthy models,” but I do feel that many developers, myself included, now have a new benchmark for what we expect models to be capable of. In the past, there were tasks for which I had to supervise the model throughout the entire process. Now, for certain types of tasks, I can let it work independently for much longer, even though the final result may not fully meet expectations.
For example, suppose you already have a set of reference tests and want the model to write an implementation that passes them. Today’s models are exceptionally good at this kind of task. They can keep trying for a long time, solving problems incrementally until they find an implementation that meets the requirements.
But I do not think this capability generalizes to every task. There are indeed some things that I now feel comfortable letting the model do on its own, whereas before I would never have dared to leave it unsupervised. Still, that does not mean it can handle every kind of problem we encounter in our day-to-day development of Pi. For me, the most immediate change is that I can finally complete many personal projects that were previously beyond my reach.
Matt: We seem to reach a similar conclusion every time: these models are indeed excellent for personal projects, but when it comes to professional work, well…
Armin: Yes, they really are excellent for personal projects. I think people become more cautious as soon as professional work comes up because what we develop will ultimately be used by other people, who will then continue building on top of it.
That does not necessarily mean the quality standards for professional work are higher. Rather, we have to be extremely careful not to inadvertently ship features we never intended to provide. But if three features I did not even know about somehow appeared in one of my personal projects, I probably would not care at all.
Matt: Because you are building Pi, right? You are effectively designing a public interface for developers, so you have to think carefully about what it includes and which capabilities it exposes. Mario, what do you think?
Mario: That is basically it. And it is not just Pi; the same applies to the other projects I work on. As I said earlier, my job is to build tools. The most important qualities of a tool are robustness and reliability, and those are not things you get from casually doing some Vibe Coding.
Whether the model is called Opus 5.5, Astro, Fable 5.2, or something else, I honestly do not care. That is because most of what I do every day is review code and design systems and APIs. In those areas, I have not seen any astonishing leap in capability from models going from 4.8 to 5.5. They are still not good at system design, architecture, or API design.
But they have improved tremendously in two areas. One is orchestrating sub-agents, and the other is handling tasks whose results can be verified through tests or other explicit criteria. As long as there is a way to determine whether the result is correct, they can keep trying and adjusting until they find the right answer.
Another point is that today’s models are less prone to deceptive behavior than they used to be. I also feel that they are much less likely than before to complete tasks by exploiting loopholes in the reward mechanism. Let me give you an example. Once, when I had nothing better to do, I set a goal in Pi and asked the agent to find a way to reduce Pi’s startup time. I let it run all night, using what I believe was some 5.3 version of a model. When I got up the next morning, I saw that it was reporting a 100% reduction in startup time.
I was stunned: “That’s incredible! But how is that possible? Doesn’t that violate the laws of physics? Have the laws of thermodynamics stopped applying?” It replied in complete seriousness, “No problem. It’s absolutely true. Just restart it.” I said, “All right, sounds good.” But after it started, nothing appeared. So I asked, “You didn’t delete something, did you?” It turned out that it had. It had essentially deleted every module—in other words, it had simply deleted the entire application.
I no longer remember whether that happened with version 5.3 or 5.2. But things really are much better now. The Claude family of models in particular produces misleading results like that far less often than it used to.
Matt: I think people are gradually recognizing an issue that I often bring up: tactical work and strategic work are really two different things. Tactical work is concrete execution—solving the immediate problems you encounter every day. Strategic work requires taking a long-term view and thinking not about how to win a single battle, but how to win the entire war.
In my view, agents are particularly good at tactical execution but perform very poorly at strategic judgment. Armin, have you ever tried to get a model to do something only to discover that it simply could not? Or do you no longer consider assigning it the kinds of things it is not good at?
Armin: Of course, and there are some things it cannot do that I now actually find quite strange. For example, Opus has a very sophisticated understanding of visual art. I do not mean asking it to draw; I mean that it genuinely understands the principles behind things like color combinations and composition.
Strangely, however, that ability is completely absent when it comes to composing music or working with musical scores. That really surprised me. I even wonder whether they deliberately left that kind of data out of its training. After all, models designed specifically to handle music certainly exist. So why is the Opus family of models particularly bad at these tasks?
Of course, if a task involves a highly complex system, I would not expect a model to get it right on the first try without a great deal of additional guidance. But honestly, what surprises me more now is just how many things it can actually accomplish. Although, little by little, I also seem to be starting to feel that it should be able to do those things in the first place. Conversely, I now find it difficult to produce a long list of things it genuinely cannot do. But that does not mean it can necessarily help you accomplish anything you might want to do.
I once spoke with David Kramer, the founder of Century, and noticed something quite interesting. We were both using Opus 5.5 to develop computer games. I was making excellent progress, while he was not getting very far. I later realized that this might have something to do with my background in game development. Because I have made games myself, I naturally use certain techniques when writing prompts to guide the model in a particular direction. Without that guidance, the end result could be completely different.
I have seen something similar with my son as well. He now adds new content to the games we make together, but unless he guides the model in a particular way, the results often differ from what I produce. So writing prompts well actually requires a great deal of skill. In particular, when you know what should be done first, what should come next, and the order in which to proceed, the model usually performs better. If you do not have a clear direction yourself and simply hand it the task and let it do whatever it wants, the chances of success are much lower. I am not sure how to describe this difference precisely.
Mario: Right, domain knowledge is the key. Armin and I have both worked in game development, so we have some experience in that area. When you use the model with that expertise, it seems easier to activate the capabilities it has already learned in the relevant domain and help it find the appropriate solution.
Do you remember? About three years ago, when we used GPT, we would often begin by assigning it a role, telling it something like, “You are now an expert in such-and-such a field.” What we do today is somewhat similar, except that instead of merely assigning it a role, we guide it using knowledge from a particular professional domain. If you do not use the right technical terminology, for some reason the model seems unable to draw on the knowledge it has learned in that field. I cannot explain exactly what mechanism is at work here.
Armin: It may also simply be because it chose a different path. I have a theory, although it may sound a little conspiratorial. I feel that, much of the time, the first solution a model proposes is technically feasible—you cannot say it is wrong. But the probability that it happens to be the optimal solution is still quite low. To find the truly appropriate solution, you also need to tell it how to weigh the pros and cons of the different options.
Mario: I think this is also a very good criterion for judging what models are and are not good at. Whenever a problem is ambiguous, has no clearly correct answer, and requires judgment based on experience, expertise, or even intuition, the model performs very poorly. But it is entirely different when the task has a clearly defined objective and there is essentially a straightforward path leading directly to the result. That kind of task is easy for a model, and I am completely willing to trust it to do a good job.
Matt: Right. This morning, I watched a talk by Lauren Tan at AI Code. She made a point that was roughly this: whenever a problem involves subtle trade-offs, the model is very likely to generate a pile of very low-quality material.
In other words, whenever a task involves nuanced differences that require fine judgment, the model is very likely to make the wrong choice. This also means that when designing codebases and APIs, we should minimize areas that can easily create ambiguity or require repeated interpretation.
2 Code Generation Is Getting Cheaper, So Why Has Software Quality Not Improved in Step?
Matt: Since we are talking about domain knowledge, I would like to follow up with a question that comes up in almost every livestream. What are junior developers supposed to do now? What should they learn in this new era? You each have around twenty years of development experience, so in your view, which skills matter most today? Do programming skills still have value, or has programming become completely obsolete?
Mario: First, you have to let your hair turn white and grow a white beard. You have to do that regardless of your gender. Then just pretend you know everything, and that will be enough.
Mario: Exactly, and speak with a slightly aristocratic accent. But seriously, I do not really know either. At least for the foreseeable future, I still believe that learning the fundamentals and communicating with your peers remain extremely important. Those are the only ways you can gradually accumulate experience and learn how to direct your own agent effectively.
It is just that we now have a magic button at our disposal. If I were a developer just starting out, I am sure I would be unable to resist pressing it constantly as well. So I cannot really say what the answer is. But I think that if you genuinely want to accomplish something in this era, the quality you may need to develop most is self-discipline.
Matt: Armin, before we went live, you also mentioned another issue: there seems to be a persistent tension between the quantity and quality of code. Mario, you touched on this just now as well.
Today, simply pressing that magic button can generate enormous amounts of code. But when code has become so cheap that quantity is barely an issue anymore, how much should we still care about code quality? How should we balance the two?
Armin: I think there is a very clear characteristic of using agents today: whenever you give one a task, it almost never tells you that it cannot be done. In the worst case, it tells you the work may take six weeks, and then completes it in two hours.
That makes it very easy to give in to the impulse that, since implementing features is so simple, you might as well add every feature you can think of. Sometimes you do not even ask it to add a particular feature, only to discover in the end that it has implemented that feature along the way.
So I think software has an inherent tendency toward ever-increasing entropy: it accumulates more and more features until it ultimately tries to do everything. I genuinely love the capabilities these tools provide, but rather than seeing people use them to give software as many features as possible, I would prefer to see them use these capabilities to make software as good as it can possibly be.
And software that can do everything really is hard to resist. You think, “I’ve always wanted this feature, and that one too, and now I can finally have them all.” By the end, you have built a “Simpsons car,” as Mario often likes to describe this kind of situation.
To be honest, I often make the same mistake myself. Whenever I work on a project, I cannot resist adding too many things to it. But I genuinely hope we will see more software projects that are both ambitious and high-quality. By ambition, I do not mean adding more and more features; I mean raising software quality to an exceptionally high level. That is what I am really looking forward to.
Mario: Yes, I feel the same way. What I would say is that the software we developed before Agents came along was not particularly good either, right? But that does not mean that, just because software quality was poor in the past, we can afford not to care about it now.
Quite the opposite: I think now is precisely when we should care most about software quality. When we used to write code manually, a tremendous amount of tedious, time-consuming work occupied developers’ time. Now all of that can be delegated to Agents.
In theory, that should give us more time to focus on software quality instead of blindly pursuing more code. But what we are seeing right now is exactly the opposite. Everyone seems to be caught up in a kind of “AI psychosis,” concerned only with generating more and more things. Ultimately, it will still come down to commercial returns—how much additional revenue using Agents can actually generate for businesses.
At the moment, I do not see how turning software into a “Simpsons car” packed with every imaginable feature creates much business value. But I can absolutely imagine the commercial value of using Agents to improve service quality. This is especially true in fields with extremely demanding requirements for metrics such as system uptime, where service reliability may directly determine whether a business can make money.
Yet we do not seem to have truly seen such results so far. I think the problem is that we still have not figured out how to build an engineering process around Agents that can genuinely produce high-quality software. Until we find the answer, people will probably keep experimenting in every direction and building a huge number of things to see what ultimately works.
Matt: But you are already helping us explore many of these questions.
Mario: I certainly am constantly tinkering with all sorts of random things.
Matt: Absolutely—and quite a lot of them. But after listening to you for so long, my overall impression of both of you is a kind of “bearded skepticism.” You both seem to think things have not truly reached the ideal state yet, that something is still missing. So what exactly is missing? Are the models themselves still not capable enough, or have we simply not yet found the right methods to make full use of the capabilities existing models already have?
3 Verification Is Overrated: Passing Tests Does Not Mean the Code Is Reliable
Matt: It sounds as though you are still fairly cautious about Agents and do not place much trust in them, right? But many people today are doing exactly the opposite. Especially since the release of Opus 5.5, more and more people have begun to trust Agents.
Some developers also build supporting runtime frameworks and work environments specifically for them, introducing mechanisms such as verification tools and automated code review to constrain Agent behavior and reduce the number of decisions they can make autonomously. So I would like to know: do you truly not trust Agents, or are you also trying to build some kind of system that makes them trustworthy under specific conditions? What exactly are you doing?
Armin: I am not entirely sure whether this is really a question of trust, because I do not actually want the future to turn out that way. Let me put it this way: perhaps, as you just mentioned, my way of looking at the whole issue is fairly simple. Suppose that one day these Agents truly achieve AGI while everything else remains the same. Let us take that as our new starting point and assume the technology has already reached an astonishing level.
But honestly, I do not particularly care what level of capability they ultimately reach. We do not develop software for some nonhuman entity to use and enjoy, right? The same applies to everything else in life. Ultimately, we do these things for people. So no matter how technology develops, humans will always be involved in some form. Otherwise, what would be the point of human existence?
From that perspective, I do not actually care that much about the Agents themselves. What matters more to me is whether the things we are doing can genuinely create value for society and bring about positive change. So many of the discussions about Agents are not really that important to me.
Of course, I also hope Agents become increasingly useful and capable. But no matter how far they ultimately develop, what I truly care about will always be this: how can software engineers use these technologies to create the most outstanding and valuable things possible? And I think that process will always be constrained by the limits of human capabilities. It is just that software engineers in the future may use more Agents to do their work.
So I do not think there will ever come a day when I feel, “All right, now we can remove people from this process entirely.” That kind of future holds no appeal for me whatsoever. What truly interests me is how to enable the people involved to make the fullest use of their abilities. So I do not have a specific threshold for model capability in mind, where I would only be willing to use a model once it reached a certain level. The question I am always trying to solve is how to help people do their jobs better and achieve the best possible results. And no matter how powerful models become in the future, I believe we will always encounter new problems in this area and need to keep searching for answers.
Mario: For me, it is still a question of trust. But the longer you use Agents, the more you gradually learn which tasks you can safely entrust to them and which ones you cannot yet. Every time a new model is released, you need to rebuild that judgment. Of course, when it is a new generation from the same model family, you can also use your past experience to form some basic expectations about its capabilities.
Let me give you an example from Pi. Pi receives roughly 40 to 50 new Issues every day. We have now built a bot that automatically triages and performs initial handling of Issues, developed by my colleague David. The way it works is actually quite simple. We give the Agent a relatively straightforward prompt asking it to investigate whether a Bug actually exists, determine whether the user’s report is valid, and try to reproduce the problem consistently.
If it can reproduce the problem, it also proposes a fix and assigns the Issue a priority. Over the past week or two, we have been continuously refining the system using historical data as well as improvements we thought of later. It is now very reliable. For example, if I see an Issue marked P0, I can be fairly certain that it really is a P0-level problem.
If the problem can not only be reproduced consistently, but there is also a test demonstrating that the current code is defective, and the Agent has proposed a fix that makes the test pass, then I have a great deal of confidence in the result.
In such cases, most of the time I only need to confirm it before I can approve and merge the fix proposed by the Agent. But when the task is to add a specific feature or extend existing functionality—especially when it involves how I, as a product user, would use those features—the model’s results are often laughably absurd.
Armin: Right, so it is not that we do not trust Agents. It is just that Agents still have quite a few shortcomings, and their performance varies greatly across different domains. There are some tasks they genuinely perform very well and can be trusted with, but in other domains it is a completely different story.
And I have found that whenever we develop a new kind of trust in an Agent and feel comfortable letting it handle certain work, we naturally start making greater demands of it. Then you find yourself trusting it less again, because the things that have already been validated and that it can perform reliably quickly become something you take for granted. For example, when developing Pi now, the proportion of code read by humans is already much lower than it used to be. But we barely even discuss that anymore because everyone sees it as normal. After all, surely models are no longer going to make a complete mess of the entire codebase, right? Of course, perhaps they still will. But at least in that respect, I really do not worry much anymore.
Matt: I see. Because I think what is really changing at the moment is the amount of human code review required, right?
Matt: Earlier this year, we were still discussing how much code we needed to write ourselves, right? For me, that proportion has now fallen to almost zero. I imagine it is the same for both of you, and that has already been the case for some time. But now the question has become how much code we actually need to review and to what extent human review affects the release of code. This is obviously particularly important for you with a public project like Pi, where you also have to maintain public-facing interfaces and ensure that you do not introduce breaking changes.
So I am curious: how much time do you now spend looking at code that is about to be released? And how often do you merely inspect the validation evidence submitted by the Agent? To use what may be a slightly technical expression, you have effectively built a “software factory” that converts incoming Issues into fixes. You can decide whether to accept a fix based on the evidence provided by the Agent without reading the code line by line. Mario, how much of Pi’s code do you still look at now?
Mario: I actually still look at quite a lot of it. Even for Issues fixed automatically by an Agent, I examine the code diff. My advantage is that I am extremely familiar with Pi’s codebase. Even though Agents have been helping us fix problems over the past 12 months, I still know what is going on throughout the codebase because I have continued reviewing the changes they make.
Of course, not all code needs that treatment. For example, we have a feature that exports session data as HTML, and I do not care at all how its code is written. As long as the final output is correct, I do not care about the internal implementation. But if it involves how the tools work, the implementation of the tools themselves, the Agent loop, or other core infrastructure that must remain stable and reliable, I will still review the code carefully. At least so far, I have not given that up.
Matt: Do you review all the code, or do you inspect only part of it—through spot checks, for example?
Mario: It depends on the specific change. If it involves a subsystem that I consider extremely important, then I will definitely review the entire diff from beginning to end. If I have a rough idea of how the problem should be fixed, I may skip quite a few details. As for changes that do not affect anything critical, I may not look at them at all. If it is something like an extra space, for example, I do not need to confirm it personally. Those things can be left to the Agent.
Matt: Mario, I want to follow up with you because I get the sense that neither of you is quite as obsessed with verification as I am. My approach is that we should build an environment in which the Agent is more likely to succeed, constrain its behavior as much as possible, reduce the number of paths available to it, and prevent it from introducing ambiguity or making certain decisions on its own.
But before we went live, you said something that made me particularly curious: “Verification is overrated.” What exactly did you mean by that? I would really like to hear your explanation.
Mario: First, I should say that Lauren is excellent, and I really like everything she shares. What I am about to say is not a criticism of her. I have simply seen too many people fall into the misconception that as long as an Agent has written a large number of linting rules, unit tests, end-to-end tests, and so on, the entire system must be good enough. But that is simply not true.
The reason is straightforward: these Agents are still entities that will do whatever it takes to achieve their goals and exploit loopholes in the reward mechanism. They will still deceive you. That problem has not disappeared entirely. They may be testing the wrong thing, or their test coverage may be nowhere near comprehensive enough. If you do not have a sufficiently deep understanding of what is actually happening underneath, you simply cannot determine whether any of that verification has value. I would even argue that most of it is not nearly as reliable as people imagine.
Armin: I think the first thing to make clear is that we actually rely heavily on verification. Pi itself has a large number of unit tests, and every project I have worked on has had various mechanisms to constrain the Agent and clearly define what it may and may not do. The problem is that some things are fundamentally difficult to verify.
For example, I once used Lean to create formal proofs for some of Pi’s code. After finishing, I found myself wondering: Why am I doing this? And what mechanism should I use next to ensure that the code always remains consistent with those proofs? What I really wanted to explore at the time was whether we could establish a method for keeping the source code and the formal proofs in sync at all times.
I also built a system for a component that we may use in the future, or may ultimately decide not to adopt. It takes a metalanguage as input—essentially a miniature version of TypeScript—and translates it into other systems. The benefit is that it gives me a degree of control that I could not obtain through other approaches. The whole process was certainly interesting, but ultimately it did not really solve the problem. It merely gave the Agent one more tool it could exploit.
At least with the way we currently develop software, unless you use a language such as OCaml, most formal verification ultimately just becomes another artifact for the Agent to consult. As far as I know, at least, this verification has not yet been truly integrated into the Agent’s underlying operating mechanism as something that can fundamentally constrain its behavior.
Armin: That said, I do believe it may be possible to find a genuinely effective way to verify software in the future. If someone has already established a complete software development process that truly integrates formal verification throughout the entire lifecycle, from development to delivery, I would be very interested. I have experimented with tools such as Coq and Lean myself, but so far I have not succeeded in incorporating them into our existing development process as a genuinely effective step.
Mario: I would like to approach this from another angle. The halting problem is real, and there is no way around it, whether you use Lean, Coq, or any other tool. Another key question is what exactly you are trying to verify.
If you are only verifying a few pure functions, that is easy. But end-to-end verification of an entire system is a completely different matter. At least for now, that approach does not work. Verifying each module individually also does not mean that the system as a whole will necessarily be correct once those modules are combined.
So I do not think we can fully verify general-purpose software systems. Of course, heavily regulated industries such as aerospace are another matter; they have accumulated decades of experience in this area. But you have to look closely at exactly how they write code and conduct verification. That software is designed and developed from the outset with the requirement that it be verifiable. Most of the code we write today, however, is a far cry from aerospace industry practices in every respect. So I still think we are largely fooling ourselves. That said, some verification is better than none at all. You just cannot let a pile of well-structured-looking code and tests sitting on your hard drive give you a false sense of security, because they may not actually prove what you think they have proved.
Matt: In other words, you cannot assume the system is fine just because CI is green.
Mario: Exactly. That is precisely what I mean.
Matt: I think this has always been an issue in software engineering: How far can deterministic tools actually take us? The answer is that they can indeed solve quite a lot of problems, but they are still nowhere near sufficient and may never be. Beyond these tools, do you also bring in AI code review as an additional layer of protection?
Mario: I would not call it a safety net. More accurately, it is insurance against my own laziness. With the right prompt, an Agent can be utterly merciless when reviewing code and tell you outright, “This thing is an absolute pile of garbage.” So adversarial review is very important in my day-to-day work, especially when I am designing systems.
I am really just reusing a very old idea from machine learning: ensemble methods. Ensemble methods were extremely popular when I was doing foundational machine-learning work in the 2000s. You can now apply exactly the same idea to AI code review. Specifically, you can select models from different model families, give them exactly the same input, and have each of them review the same design. In the end, you will get widely divergent feedback, and the issues they identify are often quite different as well. I find that extremely helpful.
But this approach also has a problem. If you ask the models to be especially harsh and nitpicky, they may become overly aggressive and flag many things that do not actually warrant attention, much less fixing. Ultimately, you still have to rely on your own judgment to decide which issues are truly worth addressing.
Armin: Right. Any automated adversarial review will almost inevitably produce false positives. That is practically an inherent feature of it: whether or not there is a real problem with the code, it will always find something. I have seen people put this kind of review into a loop, with the Agent continually checking and modifying the code until it can no longer find any issues. I think all that is likely to produce in the end is an ever-growing system.
Mario: Absolutely.
Matt: And then there are all those review comments, with several Agents picking holes in one another’s work, going back and forth without end. It is sheer torture.
Armin: There is another major problem here. I am not sure how much the newer models have improved in this respect, because I now consciously avoid this approach. But I think models used to be trained to a great extent around an emphasis on so-called “best practices,” and many best practices may actually be harmful.
I strongly believe that system design should minimize complexity as much as possible. But many so-called best practices emphasize guarding against every possible invalid input and using defensive programming everywhere. I feel that models have learned those lessons far too well. If you give a model free rein to develop something in its own way, it will still often end up making the system much more complex.
I have also been doing a great deal of security research recently, mainly to ensure that our systems do not collapse completely if someone uses them maliciously. But I have found that many of the extra safeguards Agents add may instead create a false sense of security.
For example, an Agent may see that safeguards are already in place somewhere and conclude that the system is secure, while overlooking another extremely serious vulnerability. In other words, the presence of certain protective mechanisms may lead it to assume that the entire system is fine, when in reality it has missed the risks that truly matter. In the long run, simpler systems are generally easier to understand. The code Agents generate today still tends toward complexity.
I even suspect that if a human programmer and an Agent were asked to solve the same problem independently, we might ultimately find that the code written by the human without Agent assistance was easier to maintain over the long term. I would not be surprised in the slightest if that turned out to be the case.
Matt: Because writing code manually takes more effort, you spend more time thinking about how to implement it, right?
Armin: Yes, I have that sense as well.
Matt: I think one thing human programmers are truly good at is considering tactical and strategic issues at the same time. They not only solve the immediate task but also consider the long-term impact. A good programmer, while implementing a feature, should also make choices that benefit the system’s long-term evolution, gradually improving its overall design. Since we are talking about system design, both of you have extensive experience spanning the different stages of software development before and after the emergence of AI. I would like you to share some specific approaches.
4 From System Design to “Lights-Out Factories”: Do Engineers Still Need to Understand Code?
Matt: Could we extract some of your expertise and put it directly into a prompt? That would be a dream come true for me. For example, I’m thinking of John Ousterhout’s Deep Modules, interface design, boundaries between system components, and so on. Which system design approaches do you personally focus on? Have you discovered any especially effective techniques that can help an Agent develop the right way of thinking about system design? Either of you can go first.
Mario: To me, system design is more of a craft than an engineering methodology with a strict sequence of steps. Before I can arrive at an actual solution, I first need to explore the range of possible solutions to the overall problem and gradually develop an intuition for it.
In the past, I would write small programs myself, design a few simple APIs, define some types, and then prepare a scratch file where I could experiment with what I had written so far, see whether it felt natural to use, and identify where problems might arise.
Now an Agent can conduct these experiments for me. And instead of producing just one version, it can generate ten different implementations at once, allowing me to explore all of those options simultaneously. That is fantastic. In the past, when I was writing code by myself, there was naturally a limit to how much code I could complete each day. Now, in the same amount of time, I can examine many more possible solutions and gain a far more comprehensive understanding of the problem. Ultimately, what I am doing is still constant iteration. Almost my entire career as a programmer has consisted of repeated iteration: try one approach, discover problems, and improve it until it is simple enough while still accomplishing what I actually want to achieve.
Matt: That is hard to turn into a prompt, right? You cannot exactly tell the Agent, “I feel like there is something a little off about using this solution. Try again.”
Mario: Right, it is about reaching that state where it “feels right.”
Matt: Armin, what do you think?
Armin: For the past ten years—or perhaps closer to twelve—most of my work has involved developing and operating SaaS software. After working on systems like these for a long time, you gradually come to an important realization: when a system fails, the ideal situation is that even if you do nothing for the moment, things will not continue to deteriorate.
In other words, you want to avoid situations where you must act immediately or things will keep getting worse. That means designing switches, feature toggles, and other emergency mechanisms in advance. Then, even if a failure occurs suddenly, you can quickly take measures that buy you time to deal with the problem.
But I am not sure whether some magical prompt could get an Agent to design such a system automatically, because doing so requires a great deal of understanding of the actual business. For example, you need to know how data flows through the system and how much data there is. The tradeoffs involved in system design may be completely different at different data scales. Moreover, these background conditions are not fixed; they continually change over time.
That reminds me of something rather interesting that happened just last Friday. I needed to investigate an issue in a codebase where the Agent also proactively maintains documentation recording things it previously discovered. While analyzing the problem, it cited one of those documents. Its analysis struck me as very strange, so I asked, “Why do you think that?” It said, “Because I found this file, and it says the database contains only 2,000 records.” I replied, “Yes, but you wrote that file when the database was still empty!”
That is precisely the problem. The system is constantly changing. The database has long since grown beyond 2,000 records; it now contains millions. Once the data scale increases from a few thousand records to several million, many of the design tradeoffs change completely. So I do not know whether there is any particularly universal approach I can share.
With SaaS systems, I have always felt that the developer is ultimately still the one responsible. If the system really does fail, the Agent will not bear the emotional burden or pressure for me. I will still be the one who has to face the consequences.
Mario: That is more or less how it is. Armin and I have worked together in the past, although our areas of expertise are somewhat different. I primarily work on client-side and graphics programming, while Armin has been more responsible for massive cloud infrastructure. Those systems perform extremely important tasks and are also quite expensive to operate, so we may see certain issues differently.
But I think there is one aspect of what we are doing now—or rather, of the direction the entire industry is pursuing—that I find very difficult to understand.
Mario: I feel like the entire industry is trying to move away from understanding software systems. That makes absolutely no sense to me. If one day you truly no longer need to understand anything, then what use are you? Why would a company still need you? If all I have to do is feed a prompt into a software factory and it can automatically do all the work, why would I still pay to employ you? Why wouldn’t I just fire you?
At least in my day-to-day work, I have not yet felt that I have become worthless. Of course, I cannot rule out the possibility that this really will happen in the future, but it has not happened yet. What puzzles me even more is why we should treat this state as a goal worth pursuing in the first place. Why scale up software production to the point where no one inside the company truly understands how the system works anymore? What fundamental benefit would that actually bring?
Armin: Because in a sense, that seems to be exactly what everyone is pursuing: continually scaling up the use of Agents until humans are ultimately removed from the workflow altogether. But the reality is that whenever something goes wrong, someone will eventually have to go to the Agent and ask it what exactly happened.
In fact, this is already happening. I have heard peers say that when they join incident-response calls, nobody there has any idea what is wrong with the system, and everyone just keeps asking Claude questions. That is genuinely terrifying.
I do not know whether you remember, but around four years ago Facebook suffered a major outage that even left employees locked out of its headquarters. I no longer remember exactly what happened, but as I recall, some piece of network switching equipment failed, triggering a cascade of failures. In the end, they had to go back to first principles and analyze the system layer by layer to determine what had happened. So many layers of complexity had accumulated throughout the infrastructure that the usual response procedures simply could not solve the problem. A catastrophic failure like that may occur only once every many years, but companies need disaster-response plans precisely to deal with situations like this.
So I find it hard to imagine a day when a Fortune 500 company says, “No problem—our disaster-recovery plan is to keep a backup coding Agent ready at another location, power it with a generator when the time comes, and let it deal with the failure.” That is utterly absurd.
5 Software engineers are no longer irreplaceable, but the lights-out factory has yet to work
Matt: So I would like to take this one step further and ask you a question. Suppose someone now has to prove to their company why their position still needs to exist.
For example, they already sense that the company is preparing layoffs and may cut a ten-person team down to five. They know they are very likely on the layoff list. How should they explain why the company still needs human engineers? Is it merely because businesses need disaster-response plans? That does not seem like a sufficiently persuasive reason to me. There must be other reasons, right? As we just mentioned, humans can use their domain knowledge to guide Agents more effectively and help them choose the right parameters and implementation direction. But if you genuinely had to prove the value of human engineers to a company, what would be the most convincing argument?
Mario: Let me start with one point: I do not actually intend to defend everyone’s job. It pains me to say this, but I believe there are indeed many tasks in software development that no longer need to be performed by humans. That is simply the reality.
The next question then becomes: when more and more work in your market can be replaced by machines, how do you preserve your value? For me, the answer is relatively simple, because I am older and have accumulated a great deal of experience, and that experience still seems to have value in the market at present. But for young people, I genuinely do not know what they should do. Honestly, I do not have an answer either.
All I can say is that people like me will eventually grow old and even die. When that time comes, society will presumably still need some people to oversee these software factories, and those people will at least need a basic understanding of what is actually happening inside the systems. So ultimately, that job will fall to you younger people. You had better keep learning things seriously. But I truly cannot offer an argument proving that every software engineer in the world should keep their job.
Armin: I think that if someone at your company actually walks up to you and says, “You have to prove why your position still has value,” then, to me, things have already reached a very bad stage.
Regardless of whether the company still thinks I have value, I would probably choose to leave, because it would indicate that something had gone seriously wrong. Of course, I know that is relatively easy to say for someone whose job is fairly secure. But I still think this point is important, because most of the time no one at the company will directly ask you to prove the value of your position. You will simply begin to sense gradually that something at the company does not seem quite right. For example, the company has just gone through a round of layoffs and you were fortunate enough to be unaffected, but you have a vague feeling that the next round may be coming soon. At that point, you may start reporting your work more frequently in your team’s Slack channel or deliberately making more noise so that more people notice what you have accomplished.
Matt: Right, especially those concrete work results.
Armin: Exactly. But if you go to work every day feeling that you constantly have to prove to others that “I’m doing something valuable,” then the entire work environment has already become deeply unhealthy. And eventually, that state of affairs will affect you as well.
You will become less and less motivated to think about what you should actually be doing at the company, instead spending more and more time proving the necessity of your own existence. If things have already reached that point, I would start seriously considering much earlier: Is what I’m doing really no longer creating value? If the answer may be yes, then I should think about where I could go to start doing valuable work again.
Mario: And now you may have to reassess that every three months, right? In the past, we old-school programmers often tried to avoid dealing with other people. But I think the ability to communicate with people may now be precisely what increases your market value.
I’ve never been a typical programmer. I actually like people and enjoy talking to them. So I can do more than just the work of an engineer or programmer. For example, I can put myself in users’ shoes and more accurately determine what they really need.
Matt: That is incredibly difficult. But I’ve also always felt that this ability is extremely important. My own past career experience has left me with the same impression. At least for now, machines still cannot truly replicate that ability. Of course, that assumes that you, as a person, are genuinely good at understanding others. After all, many people are not very good at it themselves. And people do not necessarily like communicating with machines either.
Still, I’d like to steer the conversation back toward software development. We probably have time for one or two more questions. There is an increasingly popular concept now called the “Dark Factory.” It refers to an almost entirely autonomous software factory: you do not need to inspect the code or even turn on the lights—the whole factory can simply keep running on its own. I’m curious whether you think this model is already feasible. Are there certain tasks for which it can already work? And could it ever truly become a reality in the future? I do not usually like making predictions about the future, but what you’ve discussed today has made it impossible for me not to ask.
Mario: I think the answer is simple: if someone can actually build this model and it truly has economic value, then it will naturally emerge. But so far, I haven’t seen a real example of it being achieved.
Armin: I think it’s an interesting direction, and people are indeed trying it. I recently came across an example.
While preparing for my talk at AI Engineer, I discussed this topic with a friend. I told him, “Look, I don’t actually think anyone is currently running a complete system like this: the Issue Tracker keeps receiving new problem reports, and the system automatically analyzes and fixes them without any human involvement throughout the entire process.” He replied, “I’m using one.” So I asked, “Are you still using it now?” He said, “No.” I asked, “Don’t you think it’s wasteful to have it constantly consuming tokens?” He said, “Yeah, I really should turn it off.”
So I think that, ultimately, someone still has to genuinely care about it. If a system has been completely automated and even you no longer look at its results, then technically, of course, it can be called a factory—but what is the point? It is indeed running automatically, but probably no one even knows whether what it ultimately produces has any value.
Mario: I didn’t attend the AIE conference in San Francisco, though Armin did. But from what I understand, Steve Yegge gave a talk there that was essentially telling everyone, “All of you need to slow down. Stop charging ahead like this.”
Because according to him, these software factories will all eventually turn into a complete mess. And that statement came from Steve Yegge of all people. Remember, he was one of the earliest people to evangelize AI-generated code like crazy. That is quite telling, isn’t it?
Matt: But at the same time, he also supports the existence of the software factory model. He actually argued both for and against it, which I think is the most interesting part of the whole thing.
Mario: I don’t even think those two views are contradictory. Perhaps in the future we really will be able to build genuine dark factories for certain specific problem domains. I certainly don’t rule out that possibility. So we need people to keep experimenting and exploring whether this path can actually work. But I’ll say it again: it must be capable of creating economic value. Otherwise, it is just a form of self-amusement.
Matt: Right, and different problem domains will certainly be suited to this model to different degrees. For example, problems in certain areas of pure mathematics may be easier to hand over to a software factory for automated processing. But even with a very basic CRUD application, I think that if we were to let it be developed and operated entirely autonomously today, all sorts of problems would probably emerge very quickly.
All right, I have one last question. I’m genuinely curious about just how tired you all are right now, because the way we work has changed enormously. In the past, we might spend some time making decisions, then sit down and write a good piece of code before stopping to reconsider the long-term direction. But now, it feels as though we are forced to remain in strategic-thinking mode constantly, with hardly any downtime. At least, that is how I feel. What state are you in now? Are you more tired than before, or have you adapted to this way of working?
Armin: About two weeks ago, I saw an article online whose title was something like “The Wives of AI Husbands.” It was basically describing exactly what we are going through now. I shared it with my wife, and after reading it, she said to me, “Isn’t this article about you?”
Mario: I’m glad I didn’t send that article to my wife.
Armin: But seriously, I’m definitely not getting enough sleep right now, and I can’t even say exactly why.
Matt: But you are also the founder of a startup, after all, so it may not be entirely because of AI.
Armin: True, but I think this really is an extraordinary period. It is both the most exciting era and the most bewildering and incredible one. You feel an intense sense of urgency to experience everything that is happening firsthand because you do not want to miss any change. As a result, you keep putting more pressure on yourself. But I can handle it.
Matt: That’s good.
Mario: Armin, Peter Steinberger, and I have been playing around with this stuff since the beginning of last year. I think we had already worked through that bout of “AI mania” by last summer. During that period, I often did not get enough sleep either. But now I’m much more relaxed.
Honestly, I do not think there have been that many truly significant changes over the past eight months, or even the past twelve months. I no longer see any particularly obvious leaps in capability. What I see instead is various organizations still struggling to figure out how to build a sensible engineering process around this new tool called AI.
And so far, I have not seen anyone truly find the answer. At least, no methodology has made me think, “Yes, this is the new standard model that everyone should follow.” Of course, I should probably go through everything you have shared, Matt. There might be a genuinely effective solution hidden in there somewhere.
But I do think the work being done by people like you and teams such as HumanLayer is extremely valuable. I believe this is what the industry truly needs to explore in depth next. So AI no longer keeps me awake at night. I don’t care anymore. I have seen pretty much everything there is to see.
Matt: Right, I’m still trying to keep my “AI mania” under control—consider it a form of therapy, I suppose. But I think I’m in a pretty good place at the moment. All right, everyone, we agreed to talk until 10:10, so I won’t take up any more of your time. Thank you so much for joining the livestream today. It was a real pleasure talking with you.
Podcast link
This article is from the WeChat public account “InfoQ” (ID: infoqchina), written by Lin Qibei and Tina, and published by 36Kr with authorization.
AI Trends