Rémi Louf hashes every prompt part so each agent answer can be traced and replayed
Rémi Louf (CEO of .txt) built his own runtime for background agents after a week of duplicate posts, lost inputs and untracked prompt edits. Each prompt is stored as a list of hashed parts, so any answer can be traced to exactly what the model received, diffed against another run and replayed on another model.
Watch from 8:33Recording by AI Engineer.
The idea
The speaker’s argument, in our words.Louf started with markdown agent definitions triggered by schedules and events. Within a week the daily brief was posted twice, a voice note disappeared, and a prompt he kept editing produced a useless brief with no record of what had changed. Each failure became a runtime piece: an append-only event log, a proper queue with attempt counts, and content addressing for prompts.
His point is that the chat view is not what the model saw: compaction and hidden reasoning sit in between. So the system prompt, each skill description, the tool descriptions and the user message are stored under a hash, and a prompt is a list of hashes; answers are stored the same way. That gives a diff of which components changed between two runs, and exact replay of past requests, which he used to test open models when API costs rose. He also typed every tool call and event between agents, saying the runtime should make bad actions impossible, not just unlikely.
What they found
From the talk. Figures are self-reported unless stated.In the first week, the daily brief was posted to Slack twice, a voice note vanished and unversioned prompt edits left a useless market brief with no record of what changed.
His own personal agent setup; a handful of incidents, not a rate.
Case study
8:33What you see in a coding-agent chat is not exactly what the model saw, because of compaction and reasoning that providers do not return.
His motivation for the design.
Speaker opinion
11:35Store each prompt component (system prompt, each skill and tool description, user message) under a hash and represent the prompt as a list of hashes; store answers the same way so each traces back to its prompt.
He compares it to Git or a build system; implementation in his own repository.
Technical recommendation
12:08With prompts stored this way he could diff two runs by component and rebuild past requests exactly to replay them against open-source models when costs grew.
He reports moving to open models, including a local one, for this workload; no quality comparison is given.
Case study
14:11
Why it matters
Our reading. Not said in the talk.Most agent logging stores rendered text, which makes it hard to say which change caused a regression; content addressing turns that question into a diff. Replay shows up in several talks for different jobs. Louf rebuilds exact requests to try another model, Andon Labs forks a live deployment to rerun an incident across models, and Tisha Chawla and Susheem Koul replay a recorded model output to test the tool that should have stopped it. Lovable's Fabian Hedin describes a related design: keep the history apart from the prompt and render one from the other.
What one could try
- Log the components of each model request separately, with a hash per component, rather than only the rendered prompt.
- Version prompts and skills like code so a bad run can be traced to the edit that caused it.
- Keep enough of each request to replay it against a different model before switching providers.
Limitations
- One person's system, built over two weeks and running about 20 agents at his company after a month (17:11); no measurements of reliability or cost.
- He gives a figure of about 20% of events rejected because of one provider's structured outputs (16:36); his company sells structured-output tooling, and the figure is not used here.
Original sources
AI Engineer World's Fair 2026 · Aug 22, 2026
Agent Frameworks Considered Harmful
Rémi Louf · .txt (Outlines) · 20 min
This is our synthesis of the talk, checked against the transcript at the linked moments.

