Closing The Gap is a series from Hone’s engineering team about the systems that translate frontier intelligence into economic value.
When an oxygen tank blew up on Apollo 13 (leading to the famous “Houston, we’ve had a problem”), engineers on Earth had three days to send instructions to the astronauts on how to restart the ship with nearly dead batteries. Before sending the instructions, the NASA engineers tested them in a simulator to make sure they would work in space. The simulator gave engineers a place to make mistakes before potentially endangering the crew.
Today’s AI systems, in contrast, blindly gamble with each change they make. Agents change systems in real time, often leading to unexpected behavior in production. A simple agent-generated prompt change can lead to regressions across a host of behaviors. At Hone, we’re building the infrastructure to solve this problem.
A Self-Improving Harness
Engines are multiplayer, self-bootstrapping agents that drive business outcomes. They self-improve by modifying their tools, hooks, code, memories, and other workspace context.
Any of those changes can break something that used to work. So before an engine promotes one, it replays the change in simulation to see its blast radius, in four steps:
- Discover issues by searching through traces, mining them for user or environmental signal.
- Replay the actions to reproduce the issue.
- Propose a harness change to fix the issue.
- Promote the change once confirmed it doesn’t introduce regressions in simulation, thus completing the loop.
Simulating Messy Company State
To replay an engine’s work, you need to recreate the environment it encountered and how that environment would respond differently. While codebases are versioned and deterministically reproducible (e.g. rewind and execute the program from commit 020c38b), company state is spread across systems without restorable snapshots. Companies don’t have versions to rewind to, nor do they operate in predetermined ways.
Hone’s engines must self-improve by simulating company systems over time and how they might have counterfactually responded to different actions.
“No engine ever steps into the same company twice, for it is not the same company and it is not the same engine.”
Heraclitus, or somebody
Our solution is an agent we call the “director,” which controls the replay by mocking people and system events. After every action the engine takes, the director sees what the engine wrote, then decides what happens next (e.g. someone replies three minutes later, or a shipment notice arrives).
We can’t rewind Salesforce by two weeks, so mocked tools have to answer the way their real ones would have. In our replays, we solve this by assigning an agent to each mocked tool. The agent grounds its answers in the recorded inputs and outputs of that tool from real engine traces. We tested this agent on recorded traces from real engines across Slack, GitHub, Linear and Datadog. We showed the agent the first half of a trace and had it answer the tool calls from the second, and it reproduced the ground-truth facts with 90% accuracy.
The mocked tool’s answers stay consistent with previous replay state (e.g. a ticket it never opened gets a believable title and status).
Fast-Forwarded Time
Simulated people and tools make a replay faithful. It also has to be fast, since the work it covers took weeks. When an engine’s code needs to know what time it is, it reads from one now() function which returns real time in production but simulated time in a replay.
In simulation, the clock skips stretches where both the engine and its environment are idle (no pun intended), for example when a supply chain engine waits days for a quiet supplier before following up.
Every service in a simulation runs in-process on the same clock, so when it skips ahead, scheduled events fire on time (e.g. a follow-up set for next Tuesday).
Together, the fast-forwarded clock, the director and simulated tools let a replay cover weeks of work in minutes while staying true to the enterprise state it executed in.
Putting It Together: Handing Our Tools to the Engine
Engineers improve AI systems via the outer loop: a manual cycle of reading customer feedback, testing the change, and promoting what works. We’ve given engines the same tools our engineers have, moving this cycle to the “inner loop.”
The inner loop moves the bottleneck from human attention to model intelligence, and only one of those keeps scaling.
Results
Across 125 distinct scenarios, replaying a change before promoting cut regressions from 33% to 5%.
Engines without replay tools couldn’t see their own regressions coming; when asked beforehand what a change might affect, they failed to predict the things that went on to break. Replay also uncovered behavior that was correct but never written down. Whenever a harness change introduced regressions in previously implicit behavior, replay allowed the engine to make that behavior explicit.
Without replay, these regressions pile up, because each new change can break an earlier one.
Untested, an engine’s performance flattens out, because past a certain point every gain is paid for with a regression. Tested, it keeps compounding.
What’s Next?
With the tools to verify their own changes, engines can try strategies well beyond a new memory or prompt: post-training their own models for specific tasks, distilling themselves onto cheaper models, or building worlds for situations they haven’t met yet, all in pursuit of owning their outcomes.
If you would like to contribute to the solutions that scale with model intelligence, email