Tornow warns code agents fail without deterministic simulation loops

AI Engineer////3 min read

The Death of the General-Purpose Platform

Software development is approaching a structural tipping point. For decades, the industry relied on general-purpose libraries, frameworks, and platforms to abstract away complexity. Dominik Tornow, founder and CEO of Resonate, argues this paradigm is shifting. In a world where AI agents can generate code on demand, general-purpose implementations will increasingly give way to highly bespoke, minimal extensions of existing infrastructure.

This shift moves the core value of software engineering upstream. The product is no longer the concrete code implementation; it is the abstract specification. When the specification is the product, the prompt itself becomes the deployment platform.

The Failure of Direct Code Synthesis

Tornow warns code agents fail without deterministic simulation loops
The Prompt is the Platform - Dominik Tornow, Resonate HQ

When developers ask an AI agent to leap directly from an abstract specification to a production-grade concrete implementation, the results are routinely disastrous. During a joint initiative with Synadia to build a durable execution engine on top of NATS, the engineering team observed this exact limitation.

When tasked with building a Rust-based server on top of PostgreSQL, the AI agent easily solved the happy path. However, it completely failed to handle concurrency, network failure, or process termination. The generated system was a fragile prototype, not a production-grade system. Abstract specifications leave too many implementation decisions unguided, causing agents to make invalid assumptions about database behaviors and network consistency.

Shifting Agents Upstream via Simulation

To bridge this gap, engineers must introduce intermediate artifacts that allow the agent to participate in the design phase rather than just the coding phase. The breakthrough lies in a multi-step engineering pipeline:

Abstract Spec ──> Simulated Implementation ──> Concrete Spec ──> Concrete Implementation

Instead of requesting production code immediately, developers should task the agent with building a simulated implementation within a deterministic environment. This executable design serves to discover, test, and verify algorithms under partial failures and message reordering. Once verified in simulation, the agent derives a concrete specification, which finally serves as the blueprint for the production implementation.

Designing with the Forbidden Fruit

To succeed, agents require precise, immediate, and unambiguous feedback loops. In distributed environments like key-value stores, consistency anomalies like stale reads are legally valid under specific models but highly challenging to debug.

By leveraging a deterministic simulator built in Python, engineers can expose what Tornow calls the "forbidden fruit"—diagnostic data that real production environments hide. While production systems only receive a payload, the simulator records whether a read was fresh or stale, alongside the hidden latest value. This telemetry allows the agent to analyze exactly why a distributed invariant failed, empowering it to repair its own algorithmic errors before writing a single line of production code.

Topic DensityMention share of the most discussed topics · 7 mentions across 7 distinct topics
Dominik Tornow
14%· people
NATS
14%· products
PostgreSQL
14%· products
Python
14%· products
Resonate
14%· companies
Other topics
29%
End of Article
Source video
Tornow warns code agents fail without deterministic simulation loops

The Prompt is the Platform - Dominik Tornow, Resonate HQ

Watch

AI Engineer // 17:33

Talks, workshops, events, and training for AI Engineers.

Who and what they mention most
Anthropic
25.5%14
OpenAI
23.6%13
Claude
18.2%10
Cursor
18.2%10
Google
14.5%8
3 min read0%
3 min read