Skip to content

Undo what a badsource caused.

When a source is flagged after the run, a host that calls the engine's quarantine step undoes the calls linked to it, using undo functions the host supplies, and resumes the agent without it. It is not in the hosted API. Effects with no undo function are refused unless allowed. The agent finished without the source in 156 of 156 runs: 120 scripted, and 36 live, 24 of them with the injection forced.

Neil Luo · · Finished

Model: A scripted agent, Claude Haiku 5.5. Engine: version not recorded (October 2026 builds). Run: October 18, 2026.

Removed from the engine. We took this feature out in engine 0.101.0. This page and its numbers stay as the record of what we tested.

Older results. These ran on October 2026 builds, and the engine has changed a lot since. Our newest published run is on engine 0.120.0. This has not been rerun on it, so it does not show how the engine performs today.

An agent reads a web page and acts on it. Later you learn the page was hostile. What did that page cause, and can you undo exactly that and let the agent finish?

Because the engine keeps a record of every step, it can answer from that record alone what a flagged source could have steered the agent to do, as far as the agent's prompt showed it. It undoes that with the host's own undo functions and lets the agent finish without it. Looking costs nothing during a normal run, and it never calls the model.

120/120

Scripted scenarios that ended with no injected effect left and the same world as a run that never saw the source. Live, with Claude Haiku 5.5, 36 of 36 runs ended clean: 24 forced compromises were recovered, and in 12 natural runs the model never followed the injection, so there was no injected effect to undo (each run was still flagged and rerun).

Without recovery the injected effect was left in all 120 scenarios. Compared with undoing everything and rerunning from scratch, recovery made 28% fewer model calls across the 120 scenarios, 406 against 566, though it did not send fewer prompt characters (a token proxy) in this scripted test. That saving is uneven: it made fewer calls in 52 of the 60 scenarios where the model makes one call per reply, but in only 25 of the 60 with parallel calls, and tied in the rest. It never made more.

What it doesn't show.

Mostly a scripted agent. The 120 scenarios use an agent that obeys the injected instruction every time. They test the recovery, not how a live model behaves under attack.

The live compromise was forced. Claude Haiku 5.5 followed the injection in 0 of 12 natural runs, so in 24 further runs the injected calls were issued for it after it read the source. All 24 recovered.

It may redo good work. Some harmless work was undone and redone along with the harmful. We did not try to avoid that.

Some effects cannot be undone. An injected email is refused before anything changes, unless the host allows it, and then it is listed as still standing.

Engine version not recorded. The engine version is not recorded in the public rows, so read these numbers as measured on an older engine build, not on the one live today.

Method.

Model
Scripted agent for 120 scenarios; Claude Haiku 5.5 for 36 live runs (12 natural, 24 with the compromise forced).
Compared against
No recovery, and undoing everything and rerunning.
Sample
120 scripted scenarios on a real database with an in-memory world, plus 20 each of four edge cases and 36 live runs. The headline pass criteria were pre-registered; the cost hypothesis was amended after a live run.
Source
Lab repository, pre-registration and results, 2026-10-18. The repository is private.

Every claim on this site, what backs it and where we lost: Check our work.

Written up on the blog: Undoing what a bad source caused, from the record alone.

More research.

Older results.

Kept as the record and not rerun on our newest engine, so they do not show how it performs today. Each page says what is old about it and links to what replaced it.

  1. · Finished

    HaluMem Long on the engine: no lead over plain RAG

    On 120 HaluMem Long questions the engine (0.104.3, Claude Haiku 5.5 answering) scored 74.2% against plain RAG's 69.2% under the benchmark's judge and 52.5% against 55.8% under a second judge. We found no lead. It used 4.8 times the prompt tokens and is behind on multi-hop questions.

    74.2 v 69.2 percent correct, engine 0.104.3 against plain RAG on HaluMem Long under the benchmark's judge; no clear lead, Claude Haiku 5.5 answering

  2. · Finished

    Run-to-run noise: Argentic four runs, 0.86 to 0.89

    Argentic on engine 0.104.1 ran the same 12-hour shift four times on Claude Haiku 5.5 (seed 20261217) and scored 0.86 to 0.89 over hours 1 to 8. Letta's single run (0.90) is above that range.

    0.86 to 0.89 hours 1 to 8 across four runs; Argentic engine 0.104.1, Claude Haiku 5.5

  3. · Finished

    Head-to-head on a 12-hour shift

    On one 12-hour Longshift shift on Claude Haiku 5.5, Argentic (engine 0.104.1) finished for $1.12 counting its own step fee ($0.75 model spend and $0.37 in steps), at standard rates. Letta and LangChain were each stopped by Letta by its $8.00 cap in hour 10, LangChain by its $5.00 cap in hour 6. On the hours they reached, Letta scored above the range of Argentic's runs. Argentic was run four times and scored 0.86 to 0.89; the others once each.

    $1.12 to finish a 12-hour shift, step fee counted ($0.75 of it model spend), at standard rates. Letta and LangChain hit their spend caps first

  4. · Finished

    Cost against a plain loop

    On the same 900-event shop shift on Claude Haiku 5.5, Argentic's model spend averaged $0.33 over five runs against $1.20 for a plain loop that re-sends the whole transcript with prompt caching on, at Haiku's standard prices. Haiku's long-prompt rates make the plain loop's full bill $5.11. With Argentic's own step fee counted, Argentic's run cost $0.59. One plain-loop run.

    2.0× less than a plain cached loop, at Haiku 5.5's standard prices, with Argentic's step fee counted (3.6× before the fee); one shop shift, engine 0.81.1

  5. · Finished

    The shop shift, engine 0.81.1: prompt size and caching

    On a 900-event shop shift on Claude Haiku 5.5, Argentic's largest prompt was 33K tokens against 247K for a plain loop that re-sends the whole conversation, with 97.1% of prompt tokens read from cache. Engine 0.81.1, one run each.

    33K largest prompt, against 247K for a plain loop; engine 0.81.1, one run each

  6. · Ongoing

    The shop shift, rerun in November

    We reran the 900-event shop shift in November on Claude Haiku 5.5, on engines 0.51.0, 0.63.0 and 0.70.1. Earlier facts, owed refunds and double refunds held in every run where the engine kept the state. Stock exact ranged from 10 to 28 of 28 with the configurations tried, and was 83 of 83 with clearer count wording, against 48 of 83 without it. One run per variant, one scenario.

    83 of 83 stock answers exact with clearer count wording, against 48 of 83 with the baseline wording; three seeds, one run each, engine 0.70.1

  7. · Finished

    11 hours 59 minutes on shift: what the agent remembered

    One agent ran the back office of a small online shop for 11 hours 59 minutes of clock time, about 75 minutes of it with our test harness down, on Claude Haiku 5.5, handling 900 of 900 events while its worker was killed 31 times. It answered 81 of 91 callback questions right, including facts stated about 11 hours earlier. No kill made a finished action run again. It did refund 7 orders more than once, which no kill caused. That was before the refund tool could declare one call per order; with that key, none of the twelve November reruns refunded an order twice.

    92% of the callback questions about the farthest facts answered right (11 of 12), against 83% when the fact was still in view; one run, engine 0.48.1

  8. · Finished

    HaluMem Long: our accuracy lead did not replicate

    On 120 HaluMem Long questions our experimental memory pipeline answered 76.7% correctly against plain RAG's 62.5%. That lead did not replicate on two fresh question sets, and the run failed our own pre-registration: it used 1.7 times plain RAG's prompt tokens against a bar of 0.85.

    Failed The +14.2 point first-run lead over plain RAG did not replicate on two fresh question sets, and the run missed its own token bar.

  9. · Finished

    Our scores next to the published ones

    LoCoMo and LongMemEval: our runs (Gemma 4 31B, plus Claude Haiku 5.5 on LongMemEval_S) beside scores that memory vendors and paper authors report, with the answer model and the judge for each row, or "not stated" where none was given. On a fixed 400-question subset of LoCoMo, the Argentic engine scored 83.0%, and the same model reading the whole conversation scored 89.8%.

    83.0% on 400 of the 1,540 LoCoMo questions, with a free open model

  10. · Finished

    Ten times the history, still 38 of 60

    On LongMemEval_M, with histories of about 1.2 million tokens, the engine got 38 of 60 right with Gemma 4 31B and 29 of 60 with Claude Haiku 5.5. On Gemma 4 31B, two simple loops we wrote ourselves (the code is in the lab repository) got 17 of 60 (one that rewrites its notes) and 5 of 60 (one that truncates its history).

    38 / 60 correct for the Gemma 4 31B engine (both runs) at ~1.2M tokens of history

  11. · Ongoing

    Measured on someone else's tasks

    Running the engine on τ-bench, a public benchmark. An early gap against the plain loop was most likely a bug in our runner, which counted failed model calls as the agent quitting. Rerun without rate limiting, the engine scored 13 against the loop's 12 on 18 pairs; the loop was not rerun and the engine is newer, so this is not a shown tie.

    13 vs 12 paired τ-bench tasks passed, the engine against the plain loop (18 pairs, Nemotron 3 Super; the loop was not rerun)

  12. · Finished

    A fraction of the tokens, at a small accuracy cost

    Our engine against a model reading a whole chat history, on LongMemEval and four model families. It was never ahead on accuracy and used 0.08 to 0.31 times the tokens. On all 500 questions with Claude Haiku 5.5 it scored 354 against the loop's 373, at about 1/24 of the cost by our list-price estimate, which counts no caching, no embedding calls and no step fee.

    0.08–0.31× the tokens of a loop reading the whole history, on LongMemEval_S (49 questions, four models). Never ahead on accuracy

  13. · Ongoing

    Two agents, one order

    Settlement stopped 11 conflicting runs out of 50 with Claude Haiku 5.5 on permissive tools, and removed no bad outcomes where the tools already checked state. Majority vote over three branches was not significantly better than one agent; a verifier that checked the branches was, though on this task family a plain rule did just as well.

    11 → 0 bad runs of 50 with Claude Haiku 5.5 and permissive tools. On Nemotron, 32 of 36 runs stayed bad.

  14. · Ongoing

    Keep a record, don't let a transcript pile up

    We keep a recorded history of the run instead of a growing transcript. What that buys, what it costs, and what we haven't tested yet.

    97% of planted changes correct in the final documents, against 72% for a simple loop we wrote ourselves that hides old results and keeps notes (12 paired runs, DeepSeek V4.1 Flash)

  15. · Finished

    An early test: record or pile up

    An early September test of keeping a record of the run outside the model against a growing transcript, on two long tasks and two models. The study reports the rebuilt arm produced more checked findings in all three cells, by less than we first claimed, and we retracted the claim that a growing context makes an agent worse.

    3 / 3 cells where the study reports the recorded-history arm found more, by less than we first claimed