Papers
Topics
Authors
Recent
Search
2000 character limit reached

Exo: An Architecture for Self-Improving Systems at Runtime

Published 30 Oct 2026 in cs.AI | (2611.00463v1)

Abstract: Agent harnesses govern how LLMs act in an environment; designing their policies by hand is difficult, while automated techniques require representative datasets and costly executions. We present Exo, an agent runtime architecture for safe learning during ongoing work that collapses the optimization loop into task execution, allowing agents to revise both their harness and their strategies for further improvement. A minimal protected mechanism layer preserves execution history and governs policy activation while the harness evolves through inspectable code changes. On long-running objectives in an open-world game, Exo reduces model cost by 12-53% relative to Codex and Pi in standalone runs and 45-82% in transfer runs, while matching task completion rates. Compared with the same starting policy without the ability to edit policy, Exo reduces held-out model cost by 35-61% on AppWorld and SREGym with comparable correctness, cutting AppWorld's mean task time by 13% and SREGym's median diagnosis time by 35%. On Continual Learning Bench coding tasks, model cost including learning falls by 14%, with both policies resolving every issue.

Summary

  • The paper presents Exo, an agent architecture that allows for runtime self-improvement of its governance harness, reducing model expenditure on repetitive tasks while maintaining correctness, and demonstrates transferability of learned harnesses to related tasks.
  • Exo collapses the conventional optimization loop into the agent's task-execution loop, enabling the agent to modify its own governance harness dynamically, supported by operational homoiconicity and optimizer symmetry.
  • The architecture's evaluations show substantial gains in model economies (e.g., 47%+ reduction in costs) when applied to long-horizon tasks, with adaptations suggesting that efficiency depends on task requirement and model capability.

Problem formulation and central thesis

“Exo: A Harness Architecture for Runtime Self-Improvement” (2611.00463) addresses a systems problem that is distinct from model training: how an agent can improve the programmable harness governing its behavior while it is still executing the task for which that harness is being used. The harness includes prompt construction, context compaction, tool implementations and selection, memory and skill retrieval, external integrations, and the procedure used to initiate further improvements. Exo leaves model weights unchanged and instead makes this policy layer editable at runtime.

The paper’s central claim is that runtime self-improvement can be implemented by collapsing the conventional optimization loop into the agent’s task-execution loop. In an external optimization setup, an optimizer proposes a new harness, evaluates it on one or more tasks, and uses the resulting scores to generate another candidate. Exo instead gives the running agent the ability to inspect execution history, modify its own harness source, test the resulting candidate, and request activation through the same general action interface used for ordinary work. This design eliminates the requirement that adaptation be organized around a separately maintained benchmark suite, although it replaces that requirement with difficult problems of state preservation, policy validation, and recovery.

The empirical thesis is correspondingly specific: when tasks are long enough to amortize an initial specialization cost, runtime harness editing can reduce model expenditure while preserving task correctness, and the resulting edits can transfer to related tasks. The reported reductions are substantial, but they are not universal. Exo underperforms less adaptive baselines on a low-repetition quest objective, and a weaker model fails to exploit the architecture effectively.

Collapsing optimization into execution

The conceptual contribution is framed using adaptive control. A conventional agent controller maps objectives and observations to task actions, while a separate optimizer maps execution feedback to controller updates. Exo argues that two properties of language-model harnesses permit these components to be merged.

First, the optimizer and task controller have optimizer symmetry: a harness revision can be produced using ordinary agent actions such as reading source files, editing code, running tests, and requesting activation. A policy update therefore belongs to the same action space as tool calls performed directly against the task environment. Second, the harness is operationally homoiconic: its policy is executable code represented as files that the agent can inspect and manipulate. The object being optimized is therefore available within the optimizer’s own environment.

The resulting system gives the agent two coupled action classes: actions that advance the external task and actions that modify the procedure by which subsequent actions are selected and executed. Importantly, the editable policy includes not only task behavior but also the policy governing when and how self-improvement is attempted. Exo therefore supports recursive modification of the improvement procedure without requiring weight updates or a separate training phase.

Figure 1

Figure 1: Runtime harness adaptation allows an agent to create tools and revise context assembly while continuing the same task; model weights remain unchanged.

The paper’s formulation is stronger than systems that merely allow an agent to create task artifacts or accumulate textual memories. Such systems may improve future behavior while leaving the underlying control loop fixed. Exo exposes the executor itself, including context assembly, model-call behavior, tool wiring, and refinement procedures. This distinction matters experimentally: the reported adaptations replace repeated model-mediated decisions with executable procedures and alter which portions of prior experience are presented to the model.

Figure 2

Figure 2

Figure 2: Exo collapses the separate optimizer and task controller into one action interface through which the agent performs both task actions and policy revisions.

The approach also changes the role of evaluation. External harness optimizers such as GEPA (Agrawal et al., 25 Jul 2025) and Meta-Harness (Lee et al., 30 Mar 2026) rely on repeated executions over evaluation tasks. Exo instead obtains feedback from the deployment trajectory itself. This can reduce dependence on representative datasets, particularly in domains in which task distributions, external services, or environment dynamics change rapidly. It does not eliminate evaluation: the agent still needs signals to distinguish useful from harmful edits, and the paper’s graded experiments provide explicit feedback during learning phases.

Protected mechanisms and replacement contracts

Self-editing creates two failure modes that ordinary harness adaptation can avoid. A faulty edit can disable both the task policy and the logic required to diagnose or repair it. An edit can also destroy execution history, memory, artifacts, or the environment state that constitutes the agent’s accumulated experience. Exo addresses these problems by separating an editable executor from a protected mechanism layer.

The executor contains most harness policy: prompts, context assembly, compaction, tools, model-call procedures, memory and skill indexing, external integrations, and the policy for initiating revisions. The protected layer contains canonical execution history, versioned artifacts, credential storage, sandbox interfaces, and the guardian responsible for activating replacement executors. This partition is explicitly inspired by exokernel and microkernel principles: protect only the mechanisms required for isolation and continuity, while exposing low-level interfaces that preserve policy freedom.

Figure 3

Figure 3

Figure 3: Exo separates editable executor policy from protected mechanisms, preserving history and sandbox state while an independent guardian controls replacement activation.

The runtime state is divided into durable data, environment state, and the active executor. The storage contract requires canonical history to be append-only: messages, tool calls, tool results, costs, cache statistics, and replacement events cannot be overwritten or deleted. Mutable memories and artifacts retain prior versions. The replacement contract requires every candidate executor to pass a guardian-controlled acceptance check before activation. An accepted replacement preserves durable data, extends the history, and can leave the sandbox unchanged.

This separation gives Exo a useful form of continuity. A policy can be replaced without discarding the evidence that motivated the replacement, and rollback can restore an earlier executor while retaining the record of the failed attempt. The architecture also supports separate rollback of executor code, durable artifacts, and sandbox snapshots. These are meaningful operational guarantees, but they are conditional rather than absolute. They require complete mediation by the protected mechanism layer; unrestricted administrative access to storage would invalidate the history guarantee. Likewise, the default guardian checks build success, which establishes neither correctness nor improvement. A hung executor requires independent authority to stop it and activate a fallback, and sandbox snapshots cannot reverse arbitrary external effects.

The implementation consists of approximately 20,000 lines of runtime code and a starting policy of approximately 1,000 lines. The authors report deployment over roughly 10,000 tasks and 5 million messages. The architecture’s explicit state and replacement contracts are therefore more than a benchmark abstraction, although the paper does not provide a systematic production reliability evaluation.

Runtime specialization in open-world tasks

The first evaluation examines long-horizon objectives in an emulated RuneScape environment. Agents interact through a common RS-SDK interface and begin with new accounts. The tasks include maximizing combat statistics, accumulating currency, and crafting an adamant platebody. Combat runs use a public server with approximately 1,200–1,500 other players and bots; crafting and money-making use a shared private server. Exo is compared with Codex and Pi using the same underlying model, gpt-6.1-sol, at medium reasoning effort.

All systems complete the finite combat and crafting objectives, but Exo uses substantially less model expenditure. In standalone combat, Exo costs $3.71, compared with $7.26 for Codex and $7.95 for Pi. In crafting, it costs $2.99, compared with $3.90 and $3.41. Across these objectives, the paper reports 12–53% lower model cost. For money-making, Exo achieves approximately 332,000 coins per model dollar, compared with 231,000 for Codex and 148,000 for Pi, corresponding to a 44–125% improvement.

Objective Exo standalone Codex standalone Pi standalone
Combat completion cost $3.71 | $7.26 $7.95
Crafting completion cost $2.99 | $3.90 $3.41
Money-making efficiency 332k coins/$| 231k coins/$ 148k coins/$

The temporal behavior explains why these results do not imply uniformly lower cost from the beginning. During the first ten minutes of combat, Exo spends approximately $0.31, compared with $0.12 for Codex and $0.16 for Pi. Exo invests in a reusable combat tool and revises context assembly before the benefits materialize. Pi’s cumulative spending overtakes Exo’s at approximately 25 minutes, and Codex’s at approximately 86 minutes. The result supports a payback model: runtime self-improvement is advantageous when the task horizon and repetition are sufficient to amortize specialization cost.

Figure 4

Figure 4: Exo incurs an early specialization cost, then reduces model spending through reusable combat tools, context changes, and transferred policy state.

The edits are concrete rather than merely descriptive. Exo first creates train_combat, which batches melee actions and reports experience and observations. After repeated failures, it revises the tool to skip stalled targets and retreat earlier. It then builds combat_cycle, which selects the lowest uncapped melee skill, trains for a fixed interval, gathers nearby resources, and stops when health is low. Later, it changes context assembly to retain only four recent turn summaries while preserving older strategy in durable memory. These changes reduce the number of decisions delegated to the model and alter the information density of subsequent contexts.

The authors also test a quest objective designed to minimize repetition. Here, Exo averages $0.28 per quest point, compared with $0.24 for Codex and $0.21 for Pi. Exo builds reusable dialogue tools, but the mostly distinct requirements of individual quests provide insufficient opportunity to amortize the specialization cost. This is an important qualification: the architecture’s advantage depends on task structure, not simply on granting self-editing capability.

Transfer of learned harnesses

Exo’s main open-world transfer result is obtained by repeating objectives on fresh accounts while retaining agent state. The learned tools and policy changes transfer without requiring further combat self-edits. Combat cost decreases from $3.71 in the standalone run to $1.92 in transfer; crafting falls from $2.99 to $0.88. The corresponding transfer costs for Codex are $7.95 for Pi. In crafting, it costs $01.89, and for Pi $7.95 for Pi. In crafting, it costs $11.61. Exo therefore achieves 45–82% lower model cost than the comparison systems in transfer runs.

Transfer objective Exo Codex Pi
Combat completion cost $7.95 for Pi. In crafting, it costs $26.87 $10.89
Crafting completion cost $7.95 for Pi. In crafting, it costs $31.89 $1.61
Money-making efficiency 334k coins/$7.95 for Pi. In crafting, it costs $4 210k coins/$

The transfer result supports the paper’s distinction between memory and executable specialization. All arms retain experience and sandbox state, but Exo additionally carries reusable action procedures and context-policy changes that can be invoked directly. In combat, all systems reach the target after approximately nine active hours under changed execution conditions, while Exo maintains its cost advantage. The longer transfer duration also demonstrates that cost efficiency does not necessarily translate into lower wall-clock completion time; provider and environment conditions remain important.

The money-making strategy is an exception to the transfer pattern. Exo’s efficiency remains approximately unchanged because the standalone run already discovered a near-optimal strategy. This suggests that transfer gains are largest when the initial run contains reusable procedural improvements rather than merely a task-specific strategic insight.

Evaluation on graded tasks

The second evaluation compares Exo with an identical starting policy that cannot edit policy. This isolates the effect of runtime harness editing more directly than comparisons with independently designed systems. AppWorld and SREGym include learning tasks with feedback followed by held-out tasks without feedback. Continual Learning Bench (CLB) measures performance across a fixed issue sequence, with reflection after each issue.

Figure 5

Figure 5

Figure 5: Across three AppWorld seeds, Exo lowers held-out model cost while preserving the control policy’s observed correctness.

On AppWorld, Exo learns from one variant of each of 50 scenarios and then executes 100 held-out variants without feedback or reflection. Across three seeds, both Exo and Control achieve a 96.9% observed pass rate. Exo reduces held-out cost from $7.95 for Pi. In crafting, it costs $50.141 per task, a 61% reduction, reduces mean task time from 36.5 to 31.9 seconds, and lowers model rounds by 27%. Including the learning and reflection period, total mean cost falls from $7.95 for Pi. In crafting, it costs $632.70, a 43% reduction.

The learned changes include an API-documentation tool that retrieves compact documentation for several relevant APIs in one call, reducing repeated discovery. Exo also moves a changing task list out of the standing prompt and modifies context construction. The cached input share rises from 57.5% to 86.1%, which provides a concrete mechanism for the cost reduction. The learned implementations vary by seed: some runs produce broadly reusable tools, whereas another produces more scenario-specific tools and incurs higher learning expenditure. Nevertheless, all three seeds improve held-out cost, indicating that a single canonical implementation is not necessary for the benefit.

On 20 held-out SREGym incidents, Exo reduces median diagnosis time from 81 to 53 seconds, median model rounds from 16 to 10, and mean model cost from $7.95 for Pi. In crafting, it costs $70.584 per incident. These correspond to reductions of 35%, 38%, and 35%, respectively. Exo constructs an incident-snapshot tool that gathers unhealthy pods, revision and template anomalies, and suspicious log lines. It revises the tool five times and uses it as the first diagnostic step on held-out incidents. The result illustrates how runtime adaptation can convert repeated low-level evidence collection into a reusable diagnostic primitive.

On CLB, both systems resolve 100% of issues across five runs. Exo reduces shell steps from 7.42 to 6.28 per issue and model cost, including reflection, from $7.95 for Pi. In crafting, it costs $80.436, reductions of 15% and 14%. The gains are smaller than in AppWorld and SREGym, plausibly because the benchmark’s tasks are shorter and the adaptation opportunity is limited to a fixed sequence of coding issues. Nevertheless, the result shows that efficiency improvements need not trade off against correctness.

Limitations and open questions

The paper’s guarantees are architectural, not behavioral. Append-only history and guardian-mediated replacement prevent particular classes of state loss and unauthorized activation, but they do not ensure that an accepted executor improves task performance. The default guardian verifies build success only. A stronger guardian could execute tests, evaluate behavior in a forked environment, or require external approval, but each option introduces additional cost and raises the problem of calibrating validation effort to the consequences of a revision.

The recovery model is also bounded. The paper notes that sandbox snapshots may omit process memory or host-mounted source, and that external effects cannot generally be reversed by rollback. The safety argument assumes that protected storage and replacement authority remain outside the executor’s editing scope. These assumptions are reasonable for the proposed runtime, but they must be enforced by deployment infrastructure rather than inferred from the executor’s behavior.

The performance gains depend on model capability. With gpt-5-mini on AppWorld, Exo makes limited harness edits, fails to reuse created tools on held-out tasks, and produces results close to Control: total cost is $7.95 for Pi. In crafting, it costs $96.73, with pass rates of 59% versus 55%. The architecture therefore exhibits an intelligence floor: self-editing is useful only when the model can identify reusable structure, implement valid changes, and correctly invoke those changes later.

The experimental evidence also leaves several questions open. The open-world comparisons use one standalone/transfer pair per objective and involve environmental variation, including public-server load. The graded-task experiments are stronger in their control design but remain limited in scale, task families, and model configurations. The paper does not isolate the contributions of executable tool creation, context-policy modification, memory retention, and cost annotations through a full ablation study. Nor does it systematically evaluate guardian policies, executor liveness, multi-agent concurrency, or the resource overhead of maintaining protected histories and snapshots. These are central questions for determining whether the proposed architecture remains effective under more adversarial or operationally complex conditions.

Conclusion

Exo presents runtime harness self-editing as a systems architecture rather than a prompting technique or a weight-level continual-learning method. Its key design is the separation of an editable executor from protected mechanisms that preserve history, version artifacts, maintain sandbox access, and control policy activation. This separation enables the running agent to revise both task procedures and its own improvement strategy while preserving continuity across replacements.

The evaluations show substantial gains when tasks are long, repetitive, or composed of recurring subprocedures: 12–53% lower standalone model cost than Codex and Pi on selected open-world objectives, 45–82% lower transfer cost, 61% lower held-out AppWorld cost at equal observed correctness, 35% lower SREGym diagnosis time and cost, and 14% lower CLB model cost. The same results also establish the boundaries of the claim: specialization can lose money on low-repetition tasks, weak models may not exploit self-editing, and guardian validation remains substantially underdeveloped. Exo’s contribution is consequently best understood as a runtime substrate for inspectable, state-preserving policy evolution whose value depends on the interaction among model capability, task horizon, repetition structure, and deployment-level enforcement.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Explain it Like I'm 14

1. What is this paper about?

The paper introduces Exo, a system that lets an AI agent improve the way it works while it is still working on a task.

An AI agent is more than just a LLM. It also has a set of instructions, tools, memory systems, and rules for deciding what to do. This surrounding software is called a harness.

Usually, people design the harness by hand, or they test different versions using special datasets. Exo takes a different approach: it lets the agent inspect and edit parts of its own harness during a task.

A simple comparison is:

  • A normal agent is like a student who must use the same study method for an entire project.
  • An Exo agent is like a student who notices that a method is slow, changes the method, and then uses the improved method for the rest of the project.

2. What questions did the researchers ask?

The paper mainly investigates these questions:

  1. Can an AI agent improve its own working methods while completing a task?
  2. Can these self-made improvements make the agent cheaper and faster?
  3. Can the improvements be reused on later, similar tasks?
  4. How can self-editing be made safe?
  5. Can the agent change its behavior without losing its memory, progress, or records of what happened?

The researchers were especially interested in long or complicated tasks, where a small improvement could save a lot of time and computer cost.

3. How did the researchers build and test Exo?

The basic design

Exo divides the agent into two parts:

Part What it does
Editable policy layer Controls prompts, tools, memory, context, and strategies. The agent can change this part.
Protected mechanism layer Protects important information and controls whether changes are allowed to become active. The agent cannot freely change this part.

This is similar to a computer operating system:

  • The editable policy is like ordinary programs that users can modify.
  • The protected mechanism is like the operating system kernel, which protects important resources.

How self-editing works

The agent can:

  1. Look at its own code.
  2. Notice something inefficient or unsuccessful.
  3. Edit the code.
  4. Test whether the new version works.
  5. Ask a separate safety system, called a guardian, to activate it.

The guardian is outside the editable part of the agent. This is important because an agent should not be able to simply approve its own broken changes.

In the paper’s basic version, the guardian checks whether the new code can be built successfully. More advanced guardians could test the new version more carefully before allowing it to run.

Protecting memory and progress

Exo also keeps an append-only history. This means new events can be added, but old events cannot be erased.

The history records things such as:

  • Messages between the model and the environment
  • Tools the agent used
  • Results of those tools
  • Previous self-edits
  • How much time and money the model used

Exo also saves older versions of important files and memories. If a new edit fails, the agent can return to an earlier version.

The experiments

The researchers tested Exo in several settings:

  • A RuneScape-like open-world game involving combat, crafting, and earning money
  • AppWorld, which contains tasks involving everyday computer applications
  • SREGym, where an agent diagnoses problems in computer services
  • Continual Learning Bench, which contains software-coding problems

They compared Exo with other agents or with an identical agent that was not allowed to edit its own policy.

The researchers measured:

  • Whether tasks were completed correctly
  • How much model usage cost
  • How long tasks took
  • How many actions or model responses were needed

4. What did the researchers find?

Exo often used less model cost

In the open-world game, Exo completed tasks using less model usage than the comparison agents.

For example:

  • It used 12% to 53% less model cost on some standalone game tasks.
  • On repeated tasks with a fresh game account, it used 45% to 82% less cost than the comparison agents.
  • In one combat experiment, Exo’s cost dropped from about $3.71 to$1.92 when it reused improvements from an earlier run.

This happened because Exo spent some time creating better tools and strategies early on. Later, it could use those improvements instead of repeatedly making the same decisions.

Exo created useful tools

In the game experiment, Exo created tools that could:

  • Perform several combat actions together
  • Avoid enemies that caused repeated problems
  • Stop fighting when the character’s health was low
  • Choose which skill to train
  • Reduce unnecessary information in the model’s input

In the computer-service experiment, Exo created a diagnostic tool that collected important evidence in one step instead of requiring many separate commands.

These tools acted like shortcuts. Once created, they could be reused.

Improvements transferred to new tasks

The changes Exo made were not useful only for the exact task where they were created. They could also help with later, similar tasks.

On AppWorld:

  • Exo and the comparison system had the same task success rate: 96.9%.
  • Exo used about 61% less model cost on held-out tasks.
  • Including the cost of learning, Exo still used about 43% less total cost.

On SREGym:

  • Diagnosis time fell from 81 seconds to 53 seconds.
  • The number of model rounds fell from 16 to 10.
  • Model cost fell by about 35%.

On coding tasks:

  • Both Exo and the comparison system solved 100% of the issues.
  • Exo used 14% less model cost.
  • It also needed fewer shell commands.

Self-improvement is not always worthwhile

The researchers also found an important limitation.

Exo may spend extra resources at the beginning while creating new tools. This is worthwhile when the task is long or repetitive, because the improvement can be used many times.

However, for tasks where every step is different, there may not be enough time to recover the cost of self-improvement. In the game’s quest experiment, Exo was actually more expensive than some comparison agents.

The system also worked less well with a weaker LLM. A weaker model made fewer useful edits and did not reuse its tools effectively.

5. Why are these findings important?

The results suggest that AI agents may not need to stay fixed while they work. Instead, they could gradually become better suited to their specific environment.

This could be useful for:

  • Software development
  • Customer-service systems
  • Computer troubleshooting
  • Scientific research
  • Long-running business tasks
  • Video games and simulations

A major benefit is that Exo can learn directly from the real task environment. It does not always need a large, carefully prepared training dataset.

For example, instead of training an agent in advance to solve every possible computer problem, the agent could notice repeated problems while working and create a tool for handling them.

The safety design is also important. Letting an AI edit itself could be dangerous if it accidentally deletes its memory or breaks its own control system. Exo reduces this risk by keeping history and approval mechanisms outside the editable part.

Conclusion

The paper presents Exo as a way for AI agents to improve their own tools, instructions, and strategies during ongoing work.

Its main idea is to give the agent freedom to change its working methods while protecting the most important parts of the system. Exo keeps a permanent record of what happened, saves earlier versions, and uses an independent guardian to decide whether a new version can run.

The experiments show that this approach can make agents cheaper and faster while keeping their accuracy about the same. The improvements are especially useful for long, repeated, or complicated tasks.

However, self-improvement is not automatically helpful. It requires an AI model capable of recognizing useful changes, and the early cost of making improvements may not be worthwhile for short or one-time tasks.

Overall, the research suggests a possible future in which AI systems do not simply follow fixed instructions. Instead, they could safely adapt their own tools and working methods as they gain experience.

Practical Applications

Immediate Applications

The paper’s architecture is already suitable for controlled deployments where agents operate in sandboxed, auditable environments and where policy changes can be reviewed or constrained by an independent guardian.

  • Software engineering agents: adaptive debugging and coding workflows Sector: software development, DevOps, developer tools Agents can inspect and revise their own context assembly, shell workflows, debugging tools, memory retrieval, and planning procedures while working on a codebase. For example, an agent could detect repeated test commands, create a batching tool, and reuse it on subsequent issues. Potential products/workflows: self-optimizing coding assistants, repository-specific debugging tools, adaptive CI/CD agents, and code-review agents that build reusable project skills. Evidence: Continual Learning Bench results showed 14% lower model cost and 15% fewer shell steps while maintaining a 100% issue-resolution rate. Dependencies: The agent must have sufficient reasoning capability to recognize and reuse improvements; code execution must be sandboxed; changes require build, test, and security validation.
  • Site reliability engineering and incident response Sector: cloud infrastructure, IT operations, cybersecurity operations An SRE agent can build incident-specific diagnostic tools, refine them after failures, and reuse them for later incidents. A protected event log would preserve commands, observations, remediation attempts, and costs even when the diagnostic policy is rolled back. Potential products/workflows: adaptive incident-snapshot tools, automated evidence collectors, self-improving runbooks, and deployment agents that specialize to a company’s infrastructure. Evidence: On SREGym, Exo reduced median diagnosis time by 35%, model rounds by 38%, and model cost by 35%. Dependencies: Production actions need strict authorization boundaries. Guardian checks should include tests in a staging environment, least-privilege credentials, rollback support, and explicit approval for changes affecting live services.
  • Enterprise workflow and API automation Sector: enterprise software, finance operations, customer support, business process automation Agents handling calendars, payments, documents, CRM systems, or internal APIs can learn which API calls, documentation, and context are repeatedly useful. They can consolidate repeated discovery steps into reusable tools and optimize prompt construction for lower latency and cost. Potential products/workflows: adaptive back-office assistants, API-aware workflow agents, automated documentation retrievers, and organization-specific task orchestrators. Evidence: In AppWorld, Exo retained the same 96.9% pass rate while reducing held-out model cost by 61%, total learning-inclusive cost by 43%, and mean task time by 13%. Dependencies: API schemas must be sufficiently stable; all actions need authorization and transaction logging; financial or irreversible operations should require human confirmation or a stronger guardian.
  • Cost and latency optimization for deployed agents Sector: AI infrastructure, cloud computing, model serving The protected history can expose token counts, cache usage, repeated tool calls, context composition, and execution time. An agent can use these signals to revise context compaction, memory retrieval, model selection, or tool batching. Potential products/workflows: runtime agent observability dashboards, automatic prompt/context optimizers, cache-aware model routers, and cost-based policy tuning. Dependencies: Cost annotations must accurately reflect provider pricing and caching behavior. Optimization should not reduce correctness, omit safety-relevant context, or favor cheap but unreliable actions.
  • Open-source research and reproducible agent experimentation Sector: academia and AI systems research Researchers can use Exo’s policy/mechanism separation to study how agents learn tools, prompts, memory strategies, and improvement procedures during execution. Append-only histories and versioned artifacts support reproducible comparisons of successive policies. Potential products/workflows: research testbeds for runtime adaptation, trajectory-analysis tools, policy-diff viewers, and benchmark extensions that measure learning cost separately from task performance. Dependencies: Experiments require standardized logging, fixed model and pricing conditions, controlled environments, and careful separation between adaptation data and evaluation tasks to prevent leakage.
  • Auditable agent governance and compliance Sector: policy, regulated industries, security, legal technology The architecture can provide an immutable record of model messages, tool calls, policy replacements, costs, and rollback events. Organizations can use this record for incident investigation, compliance reporting, and post-deployment model-risk analysis. Potential products/workflows: agent change-management systems, policy version registries, approval queues, compliance dashboards, and forensic replay tools. Dependencies: Append-only history must be protected from administrators or agents with excessive privileges. Logs may contain personal or confidential information, requiring access control, encryption, retention policies, and privacy-preserving inspection.
  • Adaptive personal productivity assistants Sector: daily life, consumer software A personal assistant could learn recurring preferences and routines by creating reusable procedures—for example, summarizing a preferred set of messages, preparing a recurring travel plan, or organizing household tasks—without changing the underlying model weights. Potential products/workflows: personalized scheduling assistants, household administration agents, adaptive email triage, and local knowledge-management tools. Dependencies: Users must be able to inspect, approve, disable, and roll back policy changes. Access to email, calendars, finances, or smart-home devices requires strong credential isolation and clear consent.
  • Adaptive educational tutoring and course support Sector: education A tutoring agent could revise how it presents explanations, retrieves prior student history, selects exercises, and identifies recurring misconceptions. The immutable learning record would help instructors inspect what strategies were attempted and whether they improved outcomes. Potential products/workflows: classroom-specific tutoring agents, adaptive feedback assistants, and teacher-facing systems that build reusable instructional tools. Dependencies: Educational effectiveness cannot be inferred solely from lower token cost. Human educators should supervise policy changes, and student data requires privacy protection, age-appropriate safeguards, and bias evaluation.

Long-Term Applications

The following applications would require stronger validation, broader deployment evidence, or research into safety, generalization, and governance before being used in high-stakes settings.

  • Self-improving agents for healthcare operations Sector: healthcare Runtime adaptation could support clinical administrative workflows, medical-record retrieval, hospital scheduling, coding, or diagnostic evidence organization. An agent might learn to assemble the most relevant patient information or create specialized tools for recurring hospital procedures. Potential products/workflows: adaptive clinical documentation systems, hospital operations agents, and evidence-retrieval assistants. Dependencies: The agent must not autonomously modify clinical decision rules without independent validation. Deployment would require medical-device or clinical-software regulation, auditability, privacy protection, human oversight, and prospective safety trials. The paper’s results do not establish clinical reliability.
  • Autonomous robotics and embodied systems Sector: robotics, manufacturing, logistics, agriculture Robots could revise task planners, sensor-processing pipelines, recovery routines, or manipulation tools as they encounter new objects and environments. Protected snapshots could allow rollback of software state and, where possible, restoration of a simulated or physical environment. Potential products/workflows: warehouse robots that learn site-specific routines, agricultural robots that adapt to crop conditions, and manufacturing agents that optimize inspection or assembly procedures. Dependencies: Physical actions are harder to reverse than sandbox operations. Guardians would need simulation trials, formal safety constraints, hardware watchdogs, geofencing, collision prevention, and independent emergency-stop mechanisms. Policies must account for external effects that cannot be rolled back.
  • Energy-grid and industrial control optimization Sector: energy, utilities, industrial automation Agents could adapt forecasting, maintenance, anomaly-detection, and scheduling procedures based on observed operating conditions. Runtime learning might reduce the need for exhaustive benchmark environments in changing physical systems. Potential products/workflows: adaptive grid-monitoring agents, plant-maintenance assistants, and demand-response optimization systems. Dependencies: Safety, reliability, and regulatory requirements are substantially stricter than in the paper’s benchmarks. Candidate policies should be evaluated in digital twins and staged deployments, with independent control systems preventing unsafe commands or instability.
  • Financial analysis and transaction operations Sector: finance, insurance, accounting Agents could develop reusable procedures for document extraction, reconciliation, claims processing, fraud investigation, or market-data analysis. Cost-aware context and tool adaptation could improve throughput across large collections of similar cases. Potential products/workflows: adaptive underwriting assistants, claims-processing agents, financial reconciliation tools, and compliance-investigation systems. Dependencies: Any agent capable of changing its own decision procedure requires model-risk governance, explainability, bias monitoring, immutable audit logs, segregation of duties, and human authorization for trades, payments, credit decisions, or claims outcomes.
  • Autonomous cyber-defense and vulnerability response Sector: cybersecurity A defensive agent could create and refine evidence-collection tools, learn an organization’s infrastructure, and adapt its investigation policy to new attack patterns. The guardian mechanism could separate the authority to propose a remediation from the authority to deploy it. Potential products/workflows: self-improving SOC agents, adaptive threat-hunting playbooks, and automated containment systems. Dependencies: The same self-editing capability could produce unsafe scans, destructive remediation, or exploitable code. Strong capability isolation, signed policy updates, red-team testing, network segmentation, and human approval are necessary.
  • Long-horizon autonomous research and engineering Sector: academia, scientific computing, R&D Agents working for weeks or months on experiments, simulations, or engineering designs could improve their own data-processing tools, experiment planners, context policies, and error-recovery routines during the project. This is especially relevant where representative benchmark suites are unavailable or rapidly become outdated. Potential products/workflows: self-improving laboratory assistants, simulation-management agents, automated theorem or code research systems, and persistent research project copilots. Dependencies: Scientific validity requires preventing the agent from optimizing only for internal efficiency metrics. Experiments need preregistered evaluation criteria, independent replication, provenance tracking, and safeguards against silently changing hypotheses or evaluation procedures.
  • Federated transfer of specialized agent policies Sector: enterprise platforms, robotics, education, healthcare, cloud services The paper suggests that learned tools and policies can transfer to related tasks. A future platform could package a validated executor, its skills, and selected memories as a reusable domain module while retaining local data isolation. Potential products/workflows: organization-specific agent packages, validated “skill stores,” fleet-wide policy distribution, and site-to-site transfer learning without retraining model weights. Dependencies: Transfer quality depends on task similarity and environmental stability. Policy packages require compatibility testing, dependency management, provenance, tenant isolation, and safeguards against transferring unsafe assumptions or confidential information.
  • Standardized runtime-adaptation benchmarks and policy certification Sector: policy and academia Current evaluations typically score fixed policies on predetermined tasks. The paper motivates benchmarks that separately measure initial performance, specialization cost, transfer performance, rollback behavior, safety of revisions, and long-term resource use. Potential products/workflows: certification suites for self-improving agents, public policy-revision datasets, guardian evaluation standards, and regulatory reporting formats. Dependencies: Benchmarks must represent realistic distribution shifts and prevent agents from overfitting to known task sequences. Certification should evaluate not only correctness but also unsafe edits, data retention, recovery after failure, and behavior under adversarial conditions.
  • General-purpose self-maintaining digital services Sector: public services, enterprise platforms, daily life In the longer term, agents could maintain their own integrations, update operational procedures as interfaces change, and create replacement tools without requiring complete redeployment by developers. The protected mechanism layer would function as a stable operating substrate while the policy layer evolves. Potential products/workflows: self-maintaining customer-service systems, adaptive government-service portals, and personal agents that remain compatible with changing applications. Dependencies: This requires robust guardian design beyond build success, including behavioral trials, formal policy constraints, staged rollout, independent monitoring, and mechanisms for users or regulators to revoke changes. The paper explicitly notes an intelligence floor: weaker models may make edits without successfully reusing them, eliminating the expected benefits.

Glossary

  • Adaptive control loop: A feedback system that adjusts its controller or policy based on observed execution results. “The external optimization systems described in \cref{sec:background-challenges} can be viewed through the lens of control theory as adaptive control loops”
  • Append-only: A storage property allowing new records to be added but preventing existing records from being modified or deleted. “The storage contract requires this history to be append-only”
  • Amortize: To distribute a one-time cost across repeated uses or tasks. “the quest-specific work leaves little opportunity to amortize specialization cost”
  • Canonical execution history: The authoritative record of an agent’s messages, actions, results, and policy changes. “We show our chosen partition in \cref{fig:design-architecture}(a). Below the boundary, Exo protects the state and mechanisms needed to preserve continuity across self-edits. These are the canonical execution history”
  • Compaction: The process of reducing or summarizing context so that it occupies fewer tokens. “These include tool implementations and selection; prompting; context assembly and compaction”
  • Context assembly: The process of selecting and organizing information to provide as input to a LLM. “the agent can examine its execution history, including outcomes, model costs, and cache use, to identify improvements grounded in the environment where it actually works”
  • Decoupled voter: An independent decision-making component that determines whether an action should be admitted or accepted. “LogAct couples a shared log with decoupled voters admitting task actions”
  • Durable state: Information preserved across execution steps, policy replacements, or system restarts. “Here dtd_t contains durable data, including history, memory, and artifacts”
  • Exokernel: An operating-system architecture that provides minimal protected mechanisms while allowing applications to implement higher-level policies. “Inspired by operating systems work on separating policy from mechanism, particularly exokernels”
  • Executor: The replaceable program that implements an agent’s harness policy. “We call the replaceable program that implements the agent's harness policy the executor”
  • Fate-sharing: A dependency in which failures of one component can simultaneously disable another component that depends on it. “the resulting fate-sharing between the optimizer and the running system means that a faulty edit can disable both the agent and the logic needed to diagnose and repair it”
  • Held-out task: An evaluation task withheld from the learning or development process and used to measure generalization. “AppWorld and SREGym then use held-out tasks without feedback”
  • Homoiconic: Describing a system in which program code is represented in the same data structures that the system can inspect and manipulate. “Second, the harness is operationally homoiconic: its policy is code, and that code is represented as files the agent can observe and manipulate with its code-editing tools”
  • Harness: The software layer surrounding a LLM that supplies context, tools, memory, and execution control. “We view the harness as the scaffolding surrounding the model that (1) assembles the model's input and (2) executes and observes actions on the environment”
  • Harness policy: The programmable rules and procedures governing how an agent uses its model, state, and environment. “We use policy to refer to all of the programmable rules and procedures governing how an agent uses its model, state, and environment”
  • Intelligence floor: A minimum level of model capability required for a system or technique to produce meaningful benefits. “we believe there is an intelligence floor necessary to reap the benefits of [PERSON_NAME]'s architecture”
  • Legibility: The extent to which a system’s behavior, internal state, and changes can be inspected and understood. “flexibility, modifiability, and legibility must be elevated to first-class design principles”
  • Model cost: The computational or monetary expense associated with language-model inference, often measured using token usage and pricing. “We report task outcomes alongside model cost and time”
  • Optimizer symmetry: The property that policy-revision actions can be performed through the same action interface as ordinary task actions. “which we refer to as optimizer symmetry”
  • Open-world environment: An environment with a large, changing state space in which agents can encounter dynamic conditions and pursue varied objectives. “We study long-task adaptation in RuneScape, a dynamic, open-world multiplayer role-playing game”
  • Policy layer: The editable part of the agent architecture that specifies how the agent reasons, uses tools, assembles context, and improves itself. “Our key guiding design decision is to partition the harness into two distinct layers: a protected mechanism layer and an editable policy layer”
  • Prefix relation: A mathematical relation in which one sequence is a beginning segment of another sequence. “where ⪯\preceq denotes the prefix relation”
  • Protected mechanism layer: The non-editable system component responsible for preserving state and enforcing safety constraints. “Our key idea is to partition the agent into an evolvable policy layer and a minimal set of protected mechanisms necessary for safe operation”
  • Runtime adaptation: Modification of an agent’s policy while it is actively executing a task. “runtime harness adaptation, where the running agent uses experience from ongoing work to revise the policy governing that work”
  • Runtime state: The data describing an executing system at a particular point in time. “We take runtime state at step tt to be sts_t”
  • Sandbox: An isolated computational environment in which code or actions can run with restricted access to external resources. “ete_t contains sandbox files, dependencies, and processes”
  • Self-editing: The ability of an agent to inspect and modify the code implementing its own behavior. “To enable runtime self-editing on this architecture, we take two steps”
  • Snapshotting: Saving a point-in-time copy of an environment or state so it can later be restored. “The sandbox API separately supports snapshotting and restoring the task environment”
  • Specialization cost: The initial expense incurred while an agent develops tools or policies that improve later performance. “We call this early expense the "specialization cost", where self-improvement pays an early premium for improved later performance within the standalone execution”
  • State transition: A change from one runtime state to another caused by an operation under a system’s transition rules. “We first model the system's runtime state and transitions”
  • Token caching: Reusing previously processed model input to reduce inference cost or latency. “All costs use common token pricing that accounts for caching”
  • Transfer run: An evaluation in which a learned policy or state is applied to a new task instance or environment. “for game objectives, a transfer run repeats the objective on a fresh account while retaining agent state”
  • Versioned artifact store: Storage that preserves multiple historical versions of data or task artifacts for recovery. “along with a versioned artifact store that can hold arbitrary data such as memory, skills, or sandbox snapshots”
  • Zero-shot held-out evaluation: Testing on withheld tasks without providing feedback or allowing further adaptation during evaluation. “AppWorld and SREGym then use held-out tasks without feedback”

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 7 tweets with 78 likes about this paper.