Cheap Code: Why Agentic Coding Demands Better Specs
When AI generates code at near-zero marginal cost, the bottleneck shifts from writing code to specifying what code should do and verifying it does it correctly. This practical explainer translates Breunig's lessons into concrete workflow changes, tradeoffs, and adoption guidance for engineering teams.
- Drew Breunig published '10 Lessons for Agentic Coding' on May 4, 2026, arguing that cheap code changes the fundamental economics of software development.
- The key insight: when code generation is free, the constraint becomes specification quality and verification rigor, not typing speed.
- This article translates Breunig's lessons into operational decisions for teams — what to keep, what to change, and what to watch for.
Why Does Cheap Code Change the Software Engineering Equation?
According to Drew Breunig's essay, the marginal cost of generating code has effectively dropped to zero with modern agentic coding tools. This is not a marginal improvement — it's a structural shift. When code was expensive, the entire software development lifecycle was optimized around minimizing lines written: careful planning, detailed specs, code reviews, and cautious testing. Each line had a cost. Now, as Breunig argues, "the bottleneck is no longer writing code — it's deciding what code to write." This flips the economics. The expensive parts become specification, design, and verification. Teams that fail to adapt will find themselves drowning in generated code that doesn't solve real problems, or worse, introduces subtle bugs that automated tests don't catch. Breunig's framing is deliberately provocative: if code is cheap, then the value of a developer shifts entirely to the ability to define correct behavior and validate that the generated code matches that definition. The Hacker News discussion thread confirmed this tension — multiple commenters noted that their teams had already experienced "AI code bloat" where generated code was abundant but quality was inconsistent.What Are the Practical Tradeoffs for Teams Adopting Agentic Coding?

| Dimension | Traditional Coding | Agentic Coding (Cheap Code) | Verdict |
|---|---|---|---|
| Bottleneck | Writing code | Specifying and verifying | Shift to spec/verify |
| Cost structure | High marginal cost per line | Near-zero marginal cost | Fixed costs dominate |
| Quality risk | Under-generation | Over-generation with subtle bugs | New risk profile |
| Developer role | Typist + architect | Specifier + verifier | Role expansion |
| Team structure | Write-first, review-second | Spec-first, verify-continuously | Workflow inversion |
| Tooling priority | IDEs, linters, formatters | Spec languages, property testers, AI orchestration | New tooling needed |
| Verdict | Optimized for expensive code | Optimized for cheap code | Agentic wins only with spec/verify investment |
Who Benefits Most From This Shift — and Who Loses?
Breunig's essay implicitly identifies winners and losers, though he doesn't name them directly. Let me be explicit. **Winners**: Teams with existing strong testing cultures, companies that invest in specification languages (like TLA+, Alloy, or even structured prompt templates), and platforms that provide verification infrastructure for AI-generated code. According to Breunig, "the teams that will thrive are those that already treat code as a liability, not an asset." This aligns with what the Hacker News community observed: teams with mature CI/CD pipelines and rigorous code review processes adapted faster to agentic coding. **Losers**: Teams that treat AI code generation as a pure productivity multiplier without changing their workflow, startups that optimize for lines of code as a metric, and consultancies that bill by the hour for coding work. The Hacker News thread included a telling anecdote: one commenter's team measured "AI-generated code acceptance rate" and found it dropped from 80% to 40% when they moved from prototypes to production systems with real security and performance requirements. Breunig's ninth lesson is particularly damning: "If you can generate 10x more code but can't verify it 10x faster, you've just created 10x more technical debt." This is not a hypothetical — it's a direct warning that the cheap-code era will separate teams that invest in verification from those that don't.What Should Engineering Teams Do Starting Tomorrow?
Based on Breunig's lessons and the Hacker News discussion, here is a concrete playbook for teams adopting agentic coding: 1. **Invest in specification-first workflows**: Before generating any code, write structured specifications. This could be formal (TLA+, Alloy) or informal (detailed acceptance criteria, Gherkin scenarios). The key is that the spec must be testable. 2. **Build a verification pipeline**: Treat AI-generated code as untrusted input. Every generated snippet must pass automated tests, property checks, and a human review focused on non-functional requirements. According to one Hacker News commenter, their team found that "80% of AI bugs were in edge cases the spec didn't cover." 3. **Measure the right things**: Stop tracking lines of code or pull request velocity. Start tracking spec coverage, verification pass rates, and the ratio of generated code that survives to production. 4. **Redefine developer roles**: The best developers in the cheap-code era will be those who can write precise specifications and design robust verification strategies, not those who type fastest. Breunig's essay argues that "the most valuable engineer becomes the one who can most clearly describe what success looks like." 5. **Be skeptical of productivity claims**: Any vendor claiming 10x productivity from AI coding tools is either ignoring or hiding the verification costs. The Hacker News thread was full of cautionary tales: teams that saw initial speed gains but then spent weeks debugging generated code that looked correct but wasn't.Estimated Developer Time Allocation Shift with Agentic Coding
- Cheap code shifts the bottleneck from generation to specification and verification — teams that don't adapt will accumulate technical debt faster than ever.
- The real productivity winners will be teams with existing strong testing cultures, not teams that maximize AI code output.
- Most current AI coding platforms lack the verification infrastructure needed for production use — this is a market opportunity, not a solved problem.
- Developer roles will bifurcate: specifiers/verifiers vs. code generators, with the former commanding higher value.
- Adoption speed will be slower than vendors claim because workflow changes are harder than tool changes.
Source and attribution
Hacker News
Lessons for Agentic Coding: What should we do when code is cheap?
Discussion
Add a comment