Skip to content

A bounded prompt, call by call,on engine 0.81.1.

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.

Neil Luo · · Finished

The same 900-event shop shift on Claude Haiku 5.5, run once through Argentic on engine 0.81.1 and once through a plain loop that re-sends the whole conversation on every call. How big was the prompt on each call?

Argentic's largest prompt was 33K tokens, with a median of 19.7K over 954 calls. The plain loop's climbed to 247K, with 535 of its 902 calls over 100K.

A bounded prompt, call by call.

The chart on the home page, with its rows. Argentic builds each prompt from the record of the run. The plain loop re-sends the whole conversation every time.

Engine 0.81.1900-event shop shift · Claude Haiku 5.5 · one run each

33K largest prompt, against 247K

Prompt size on every call, in tokens

ArgenticPlain loop that re-sends the whole transcript

Each line is the median prompt in one stretch of about 16 calls, and the band around it runs from the smallest to the largest. Argentic's prompt grows while it learns the shift, then stays under its cap. The plain loop's keeps climbing. The runs made 954 and 902 calls, so the lines are lined up by how far through the shift they are. The events were sent back to back, not over 12 hours. Every Argentic call · every plain loop call.

Rebuilding the prompt doesn't reset your cache.

Your instructions and tool definitions stay identical from call to call, and only the recent end of the prompt moves, so provider caches keep hitting. On this shift 97.1% of prompt tokens were read from cache.

Prompt tokens read from cache, over 954 model calls97.1%

In every tenth of the run96.7 to 97.8%

Input spend against no caching at all7.5x lower

Whole shift, with and without caching$0.33 vs about $1.97

The comparison is against sending the same prompts with no caching. Against a plain loop with caching on, the shop shift's model spend was $0.33 on engine 0.81.1 against $1.20. At Haiku 5.5's standard prices, without its long-prompt surcharge. The full Haiku bill is in the study.

Does the agent still remember?

In the same shift, 91 questions asked the agent to recall something it had been told earlier: owner preferences, price changes, refund promises and the refund window.

Questions right, engine 0.81.189 of 91

This run used the setting that lets rules from outside text take effect, which is not the default. We don't compare it with a default-setting run, because that run used another engine, so the two differ in more than the setting. Every run of this shift, with its engine and setting, is on the November runs page.

The film on the home page shows the same question by distance. These are the 6 runs behind it, on engine 0.81.1: the fact was stated from 1 to 849 events before the question, and the share right did not fall steadily with distance.

Questions right by how far back the fact was stated, 6 runs of the shop shift on engine 0.81.1
Stated this many events earlierRight
1 to 156 runs, engine 0.81.1107 of 112
22 to 1876 runs, engine 0.81.1157 of 163
213 to 3946 runs, engine 0.81.1112 of 116
465 to 6506 runs, engine 0.81.185 of 86
691 to 8496 runs, engine 0.81.163 of 64
All distances6 runs, engine 0.81.1524 of 541
A plain loop that re-sends the whole transcriptsame seed 20261028, one run, 902 calls83 of 91

All 6 runs let rules from outside text take effect, the setting that is not the default. The largest prompt in any of them was 34K tokens. The plain loop is one run on the first seed, so a gap of a few questions is not proof.

The run.

One run: the 900-event Kestrel Supply shift, public seed 20261028, Claude Haiku 5.5, engine 0.81.1, 32 simulated worker kills, events back to back on a local Postgres. That run let rules that come from outside text, like a customer message, take effect. It was not the default setting on that engine, and the default has not been rerun on this engine, so this is not a comparison between the two. Stock counts, which we're still working on, were exact on 24 of 28. Prompts ran up to about 33K tokens (median 19.7K).

When your agent sits idle. Provider caches expire after a few minutes without a call (5 minutes by default on Anthropic). If your agent wakes less often than that, the first call of each wake pays to write the prompt again. That is the same for any agent on any provider, and our shift ran without idle gaps, so these numbers don't cover it.

Model spend against the plain loop, with both price lists, is on the cost page. The earlier November runs, on engines 0.51.0 to 0.70.1, are on the November runs page.

What it doesn't show.

One run of each. One Argentic run and one plain-loop run, on one seed (20261028). The model is not deterministic, so the lines would move a little on another run. Argentic's spend across five runs of this shift moved between $0.30 and $0.35.

Back to back, not over hours. The 900 events were sent as fast as the agent could take them, to a database on the same machine, not over 12 hours. The 12-hour run is a separate page, on an older engine.

Not the default setting. This run let rules that come from outside text take effect, which is not the default. The default setting has not been rerun on engine 0.81.1, so nothing here compares the two.

Stock counts are still the weak spot. Stock questions, how many units are left, were exact on 24 of 28 here and on 8 to 25 of 28 across the 6 runs of this engine. We are still working on them.

Only a loop that never trims. The plain loop re-sends the whole conversation on every call and never cuts or summarises it. This page says nothing about a loop that trims or summarises its history, or about other agent SDKs.

No idle gaps. The events came back to back, so the cache was never left to expire between calls. The cold-cache cost is worked out on the cost page and was not run.

One model. Everything ran on Claude Haiku 5.5. Another model tokenises and behaves differently.

Every Argentic call · Every plain-loop call · Every graded question · All studies

Method.

Model
Claude Haiku 5.5 (Anthropic), run through Argentic engine 0.81.1.
Compared against
A plain loop on the same model, prompt and tools that re-sends the whole conversation on every call, prompt caching on, never trimmed.
Sample
One 900-event shift, seed 20261028, 91 earlier-fact questions and 28 stock questions. One Argentic run (954 calls) on 17 November 2026 and one plain-loop run (902 calls) on 20 November, events back to back on a local Postgres with 32 simulated worker kills. The recall table pools 6 runs on this engine.
Source
Public rows: caching-calls.csv, caching-grades.csv, cost-plain-loop-calls.csv and the film's rerun rows, in the research downloads. scripts/prompt-series.ts recounts the chart from them.

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

More research.

  1. 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 $0.75. The Claude Agent SDK and Letta were stopped by their $8.00 caps in hour 9, LangChain by its $5.00 cap in hour 5. On the hours both reached, the Agent SDK scored higher than Argentic. One run each.

    $0.75to finish a 12-hour shift, where the Agent SDK and Letta hit their $8 caps in hour 9

    · Finished

  2. 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. One plain-loop run.

    3.6×less model spend than a plain cached loop, at standard prices

    · Finished

  3. 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 83stock answers exact with clearer count wording, against 48 of 83 with the baseline wording; three seeds, one run each, engine 0.70.1

    · Ongoing · Older results

  4. 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.

    83% to 92%right with the fact in view, against the farthest facts

    · Finished

  5. 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.

    FailedThe +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.

    · Finished

  6. We killed it 504 times

    504 kills across 422 agent sessions in the first run (496 in a rerun with downloadable rows), at every point in a step we could reach. No finished action ran again. A frozen worker, which is not a kill, did repeat a refund in 2 of 22 runs, and in 3 of 22 when we ran it again. Engine 0.94.0 fixes that.

    0finished actions repeated after 504 kills in the first run, and after 496 in the rerun

    · Finished

  7. 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

    · Finished

  8. 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, a loop that rewrites notes got 17 of 60 and a loop that truncates got 5 of 60.

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

    · Finished

  9. 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 12of 18 pairs, engine rerun against loop

    · Ongoing

  10. 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.

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

    · Finished

  11. 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 → 0bad runs of 50 with Claude Haiku 5.5 and permissive tools. On Nemotron, 32 of 36 runs stayed bad.

    · Ongoing

  12. Undo what a bad source 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.

    156 / 156runs recovered, most of them scripted

    · Finished · Feature removed

  13. Rebuild the context, don't let it pile up

    We rebuild an agent's context from a recorded history instead of keeping 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 loop that hides old results and keeps notes (12 paired runs, DeepSeek V4.1 Flash)

    · Ongoing

  14. An early test: rebuild or pile up

    An early September test of rebuilding an agent's prompt from stored state 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 / 3cells where the study reports the rebuilt prompt found more, by less than we first claimed

    · Finished