arXiv:2609.11060cs.AISep 2026

Manuscript Offprint

arXiv:2609.11060

Grounding Agent Memory: Environment-Probing Curation for Enterprise Agents

Susheel Suresh, Hazel Mak, Sahil Bhatnagar, Chhaya Methani, Alejandro Gutierrez Munoz

Abstract

Persistent memory is entering production-oriented agent platforms to help long-horizon agents accumulate experience across sessions. Yet a post-task curator agent restricted to completed trajectories can preserve errors, overgeneralize partial evidence, or retain stale knowledge. We introduce environment-probing curation, a deployment-compatible extension that gives an existing asynchronous curator agent least-privilege, read-only world tools to check, scope, and refresh candidate memories. It requires no model retraining and leaves the task agent, retriever, memory representation, and production write authority unchanged. In a production-like GitHub Copilot (GHCP) harness built on its SDK, we compare stateless execution, full in-context learning, GHCP + Mem, and GHCP + Mem (w/Env Probing) on CLBench database exploration and 90 adapted APEX management-consulting tasks. On CLBench, probing raises pass rate from 39% to 73% and pass-discounted reward from 8.60 to 22.60 while reducing queries from 8.8 to 4.7 per question and task-agent cost from 3.38to3.38 to1.68. Across six APEX worlds, all 18 memory-versus-baseline mean reward comparisons are positive and task-agent tool calls fall by 16–75%; probing gives the best task-agent reward gain per dollar in five worlds. Probing also attains higher mean reward than GHCP + Mem on both Sonnet 4.6 and Opus 4.7 without schema drift. Environment probing therefore turns existing agent-memory curation into an environment-informed, auditable process while preserving a compact task-time interface.

1 Introduction

Large language model (LLM) agents are moving beyond bounded task execution toward sustained work across sessions: implementing features in evolving codebases, analyzing enterprise data, and supporting customers through external applications. Success depends on accumulating feedback and, especially, knowledge of the latent environment structure shared across related tasks. Stateless execution discards trajectories, observations, discoveries, and missteps at every session boundary, preventing experience from improving subsequent work (Asawa et al. 2026; He et al. 2026).

A natural remedy is external memory, with three core operations: create records from prior interactions, update them as evidence accumulates, and recall relevant records during later execution (Hu et al. 2026; Park et al. 2023; Packer et al. 2023; Zhang et al. 2025; Ouyang et al. 2025). Designs range from full-context trajectory replay, per-trajectory summaries, and a mutable notepad to queryable indexes. Structured records, relational encodings, hierarchical tiers, and reasoning-aware retrieval make the latter increasingly capable (Chhikara et al. 2025; Xu et al. 2025; Kang et al. 2025; Shu et al. 2026; Ji, Li, and Hooi 2026). These ideas are entering practical agent stacks: Claude Managed Agents 1^{1} and Microsoft Copilot Studio 2^{2} expose memory features, while Mem0 and Zep support production-oriented memory workflows (Anthropic 2026a; Microsoft 2026c; Mem0 2026; Zep 2026).

Persistent state alone, however, does not guarantee continual learning. CLBench shows that memory can encode spurious generalizations and stale beliefs under environment drift (Asawa et al. 2026); Xiong et al. (2026) identify error propagation and misaligned experience replay. Post-task curation in Mem0, Claude Managed Agents Dreams, ACE, ReasoningBank, and ReMe operates over some combination of existing records, completed trajectories, feedback, and usage signals (Chhikara et al. 2025; Anthropic 2026b; Zhang et al. 2025; Ouyang et al. 2025; Cao et al. 2026).

This retrospective evidence boundary is fundamentally incomplete. A trajectory is a single, partial, and often mistake-laden observation of the environment. Its lemmas can (i) memorize an instance answer rather than its procedure, (ii) inherit an inefficient path, (iii) assert an unverifiable scope, (iv) leave blind spots in unvisited regions, or (v) go stale as the world changes. Deferring verification to task time forces the responding agent to spend scarce tool calls rechecking uncertain memories rather than directly solving the current task.

We therefore propose environment-probing curation. After each task, the harness instantiates a post-task curator agent with memory CRUD; it receives the completed trajectory and grade after a non-writing distillation step, then uses read-only world tools to check candidate claims, test their scope across omitted states, re-enact procedures, and refresh stale entries before writing. This is consistent with

1^{1}Claude Managed Agents Memory: https://platform.claude.com/docs/en/managed-agents/memory.

2^{2}Copilot Studio Memory (preview): https://learn.microsoft.com/en-us/microsoft-copilot-studio/agents-experience/memory-overview.

∗^{*}Correspondence to sussuresh@microsoft.com.

SEQUENTIAL TASK S, EXECUTION

Figure

Figure 1: Agent roles and tool boundaries for task SiS_{i}. The horizontal dashed line separates sequential task execution from asynchronous curation. The task agent uses environment tools and read-only memory. After task closure, the curator agent receives raw trajectory τi\tau_{i}, distilled trajectory did_{i}, and the grade; only the curator agent can write memory. The red dashed loop marks read-only probing.

constructive accounts of episodic memory, where prior experience is recombined to simulate possible and counterfactual events (Bartlett 1932; Schacter and Addis 2007; Schacter et al. 2012, 2015), and with interactive learning, where acting in an environment yields competence unavailable from passive observation alone (Sukhbaatar et al. 2018).

The mechanism is readily incorporated into existing enterprise agents. It requires no retraining and leaves the responding agent, retriever, record representation, and production write authority unchanged. The asynchronous curator agent receives only a least-privilege, read-only subset of existing connectors or MCP tools (Microsoft 2026d,b). Probes remain off the user-facing critical path and task budget, inherit platform authentication and auditing, and disappear without a safe read surface. Figure 1 isolates this boundary: only the asynchronous curator agent gains world tools. With the task-time memory interface and CRUD lifecycle fixed, incremental gains measure write-time evidence quality rather than added task-agent capacity.

In our production-like GitHub Copilot (GHCP) harness, built on its SDK, each task gets a fresh agent session while a persistent index spans sessions and external tools expose the environment (GitHub 2026). Both benchmarks mirror deployed enterprise work: CLBench models data analysis over evolving organization-specific databases; adapted APEX contributes 90 consulting-analyst tasks across six heterogeneous document worlds (Asawa et al. 2026; Vidgen et al. 2026). Environment probing raises CLBench pass rate from 39% to 73%, reward from 8.60 to 22.60, and cuts task-agent cost from 3.38to3.38 to1.68. Across APEX, all 18 memory-versus-baseline mean reward comparisons are positive and probing gives the best task-agent reward gain per dollar in five of six worlds. Our contributions are a diagnosis of trajectory-only generalization failure, a deployment-compatible propose-probe-commit curator agent, and a cost-aware evaluation showing that environment-informed procedures improve correctness while eliminating repeated environment exploration.