Mahesh: safe evolution and abstractions still constrain AI system design
state: watchingheat: mediumuncertainty: highrelevance: highai-workforce system-design software-engineering ai-agentsMahesh
What is this?
Mahesh, a systems researcher and engineer, argues in a July 22, 2026 blog post that having AI agents write code is not enough to make large-scale system design safely delegable. Using the hypothetical of an agent swarm rebuilding an S3-like service, he suggests that correctness testing, verification, and performance tuning may be tractable, while safe evolution of live systems, accumulated complexity, fragile environments, and the lack of precise abstractions remain harder barriers. This is a practitioner’s argued perspective, not a benchmark or demonstration that agents can or cannot build such systems. Later search results point to a September 12 follow-up by Mahesh proposing benchmarks for AI-driven system design, but the supplied results provide only a snippet, not its full contents. Two later Hacker News entries link to a separate article titled “LLMs are terrible at designing AI systems”; their supplied records contain no article text, so they do not independently establish or refute Mahesh’s specific claims.
Why it matters
The argument shifts attention from whether agents can generate code to whether they can manage the long-lived, changing systems that organizations depend on. If safe migration, system complexity, and useful abstractions remain human-led, principal engineers retain a critical role even as coding becomes more automated. Conversely, progress on agent-usable abstractions and reliable evolution could expand automation from individual tasks to operating and redesigning infrastructure. The post identifies plausible bottlenecks, but does not experimentally measure them.
Current assessment
Newly surfaced evidence is Mahesh’s July 22, 2026 first-person blog post, “The Bottlenecks for AI-Driven System Design: why Principal Engineers are not (yet) obsolete.” He frames his argument around an unsolved hypothetical: could a swarm rebuild a distributed storage service from an API, a simple implementation, and a scheduler? He explicitly treats several familiar difficulties—correctness, simulation, verification, and performance optimization—as possibly manageable, not solved; his emphasis is on safe system evolution and migration, the fragility of real systems where trial-and-error can be costly, entropy and stale or partial agent context, and the combinatorial difficulty of simulating interacting versions, applications, libraries, and configurations. He proposes that abstractions could help agents manage complexity, but argues current text-and-code interfaces may not capture them precisely enough; a useful agent-generated abstraction is his suggested marker of a shift toward agent-driven system design. These are the author’s informed but explicitly unscientific reflections, not measured findings. A search result identifies his later September 12 post, “Three Ideas for Benchmarking AI-Driven System Design,” and says arbitrary distributed-system safety can require reasoning over action interleavings; the supplied snippet is insufficient to characterize its proposals or results. The November Hacker News links to Sean Goedecke’s “LLMs are terrible at designing AI systems” include no linked article text here; comments are anecdotal and do not verify the case. Implication: coding-agent progress alone is weak evidence that organizations can delegate architecture or safe operation of production infrastructure. Track concrete benchmarks, migration and rollback capabilities, handling of concurrent versions and shared state, and abstractions or tools that make system-level reasoning tractable. The article also notes that agents cannot be trusted to design their own safety mechanisms, highlighting a governance dependency.
Measured heat
now 0 pts/hpeak 9 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 3073h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
Evidence (4) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | The Bottlenecks for AI-Driven System Design: why Principals are not yet obsoleteRetrieved article excerptOpen article · Retrieved 2026-11-02T06:22:29.527820+00:00 # The Bottlenecks for AI-Driven System Design: why Principal Engineers are not (yet) obsolete.
Jul 22, 2026
I’ve been building systems, teaching system design, and writing papers about novel designs for a couple of decades now. In my view, agents are magical self-writing distributed programs: my personal research agenda has swivelled to designing abstractions that can make them safe when they interact with complicated environments. But as I design and write[1](https://maheshba.bitbucket.io/blog/2026/07/22/agentdesign.html#fn:1) this new system ([LogAct / AgentBus](https://arxiv.org/abs/2604.07988v1)), I have been puzzled by why designing a system has not become as trivially outsourceable to the LLM as writing code. Here are some unscientific thoughts, mostly to get a conversation going.
- **Concretely, can an agentic software factory build S3 from scratch?** Let’s say I provide a swarm of agents with: the S3 API and an in-memory single-node implementation; and access to a scheduler. I come back a month later: can the agentic swarm re-create S3 in all its glory and scale, with sharding for scale and replication for fault-tolerance?
- **Correctness is difficult, but perhaps not the bottleneck.** If we vastly simplify S3 down to “just a storage system” (ignoring things like billing, authorization, etc. that make it a viable business), the in-memory implementation could operate as the correctness specification of the service. The service must match the semantics of that implementation in the presence of concurrency and failures. This approach works particularly for strongly consistent systems with strong but correspondingly simple semantics (e.g., linearizability). It also works well for storage services with relatively simple APIs. YMMV with more complex APIs with weaker (and harder to specify) semantics.
- **Simulation is difficult, but perhaps not the bottleneck.** Tests can be written by humans and LLMs against the API. We provide the agent with a deterministic simulator that allows it to check the correctness of its new implementations under concurrency and failures. For a storage service, it’s tractable to simulate machines, networks, and simple workload generators; particularly for safety / correctness invariants such as linearizability.
- **Verification is difficult, but perhaps not the bottleneck.** LLMs have made it easier to write formal specifications and proofs. Behavior under concurrency and failure is still difficult to verify, but LLMs remove the drudgery. We are getting closer to the goal of a single specification that can be used to synthesize code as well as prove invariants.
- **Performance Optimization is difficult, but not the bottleneck.** Once agents can generate new implementations of the API, they can estimate performance via simulators or even deploy / canary implementations to generate real performance numbers. Finding a performant implementation then turns into a hill-climbing exercise on the space of implementations, bitter-lesson-pilled.
- **Evolution is a real bottleneck.** Change is hard. The hardest problem senior engineers / system designers deal with in industry is migration: safely moving a complex system from one state to another without user-visible impact. Avoiding one-way doors in system design is critical. Every change potentially makes future changes more difficult.
- **Frangibility makes it difficult to learn.** Evolution is also complicated by frangibility. Techniques such as RL do well in environments that are not frangible or destructible, since they can try things and learn by observing outcomes. But an agent can’t just roll out a new version of S3 and see what happens.
- **Entropy creates an agentic arms race.** While the agent figures out how to evolve things safely, the system itself is changing. Nodes and networks fail. Fixes accumulate complexity. Migrations leave behind trails of special-case handling. Zombie agents continue to make changes based on stale directives. On the one hand, motivated agents should be able to reduce entropy / technical debt efficiently. On the other hand, agents with partial context and diverse goals can also increase entropy very efficiently.
- **Simulation hits a diversity barrier.** There are just too many possibilities to simulate. Determining whether a roll-out of a new version of S3 would cause an outage requires simulating not just that version (which is arguably tractable), but every simultaneously running version that accesses shared state. Further, the end-to-end behavior of any application using S3 can’t be determined unless we simulate it as well. Applications might use multiple library implementations; different transport protocols; various tuning parameters. How do we know what is important to simulate?
- **Abstraction is a possible solution.** Humans deal with complexity in general (and entropy / evolution in particular) by hiding it via abstraction. Maybe agents can do the same. One problem: language models reason via language; but abstractions typically are not expressible precisely and compactly via language. (Some abstractions are literally individual APIs; but others – like processes or RPC – are more conceptual and diffuse). Most system design conversations between humans still happen via whiteboard squiggles. Right now, agents reason about system design using a combination of low-level code and imprecise text. We are perhaps missing a language for system design centered on abstraction. For me, the shift from humans to agents will happen in system design when AI creates a novel, useful agent-generated abstraction for its own use – much like primates inventing tools[2](https://maheshba.bitbucket.io/blog/2026/07/22/agentdesign.html#fn:2) – with the express goal of reasoning more effectively about the design space.
Footnotes:
1. Why not just solve the problem of agentic system design and then ask the agents to design the system themselves? Well, the one thing you can’t trust the agents to design on their own is the system that ensures they operate safely. Quis custodiet ipsos custodes? [↩](https://maheshba.bitbucket.io/blog/2026/07/22/agentdesign.html#fnref:1)
2. I just happen to like em-dashes; no AI was used in the generation of this text. [↩](https://maheshba.bitbucket.io/blog/2026/07/22/agentdesign.html#fnref:2) | porridgeraisin | 1 | 0 |
| 🟧 echo.blog ⭐ | The author uses the hypothetical of agents rebuilding S3 to argue that system evolution, frangility, simulation diversity, and the lack of p | Mahesh | — | — |
| 🟧 hn | LLMs are terrible at designing AI systems | ingve | 5 | 1 |
| 🟧 hn | LLMs are terrible at designing AI systems | saikatsg | 7 | 5 |
Interpretation history
2026-11-17T06:22:59Z
audience grounding: high — The argument shifts attention from whether agents can generate code to whether they can manage the long-lived, changing systems that organizations depend on. If safe migration, system complexity, and useful abstractions remain human-led, principal engineers retain a critical role even as coding becomes more automated. Conversely, progress on agent-usable abstractions and reliable evolution could expand automation from individual tasks to operating and redesigning infrastructure. The post identifies plausible bottlenecks, but does not experimentally measure them.
2026-11-17T06:22:41Z
The later discussion adds reactions to a broad claim about LLM system design, but neither post supplies evidence that independently tests Mahesh’s specific proposed bottlenecks. The case remains a useful, unsettled expert diagnosis rather than a demonstrated capability or measured limitation; attention has cooled substantially from its peak.
2026-11-08T13:24:08Z
The later Hacker News item adds a related assertion that LLMs are poor at designing AI systems, but provides no underlying evidence or clear connection to Mahesh’s specific claims. It modestly extends the discussion, not the support for the essay’s proposed bottlenecks; attention has cooled since the initial peak.
2026-11-02T06:23:59Z
audience grounding: medium — The essay shifts attention from whether agents can write code to whether they can safely change systems that keep running, with many interacting versions, dependencies, and failure modes. If Mahesh’s diagnosis is right, progress toward agent-run infrastructure may depend as much on better design abstractions, migration safeguards, and evaluation environments as on stronger coding models. That is a consequential perspective, but this source is an expert’s hypothesis rather than evidence that the proposed bottlenecks have been measured or overcome.
Decision trace
- 11-26 04:25review_screenjev screen: no material development (noul=0.22)
- 11-17 17:22repriceThe later discussion adds reactions to a broad claim about LLM system design, but neither post supplies evidence that independently tests Mahesh’s specific proposed bottlenecks. The case remains a use
- 11-17 17:22groundThe argument shifts attention from whether agents can generate code to whether they can manage the long-lived, changing systems that organizations depend on. If safe migration, system complexity, and
- 11-17 17:21attention_candidateattach
- 11-17 17:21attachshared external link with case evidence
- 11-17 17:21propose_attachshared external link with case evidence
- 11-12 16:21review_screenjev screen: no material development (noul=0.04)
- 11-09 00:24repriceThe later Hacker News item adds a related assertion that LLMs are poor at designing AI systems, but provides no underlying evidence or clear connection to Mahesh’s specific claims. It modestly extends
- 11-09 00:21attention_candidateattach
- 11-09 00:21attachThe essay adds a related argument about limits on using LLMs to design complex AI systems, though the observation provides no supporting detail.
- 11-09 00:21propose_attachThe essay adds a related argument about limits on using LLMs to design complex AI systems, though the observation provides no supporting detail.
- 11-02 17:24attention_candidatecreate
- 11-02 17:23groundThe essay shifts attention from whether agents can write code to whether they can safely change systems that keep running, with many interacting versions, dependencies, and failure modes. If Mahesh’s
- 11-02 17:23createThe essay offers a concrete conceptual account of where agentic system design may remain difficult, but it is explicitly framed as the author's unscientific thoughts rather than empirical evidenc