# Agents are the new compilers. Specs are the new code.

DevFeed: [Agents are the new compilers. Specs are the new code.](<https://devfeed.tech/articles/agents-are-the-new-compilers-specs-are-the-new-code-25207.md>)

Original publisher: [Read original article](<https://kau.sh/blog/agent-compilers/>)

Author: Kaushik Gopal

Published: 2026-05-04T16:00:00Z

Content type: opinion

Language: en

Sources: [Kaushik Gopal's Site](<https://devfeed.tech/sources/kaushik-gopal-s-site.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [Code Modularity](<https://devfeed.tech/topics/code-modularity.md>), [Compilers and Linkers](<https://devfeed.tech/topics/compilers-and-linkers.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [code](<https://devfeed.tech/tags/code.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [go](<https://devfeed.tech/tags/go.md>), [rust](<https://devfeed.tech/tags/rust.md>), [spec](<https://devfeed.tech/tags/spec.md>)

## AI overview

The author argues that agents could make software specs the source of truth, with code becoming a generated artifact, much as compilers made assembly less central. Two personal projects illustrate the idea: a USB-C checker moved from shell to Go, Rust, and Kotlin script while its behavior stayed stable; an audio-sync tool moved from Python to Rust while retaining its workflow. The excerpt then suggests agents may lower the cost of replacing whole modules: given a spec, tests, and production traces, an agent could rebuild a module faster than incremental patching. This is presented as a possible shift in engineering practice, not an established outcome.

## Source excerpt

Linus Torvalds recently said1 AI will be to code what compilers were to assembly -- freeing us from writing it by hand. Around the same time, I talked with Jesse Vincent (creator of one of the most popular agent skills out there -- superpowers). Something he said stuck with me: Specs are going to be the new code. I realize those two ideas snap together a little too neatly. Agents are compilers2 and specs will become code. Software engineering is moving up another level of abstraction and we've seen this play out before. Specs as source ## I saw this first-hand with my tiny USB-C cable checker -- usbi. It started as a shell command over macOS's system_profiler, then became Go when I wanted a proper binary, then Rust because I wanted to practice Rust, and later a .kts version. The code kept changing. The thing I cared about did not: parse the USB tree, identify the attached devices, report the speed, and make bad cables obvious. Podsync, my voice track sync program, followed the same pattern. It started in Python because the audio libraries were there. Then I moved it to Rust because I didn't want to ship a Python runtime or care which Python version happened to be on a machine. Again, the implementation changed. The behavior stayed boringly stable: take a master track and local tracks, find the offset, pad or trim each file, and drop aligned audio into the DAW. Compilers freed us from writing assembly. Agents may free us from writing code because it becomes an artifact the spec produces. The somewhat recent push around detailed exec plans could be an early signal of the looming shift at bigger scale. Rebuilds instead of patches ## Push that thought further. We might get comfortable rebuilding whole modules instead of patching and refactoring them. We preserved the old shape of a system because throwing it away cost too much. Even when you know the module is wrong, you sand it down: extract an interface, migrate one caller at a time, add tests around behavior nobody full