Coding agents vs compilers
There’s an analogy between compilers and coding agents. The analogy doesn’t quite work; the differences are the interesting part.
Traditional programmers write source code. The compiler turns source into assembly code. These days most programmers don’t pay any attention to the assembly, they fully trust the compiler. But in the old days a good programmer would occasionally hand-write some assembly or at least read what the compiler produced.
Agent-assisted programmers write prompts. The agent turns prompts into source code. We programmers might still write or review that source. But I’m finding I work best with an agent if I can completely trust the agent and ignore the source, just like I ignore the compiler’s assembly output.
But here’s where the analogy breaks down. A compiler is a very specific, deterministic, predictable thing. There should be no surprises in the assembly code it produces. Coding agents are entirely different! They are quite general, randomized, and unpredictable. Claude Code is constantly surprising me with clever solutions, volunteering for extra work, or making really stupid mistakes.
So I don’t quite know what I’m going to get with a coding agent. And I can’t just check in my prompts and expect to be able to regenerate the application. Run it again and it’ll be meaningfully different. That has impacts for whatever the AI-equivalent of open source is. How do we share our code when the source is just some vibes? AI-generated source is just as unreadable as compiler-optimized assembly.
Coding agents could be made reproducibly deterministic. They could also be made more limited and predictable by changing the prompts that drive them. But restricting coding agents now would be a mistake. Coding agents are capable of doing more than we narrowly instruct them to. It seems more productive to give the AI autonomy to make its own choices sometimes. Also the tool development is happening so fast that I expect Claude Code will be different and better in three months. Compilers never changed that fast!
It’s a weird moment of transition. Mostly I’m thinking about how my role as a system designer has changed. I’m no longer carefully tending my source code bonsai. I’m planting seeds and growing a whole forest.