Manuscript Offprint

arXiv:2609.10824

Studying Without a Syllabus: Task-Agnostic Environment Preprocessing

Vinay Samuel, Varun Ursekar, Vijay S. Kalmath, Apaar Shanker, Veronica Chatrath, Yuan Xue

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Before an LLM agent tackles tasks in a new environment, it can inspect available corpora and tools and construct reusable resources such as indices, scripts, or procedural guidance. Most automated adaptation methods, however, rely on task examples, trajectories, or evaluation feedback to decide what to build. Existing task-agnostic approaches avoid this supervision but commit in advance to a preparation strategy for a particular type of environment. We study a more open-ended setting: can an agent study an unfamiliar environment without a syllabus, i.e. before test time and without knowledge of the downstream task distribution, and choose how to prepare it? We formalize task-agnostic environment preprocessing, in which a studying system explores an environment under a budget and produces artifacts for a frozen solver. We compare unaided and archive-equipped META-AGENTS with fixed synthetic-practice and corpus-processing methods across six heterogeneous benchmarks. A META-AGENT variant achieves the highest Avg@3 reward on five benchmarks, while fixed corpus processing remains best on the largest corpus benchmark. Larger study budgets do not reliably improve downstream reward. Nevertheless, studied artifacts reduce the test-time sampling needed to reach a given score, demonstrating how reusable preparation can shift computation from repeated test-time attempts to a pre-task study phase.

1 Introduction

LLM agent performance depends substantially on choices beyond the underlying model: prompts, tools, context and memory management, and the organization of corpora, databases, and external services [16, 35, 37, 38]. Consider an agent that performs retrieval over a large filesystem. If files are unnamed and disorganized, the agent receives no clues about file content and must resort to expensive, exhaustive search. Consequently, practitioners routinely adapt components of the agent harness and environment to tailor them to the tasks the agent is expected to perform. This has led to increased interest in automated approaches to optimizing agents for novel tasks, spanning prompt optimization, harness optimization, and adaptive memory.

Figure

Figure 1. An instance of our META-AGENT W/ ARCHIVE pipeline. The environment E is a sandboxed container with a filesystem. The base environment containing benchmark-specific artifacts such as tools and corpora is shared across study and test time. Before test time, the meta-agent explores E under budget BstudyB_{study}, using strategies from a mounted archive. It writes study artifacts into a volume that is later mounted into the test-time agent's sandbox. The test-time agent uses the study artifacts and the pre-existing benchmark-specific artifacts to solve unseen tasks.

Existing automated adaptation methods typically use information about the expected test-time task distribution to guide modifications. Prompt optimizers such as DSPy [15] and GEPA [1] use task examples and evaluation feedback. VeRO [31] and Meta-Harness [17] modify the entire harness as code using similar signals. Adaptive memory systems such as AWM [34], ACE [40], and Dynamic Cheatsheet [29] extract reusable knowledge and procedures from task trajectories with or without labels. Such supervisory signals may be unavailable when an agent first encounters a new environment, particularly when representative tasks are costly to obtain. This cold start motivates task-agnostic adaptation of agents and environments prior to test time.

Several lines of work have addressed the problem of agent and environment adaptation prior to deployment. One line substitutes knowledge of the true task distribution with self-generated exploratory practice. SPICE [21] uses corpus-grounded self-play to generate a curriculum for parameter adaptation, while PREPING [6] generates synthetic tasks in tool environments and distills their trajectories into a procedural playbook. In corpus environments, retrieval structures can be prepared offline to make document collections more amenable to search by agents: RAPTOR [26] recursively clusters and summarizes documents, GraphRAG [7] constructs a knowledge graph and community summaries, and CORPUS2SKILL [28] compiles a corpus into a navigable skill hierarchy. Closest to our framing, Machine Studying [19] treats studying as an explicit pre-task process and evaluates how well an agent can construct reusable context from a corpus without downstream tasks. Each of these methods commits to a strategy for processing the environment depending on its structure. With many methods available and suited to different environment types, we ask whether an open-ended studying system can choose how to process an environment as a function of what it contains.

Specifically, we ask whether a META-AGENT can explore an environment without knowledge of the downstream task distribution and nonetheless produce artifacts that enable a frozen solver agent to effectively perform tasks at test time. The solver's weights and harness are fixed. What changes is the set of resources it finds in its sandboxed environment. These artifacts may extend the environment with directories, indices, knowledge bases, scripts, or tools, or supply harness-side context through prompted guidance, skills, or playbooks. Any file-based artifact the solver can access from within its sandbox is admissible. We compare two variants of this META-AGENT against PREPING and CORPUS2SKILL, two fixed workflows that process agent environments in a task-agnostic way.

Across six benchmarks spanning 36 unique environments, each with differently sized corpora, diverse tools, and specialized domain knowledge, the two META-AGENT variants collectively lead to the highest downstream Avg@3 reward on five, underperforming CORPUS2SKILL only on BCP-G. Our archive-equipped variant improves over NO STUDY on all six, and ranks first or second under both Avg@3 and Best@3 of downstream held-out rewards. We also analyze what the methods explore and produce, how solver performance scales with study budget, and how test-time sampling scales with and without studying.

We make four contributions:

  1. We formalize task-agnostic environment processing: systems receive an environment and a bounded study budget, but no downstream task instances, traces, or labels, and construct reusable environment resources, harness-delivered context, or both for a frozen solver.

  2. We introduce open-ended studying META-AGENTS that dynamically choose how to explore an environment and what to create, with unaided and archive-assisted variants.

  3. We show that open-ended studying strategies outperform fixed ones on five of the six heterogeneous benchmarks we evaluate on.

  4. We show that additional study budget does not reliably improve downstream performance, while studied agents often require less test-time compute to reach a given score than agents without studying.

References (40)