MLOps

AI Agent Memory: What IBM's ALTK-Evolve Proves

AI agent memory: with ALTK-Evolve, a stock GPT-4.1 agent learns its own rules and beats a fine-tuned model on τ²-bench. The numbers, the cost, the lessons.

AI Agent Memory: What IBM's ALTK-Evolve Proves

AI Agent Memory: What IBM's ALTK-Evolve Proves

AI agent memory just beat fine-tuning on a public leaderboard, and it did so with an old model. On October 20, 2026, IBM Research published “ALTK-Evolve: How learned memory tops the τ²-bench leaderboard on customer service tasks without a frontier model” on the Hugging Face blog. A stock customer-service agent running GPT-4.1, a non-reasoning model, reaches 67.5% Pass^4 on the τ²-bench retail domain. That is higher than every retail entry in the October 12 leaderboard snapshot, including a model fine-tuned on synthetic τ²-bench data.

No weights were touched and no one annotated anything by hand. The only change to the agent is a block of learned behavioral guidelines appended to its system prompt. If your team is debating whether the next quality jump requires a bigger model or a fine-tuning project, this is a cheap experiment worth understanding first.

The context

ALTK-Evolve is an open-source library from IBM, released under Apache 2.0 on GitHub. It reads an agent's past trajectories (conversations, tool calls, successes and failures), extracts short reusable guidelines from them, and applies those guidelines to future tasks. Its README frames the problem bluntly: agents repeat the same mistakes because they start fresh every session.

The test bed is τ²-bench, built by Sierra. Each task pairs the agent with an LLM-simulated customer who has a goal in mind. The agent gets domain tools (look up an order, issue a refund, rebook a flight) and a written policy it must follow. A task only counts as solved when the final database state matches the expected outcome exactly. There is no partial credit.

Two metrics matter in what follows:

  • Mean accuracy: the average success rate across four trials per task. This is the capability axis.
  • Pass^4: the share of tasks solved on all four trials. This is the reliability axis, and the number the τ²-bench leaderboard reports. A support agent that handles a refund correctly three times out of four still fails one customer in four.

How the agent memory is built

From trajectories to rules

The setup is deliberately plain. IBM runs τ²-bench's own ReAct agent with a two-phase think-then-act loop. GPT-4.1 is the agent, GPT-5.5 simulates the customer, and every task is attempted four times. Policy, tools and scaffold are untouched.

ALTK-Evolve looks at the agent's attempts on the training tasks and asks the same model, GPT-4.1, to distill successes and failures into rules. Those rules are then applied unchanged to a held-out test set. The post shares real retail examples:

  • Authenticate the user before any order-related action; if email is unavailable, verify identity via full name and zip code using the dedicated lookup API.
  • Confirm every intended change (modify, cancel, return, exchange) with a structured summary and get explicit approval before any database-updating action.
  • Take one action per step: never combine a tool call with a user-facing message in the same turn, and wait for the tool result before replying.
  • Clean up the customer's name before looking them up (for example, split a combined handle into first and last name), and after a couple of failed lookups, state the exact format needed.

The rules are tacked on after the domain policy as a plain Markdown list titled “Guidelines learned from past task attempts”. That is the whole intervention.

Support count is a real tuning knob

Each guideline carries a support count: the number of distinct training tasks it was extracted from. Higher support means a rule that generalized rather than a one-off. IBM compares three configurations:

  • baseline: no guidelines;
  • sup3: only guidelines with support of at least 3 (31 for retail, 14 for airline);
  • lossless: every guideline retained after consolidation (292 for retail, 101 for airline).

Results by domain

On held-out test tasks (40 retail, 20 airline), with GPT-4.1 as the agent:

Domain Config Mean accuracy Pass^4
Retail baseline 78.1% 57.5%
Retail sup3 78.8% 60.0%
Retail lossless 82.5% 67.5%
Airline baseline 57.5% 35.0%
Airline sup3 60.0% 45.0%
Airline lossless 65.0% 40.0%

Reliability moves more than capability: +10 points of Pass^4 in both domains. The right dose, however, differs. Retail wants everything; the small sup3 core barely moves accuracy. Airline gets its best accuracy from the full set, but its best reliability from the compact 14-rule core. The authors' takeaway is the right one: support threshold is something to tune per domain, not a value to hard-code.

It holds with a frontier model too

The obvious objection is that learned rules only patch a weak model's gaps. So IBM reran airline with GPT-5.5 for both the agent and guideline extraction. On the same 20 test tasks, the lossless configuration (146 guidelines) lifts accuracy from 72.5% to 82.5% and Pass^4 from 55% to 70%. That +15 reliability gain is larger than what GPT-4.1 got on the same tasks. One quirk: with GPT-5.5 no guideline reached a support of 3, so the high-support core is “sup2” (103 guidelines), which also lands at 70% Pass^4. The authors also note the lossless run reproduced its score exactly across reruns, while the baseline swung.

Reading the leaderboard numbers correctly

Leaderboard figures are not the test-split figures above. τ²-bench requires scoring on the full task set, training and test combined. On that basis the retail agent hits 67.5% Pass^4 and ranks first (PR #542), ahead of RAFT-30B-A3B at 61.4%. In airline, GPT-4.1 with sup3 scores 44% (eighth place), and GPT-5.5 reaches 82%, above frontier entries in the 66 to 72% range. Keep in mind that part of the scored set was used to mine the rules, which is exactly why the held-out results are the ones to trust.

The real cost of agent memory

Guidelines are not free, and the post puts numbers on it. Total LLM cost per conversation (agent plus simulated customer):

  • Retail: $0.084 baseline, $0.095 with sup3 (+12%), $0.139 lossless (+65%).
  • Airline: $0.081 baseline, $0.097 with sup3 (+19%), $0.107 lossless (+32%).

The extra spend sits entirely in input tokens: a longer system prompt re-sent on every call. Conversations do not get longer. On tasks solved by both baseline and the guided agent, lossless trims roughly 0.3 to 0.4 assistant turns (10.59 to 10.16 in retail, 9.15 to 8.82 in airline). Each turn is a sequential LLM round trip, so that also means slightly lower end-to-end latency.

IBM argues most of the overhead can be clawed back with prompt caching, since the guideline block is identical on every call. That is plausible, but it is not measured in the post. Check it against your own bill before putting it in a business case.

What this means for AI teams

For teams running agents in production, a few practical shifts follow.

1. Fine-tuning stops being the default answer. In the authors' words, fine-tuning on a benchmark is expensive, brittle and does not transfer to the next domain. Here a stock model, a stock scaffold and a list of rules beat a specialized model. Before you scope a fine-tuning project, try a learned-memory layer: it ships, versions and rolls back like a config file.

2. Guidelines are a production artifact, so govern them. A list of 292 auto-generated rules is production behavior. It needs version control, review, pre-release testing and a rollback path. In practice that means a dedicated repository, human review of high-impact rules (anything touching refunds or database writes), and a regression run on a fixed task set every time rules are re-extracted.

3. Measure reliability, not just the average. The clearest gain is in Pass^4. If your eval pipeline runs each case once, you cannot see what this approach improves. Running every scenario several times and tracking the all-trials success rate is the floor for any agent that takes irreversible actions.

4. Keep extraction and evaluation apart. IBM mines rules on training tasks and measures on held-out ones. The production equivalent is straightforward: extract from one period's conversations, evaluate on another's. Skip that and you mostly measure how well the agent recites its own past mistakes.

5. Tune the dose per use case. Retail and airline react differently to rule volume. Expose the support threshold as a parameter and test it, the same way you test temperature or model choice.

6. Design the prompt for caching from day one. Keep the guideline block stable and inside the shared prefix. Inject anything variable (dates, session IDs) ahead of it and you lose the caching benefit IBM is counting on.

On the tooling side, the ALTK-Evolve README lists pip install altk-evolve, an MCP server with a web UI, vector storage backends (PostgreSQL with pgvector, Milvus, or the filesystem) and OpenTelemetry support for observability. It also mentions integrations with coding agents such as Claude Code and Codex. That makes it realistic to bolt AI agent memory onto an existing stack, as long as you treat it as a first-class production component.

TL;DR

  • IBM Research shows a stock GPT-4.1 agent, plus rules learned from its own runs, reaching 67.5% Pass^4 on τ²-bench retail, ahead of a fine-tuned model.
  • On held-out tasks, Pass^4 rises 10 points in both retail and airline, and 15 points in airline with GPT-5.5.
  • Cost per conversation rises 12 to 65% depending on the configuration, all in input tokens; conversations get slightly shorter.
  • The right number of rules depends on the domain, so support threshold is a knob to test.
  • In production, AI agent memory needs versioning, review and multi-trial evaluation like any other critical component.

Industrialising AI agents? SeedVision offers 3-5 day AI audits and 15-30 day production rollouts. See the packages or book a 30-min call.

Cover photo: Photo by Jakub Żerdzicki on Unsplash.