WhoBuilt

The Prompt is the Platform

Jun 29, 2026· 18 min· 1.8K views·Watch on YouTube

Speaker

Dominik Tornow, founder and CEO of Resonate, explains how agents can design and build durable execution systems from a reusable protocol, using Resonate on NATS.io as an example.

Make the specification the product

Tornow expects bespoke implementations generated by agents to replace some general-purpose libraries and platforms. In that model, teams reuse a specification and generate implementations for their existing infrastructure. Resonate aims to make its protocol the product, with a general-purpose server and versions tailored to infrastructure partners.

Add design steps between specification and code

An abstract specification must avoid assumptions about a particular database or consistency model if it is meant to support multiple implementations. Asking an agent to build a Rust server on Postgres directly from the abstract specification produced code that passed basic tests but failed under concurrency and failures. Tornow's revised process adds a simulated implementation and a target-specific concrete specification before production code.

Use simulation to discover the algorithm

For Resonate on NATS, Tornow asked the agent to build a simulation rather than a production system, so it could explore algorithms under partial ordering and failure. NATS provides queues, a key-value store, and delayed or scheduled messages. Its versioned key-value store can return stale reads, while writes use optimistic concurrency and fail if the observed version is no longer current.

Give agents actionable failure traces

Resonate built a deterministic Python simulation of the NATS behaviors relevant to correctness. It can reproduce stale reads and failed writes, and record information hidden from production code, such as whether a read was stale and what the latest value was. That trace helps the agent identify why an invariant failed and repair the algorithm without letting the algorithm rely on information unavailable in production.

Generate implementations from verified designs

Tornow says the agent built a proof of concept in the simulator and verified it with fuzz testing. It then derived a concrete specification and implementation from the tested algorithm. The process lets the agent help drive system design as well as implementation, while humans remain involved.

Takeaways

  • Treat a reusable protocol or specification as a product that can support multiple target-specific implementations.
  • Keep abstract specifications free of assumptions about a particular database, schema, or consistency model.
  • When direct generation produces fragile code, add a simulated design step and make target-specific decisions explicit in a concrete specification.
  • Give agents deterministic, repeatable simulations with clear traces that explain why failures occurred.
  • Use simulation to test algorithms under legal stale reads, concurrency, and failures before generating production code.

Mentioned in this talk

Search inside this talk

What was claimed 6

Related talks