TRANSMISSION // 2612.02283v1
How ANCHOR compresses tool-use skills for AI agents
Source published
A new method aims to shrink the detailed instructions AI agents need for tool use. In tests, ANCHOR preserved more tool-call accuracy than four comparison methods, but results come from limited benchmark settings.

AI agents can depend on long skill documents to choose tools and fill in their arguments. A research team has developed ANCHOR, a way to compress those documents into a smaller form that a language model can use. The key idea is to keep training the system to remember the skill while teaching it to act on it.
Why compress an agent’s instructions?
An AI agent that uses software tools may need more than a general request. It can also need detailed instructions: which tools are available, what arguments each accepts, and what steps to follow. These reusable packages are called procedural skills. Repeating a long skill in every request takes up space in the model’s context, so researchers are looking for ways to store the useful information more compactly.
One option is to compress the model’s KV cache—the internal representations it builds as it reads text. Instead of supplying the full skill each time, a system can create a shorter cache prefix that stands in for it. But a compressed skill must preserve more than general meaning: it must still guide precise actions, such as selecting the right tool and supplying the right values.
In the preprint ANCHOR: Amortized KV-Cache Compaction for Procedural Skills, researchers propose a method designed for this challenge. They also introduce DomainBench, a benchmark intended to test whether compacted skills preserve tool use in cases where a model cannot simply rely on its existing knowledge.
A memory-preserving training approach
ANCHOR uses an emitter network to turn a skill into a compact, per-layer KV prefix in one forward pass. Its training has two stages. First, the system learns to preserve the skill’s contents by training the language model to reconstruct the document from the compact prefix. Then it learns to follow the skill by matching the full-context model’s responses and training on reference tool calls.
The authors’ central observation is that these goals can conflict. If training switches from reconstructing the skill to following instructions, the second stage can quickly weaken what the model learned to retain. The team calls this an “anchoring effect.” ANCHOR therefore keeps a low-weight reconstruction objective active during the instruction-following stage. In the authors’ experiments, this helped retain information from the skill while improving tool-call performance.
The benchmark contains 716 tasks based on 100 procedural skills. Its scoring checks tool calls at three levels: whether the tool name is correct, whether the argument keys are correct, and whether the argument values are correct. That makes it possible to distinguish choosing the wrong tool from choosing the right tool but filling in its details incorrectly. The benchmark’s tasks were filtered by a panel of language models and then reviewed by human annotators.
What the tests found
At fourfold compaction on DomainBench, ANCHOR recovered 65.1% of the full-context tool-use performance gap for Qwen3-4B and 58.9% for Gemma-4-E4B. The four comparison methods recovered between 5.5% and 45.0% on the same measure. These are recovery percentages relative to the gap between a model with the full skill and one without the skill; they do not mean that ANCHOR matched the full-context result.
The researchers also tested public agent benchmarks and benchmarks using human-written documents. ANCHOR performed strongly in some settings, but results varied by benchmark. On SWE-Skills-Bench, for example, none of the tested compactors improved on the no-skill baseline; ANCHOR showed the smallest regression. On the human-written-document tests, it was the best compaction method in four of six settings and second to a method optimized separately for each document in the other two.
The team’s system profile also points to a practical trade-off. On one H200 GPU, building a compacted skill took 138 milliseconds, compared with 89 milliseconds to prefill the full skill. After the compacted prefix was built, reported time to first token and decoding speed were close to the full-context setup. The work therefore does not show that compression is free: it adds a build step, and whether that cost pays off depends in part on how often a skill is reused.
What remains uncertain
These results are evidence for a particular approach under the conditions tested, not a guarantee that compressed skills will work reliably across agents or real-world tool systems. DomainBench was carefully checked, but its skills and tasks were synthesized; the authors also report that their training data includes a large synthetic component. Tests on human-written documents broaden the evidence, but cover only specific benchmarks and settings. The study compares two model backbones, and one result—performance on SWE-Skills-Bench—shows how difficult it can be for compaction to help when the full skill itself provides little benefit.
The source is an arXiv preprint, so its findings should be treated as provisional unless and until they are independently replicated and evaluated through further research. The paper presents ANCHOR as a promising way to preserve both instructions and tool-use behavior in a smaller cache, while leaving open how well it will generalize to different skills, models, and practical agent deployments.
- AI agents
- KV-cache compaction
- tool use
- language models
- procedural skills
- ANCHOR
- DomainBench
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
When AI Agents Summarize, Their Rules Can Disappear
Supporting evidence: Both papers identify a risk that task-level scores alone can obscure what context reduction preserves: ANCHOR’s authors say some existing skill benchmarks leave little headroom because base models perform nearly as well without the skill, while Salle et al. report stable scores for some models even as compaction summaries drop task rules. These are complementary observations from different benchmarks and methods, not a direct comparison.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.02283v1 — Original paper
Excerpt reference:
static/papers/2612.02283v1.md:64-155
Basis: Paper text
Source file SHA-256:d85bc12320b2ad10a8738975fdfb6e5cb4a5faa2f8e06d2e6b14b55a57b119572610.31778v2 — Original paper
Excerpt reference:
static/papers/2610.31778v2.md:72-217
Basis: Paper text
Source file SHA-256:9eb347a9f5e74a1280e03e29adda1c1b655acec7e161c7ab67c65d5b2428c987
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
VirtualTrialHarness aims to make clinical database studies more consistent
Source published
Shared keywords: ai agents, procedural skills
Turning AI agents’ real-world missteps into tests
Source published
Shared keywords: ai agents, language models
When do more complex AI agents earn their extra cost?
Source published
Shared keywords: ai agents, tool use
Why AI Agents Still Stumble on Complex Tasks
Source published
Shared keywords: ai agents, tool use
Training AI agents for the behaviors behind tool use
Source published
Shared keywords: ai agents, language models, tool use