a builder's codex
codex · operators · Packy McCormick · ins_mccormick-ai-compiler-not-runtime

Using AI as a compiler converts expensive thinking into cheap deterministic doing

By Packy McCormick with Markie Wagner · Founder, Not Boring Capital; writer, Not Boring newsletter · 2026-06-10 · essay · Return on Tokens (ROT)

Tier B · TL;DR
Using AI as a compiler converts expensive thinking into cheap deterministic doing

Claim

Companies that route AI into runtime agent execution at scale burn token budgets without proportional output. The correct pattern is to use AI rarely and expensively to compile business rules into deterministic code, then run that code without touching the model.

Mechanism

The economic asymmetry is direct: thinking (using AI to reason about a process and convert it to code) happens once per process and costs tokens once. Doing (executing that process on every transaction) happens continuously and costs nothing if it runs as compiled code. Treating agents as the runtime means every execution re-invokes the model: the cost structure scales with transaction volume instead of being fixed at the compilation step. McCormick and Wagner call the alternative "software that tokenminimizes itself" and describe businesses that keep agents in the runtime as running a permanent token bill that cannot be optimized away, because the execution path itself is non-deterministic.

The mechanism is not just cost. Deterministic code is auditable, debuggable, and testable. An agent that executes at runtime produces opaque outputs. The compiler pattern produces a human-readable artifact (code) that can be reviewed, versioned, and corrected.

Conditions

Holds when: the business process is sufficiently stable that compiling it to code does not immediately become stale; the process is repetitive enough that the per-execution savings exceed the compilation cost; and the process owner has enough understanding of the rules to specify them accurately.

Fails when: the process is genuinely ambiguous or evolves so rapidly that compiled rules are wrong within weeks; or when the human-in-the-loop design requires runtime judgment that cannot be expressed as deterministic rules.

Evidence

McCormick and Wagner identify the pattern across three data points. Uber burned its entire 2026 Claude Code token budget by April, a 9-month budget consumed in 4 months, from using agents in the execution path of development workflows. AIG achieved 99%+ quality outcomes on multi-hour processes by compiling to deterministic code via Poetic. Poetic reports 100x less token usage compared to agent-based approaches running the same business logic.

McCormick frames the fundamental asymmetry:

"Thinking is expensive but happens rarely. Doing is cheap and happens forever."

They describe agents in the runtime as "the BlackBerry of doing": functional, ubiquitous, and already heading toward obsolescence as compiled-code approaches mature.

Signals

Counter-evidence

The compiler pattern requires the business process to be specifiable in advance. Many valuable processes resist specification: customer escalation judgment, nuanced compliance review, context-sensitive negotiation. These remain candidates for runtime AI precisely because they cannot be compiled without losing fidelity. Wagner's company Poetic has demonstrated the pattern in specific high-volume, rule-bound processes (claims handling, insurance workflows); the generality of the approach across process types remains an active claim.

Cross-references

Open the interactive view → View original source → Markdown source →