PREPING: Building Agent Memory without Tasks

Yumin Choi, Sangwoo Park, Minki Kang, Jinheon Baek, Sung Ju Hwang

TL;DR

PREPING introduces a framework for "pre-task memory construction," allowing LLM agents to build robust procedural playbooks before encountering real-world user tasks. By utilizing a controlled, self-generated synthetic practice loop, it eliminates the classic agent "cold-start" problem and slashes deployment-time token costs by up to 3×.

What Problem Does This Paper Address?

When LLM agents are deployed into new environments (like a specific company's API or a command-line interface), knowing the tool definitions isn't enough. Agents must learn environment-specific nuances: how tools compose, hidden preconditions, and how to recover from state-dependent failures.

Traditionally, agents acquire this procedural knowledge in one of two ways:

  1. Offline: Through expensive, human-curated demonstrations.
  2. Online: By learning from trial-and-error during live user interactions.

The online approach suffers from a severe cold-start problem. The agent begins with an empty memory, exposing early users to high failure rates, latency, and high token costs as the agent figures things out on the fly.

Why not just let the agent practice on synthetic tasks before deployment? Because naive self-practice fails. Without strict control, an agent generates redundant or impossible tasks, and its memory quickly becomes contaminated with flawed, unvetted workflows. PREPING solves this by carefully controlling both what to practice and what to store.

Methods

PREPING (Pre-Task REusable Playbook MakING) coordinates three LLM-powered modules in a synthetic practice loop before the agent ever sees a real user task:

  • The Proposer ($A_{prop}$): Generates feasible, diverse synthetic tasks designed to explore under-utilized parts of the environment.
  • The Solver ($A_{sol}$): Executes the proposed tasks in the environment to generate action trajectories.
  • The Validator ($A_{val}$): Evaluates the trajectories, filtering out infeasible tasks and providing feedback.
Figure 2: Overview of PREPING. PREPING builds procedural memory before deployment through a synthetic-practice loop: proposing tasks, executing them in the environment, validating the resulting trajectories, and updating memory. Proposer memory (Mprop) shapes what to practice next, while the Validator filters which synthetic trajectories are reliable enough to become solver memory (Msol).

The core innovation is PREPING's asymmetric memory update mechanism, which separates construction-time signals from deployment-time guidance:

  1. Proposer Memory ($M_{prop}$): A control state that tracks the entire practice history (including failures and overused tools) and discovered environment facts. This ensures future task proposals expand coverage without attempting impossible actions.
  2. Solver Memory ($M_{sol}$): The deployment playbook. It is strictly validation-gated; only trajectories verified as fully feasible and successful by the Validator are distilled into compact, reusable procedural rules for the final deployment memory.

Datasets

The authors evaluated PREPING across three distinct, highly interactive agent benchmarks:

  • AppWorld: A stateful app environment where agents write code against APIs (e.g., Spotify, Venmo) to solve complex user workflows.
  • BFCL v3 (Berkeley Function Calling Leaderboard): Tests structured function calling under complex dialogue and schema constraints.
  • MCP-Universe: A benchmark built on the Model Context Protocol, testing tool use over real-world servers across categories like Repository Management, Financial Analysis, 3D Designing, and Browser interaction.

Key Insights and Ideas

  • Validation Gating Prevents Memory Contamination: Without a validator, synthetic practice can actually harm an agent. For example, if a synthetic task involves an expired credit card, an unguided solver might simply rename a valid MasterCard to "Wells Fargo" to force a successful execution. Without a validator to flag this as an invalid task constraint, the agent distills a hallucinated, harmful rule into its permanent memory.
  • Controlled Exploration > Raw Volume: The main benefit of PREPING does not come from generating thousands of tasks, but from the Proposer Memory actively pushing the agent toward under-explored APIs while keeping tasks grounded in reality.
  • Broad Pre-Deployment Tool Coverage: Online methods take dozens of user interactions to discover and map out an environment's capabilities. PREPING establishes wide tool coverage before day one, protecting early users from experimental failures.
Figure 1: PREPING builds memory before the first user task and mitigates online cold-start. Left: Unlike offline methods that require prior human tasks or online methods that start from empty memory, PREPING constructs procedural memory through self-generated synthetic practice before deployment. Right: PREPING establishes broad tool coverage before deployment, whereas ACE- Online must accumulate coverage from user-facing tasks, requiring 58 tasks to match PREPING on AppWorld and still falling short after 200 tasks on BFCL v3.

Key Results

PREPING consistently outperformed no-memory baselines and matched or exceeded the performance of "task-informed" methods that require real user data:

  • Performance Boosts: PREPING improved task completion over the no-memory baseline by 17.1 points on AppWorld, 19.3 points on BFCL v3, and 5.4 points on MCP-Universe.
  • Competitive with Task-Informed Methods: On AppWorld, PREPING achieved a 70.2% average success rate, outperforming ACE-Offline (which requires human-designed tasks) and rivaling ACE-Online (71.3%).
  • Massive Cost Reductions: Because PREPING freezes its memory before deployment, it avoids expensive memory-update API calls during live execution. This resulted in deployment costs that were 2.99× lower on AppWorld and 2.23× lower on BFCL v3 compared to online memory construction methods.

Limitations and Future Work

  • Documentation Dependency: PREPING assumes access to reasonably detailed API or tool documentation to seed its initial Proposer. If tool schemas or descriptions are completely missing or highly noisy, the Proposer will struggle to generate grounded tasks.
  • Safety in Un-sandboxed Environments: Because the pre-task phase involves active execution to discover environment constraints, PREPING requires a sandboxed environment during its practice phase to avoid accidentally altering sensitive data or executing irreversible real-world actions. The authors note that future work should explore pre-task memory construction under noisier documentation and un-sandboxed safety constraints.

Summary updated

Abstract

Agent memory is typically constructed either offline from curated demonstrations or online from post-deployment interactions. However, regardless of how it is built, an agent faces a cold-start gap when first introduced to a new environment without any task-specific experience available. In this paper, we study pre-task memory construction: whether an agent can build procedural memory before observing any target-environment tasks, using only self-generated synthetic practice. Yet, synthetic interaction alone is insufficient, as without controlling what to practice and what to store, synthetic tasks become redundant, infeasible, and ultimately uninformative, and memory further degrades quickly due to unfiltered trajectories. To overcome this, we present Preping, a proposer-guided memory construction framework. At its core is proposer memory, a structured control state that shapes future practice. A Proposer generates synthetic tasks conditioned on this state, a Solver executes them, and a Validator determines which trajectories are eligible for memory insertion while also providing feedback to guide future proposals. Experiments on AppWorld, BFCL v3, and MCP-Universe show that Preping substantially improves over a no-memory baseline and achieves performance competitive with strong playbook-based methods built from offline or online experience, with deployment cost $2.99\times$ lower on AppWorld and $2.23\times$ lower on BFCL v3 than online memory construction. Further analyses reveal that the main benefit does not come from synthetic volume alone, but from proposer-side control over feasibility, redundancy, and coverage, combined with selective memory updates.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
BFCL-v3 · BFCL v3PrepingAvg. benchmark score53.1+19.3 vs baselineAverage across Base, Long Context, Missing Parameter, and Missing Function categories; …
Source quote
L396: Preping │ 65.2 {±0.5} │ 59.3 {±0.8} │ 37.8 {±2.6} │ 50.2 {±1.5} │ 53.1 {±0.8}
MCP-UniversePrepingAvg. benchmark score37.5+5.4 vs baselineAverage across Repository, Financial, 3D Designing, and Browser categories; scores aver…
Source quote
L419: Preping │ 10.1 {±1.4} │ 70.8 {±2.4} │ 36.8 {±4.3} │ 32.3 {±1.5} │ 37.5 {±1.2}
AppWorldPrepingConstruction-inclusive total cost10.11 USD-18.54 vs baselinesplit: val
Source quote
L663: Preping │ 0.21 │ 0.14 │ 0.68 │ 0.56 │ 8.52 │ 10.11 │ --
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
BFCL-v3 · BFCL v3Base baselineAvg. benchmark score33.8No-memory baseline; average across Base, Long Context, Missing Parameter, and Missing F…
Source quote
L392: Base │ 43.7 {±1.0} │ 40.0 {±1.6} │ 23.0 {±3.1} │ 28.3 {±0.2} │ 33.8 {±1.0}
MCP-UniverseBase baselineAvg. benchmark score32.1No-memory baseline; average across Repository, Financial, 3D Designing, and Browser cat…
Source quote
L415: Base │ 8.1 {±2.8} │ 59.2 {±1.2} │ 29.8 {±2.5} │ 31.3 {±5.1} │ 32.1 {±1.4}
AppWorldACE-Online baselineConstruction-inclusive total cost28.65 USDsplit: val
Source quote
L664: ACE-Online │ -- │ -- │ -- │ 12.64 │ 16.00 │ 28.65 │ 2.83×
BibTeX
@inproceedings{choi2026preping,
  author = {Yumin Choi and Sangwoo Park and Minki Kang and Jinheon Baek and Sung Ju Hwang},
  title = {{PREPING: Building Agent Memory without Tasks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=JOK7XgSXEU},
}
Figure