Exo: protected kernel, editable harness, runtime self-improvement

Exo lets an agent rewrite its own harness during a task, while a protected layer keeps the history and a guardian gates each new version. On AppWorld, held-out cost per task falls from $0.359 to $0.141 at the same 96.9% pass rate, against the same policy without self-editing (gpt-5.6-sol). This page explains the paper by Krentsel, Ratnasamy, Stoica, Casado and Goyal (arXiv:2611.00463). We did not reproduce it. A small local test of ours, measured on 20 tasks, borrows its guardian rule (Figs. 17 to 19).

EDITABLE POLICY (executor)tools, prompts, context assembly,compaction, memory policy,improvement strategyagent rewrites this code mid-taskrequestsreplacementactivates ifcheck passesboth edges reach the guardian PROTECTED MECHANISMguardiandefault check: build successappend-only execution historywith costsversioned artifacts: memory,skills, sandbox snapshotscredentials; sandbox APIagent cannot edit this layer by design
Fig. 1. Paper design: Exo splits the agent by design into an editable policy layer and a protected mechanism layer, and the guardian in the protected layer decides when a revised executor takes effect. The split follows exokernel ideas and is akin to kernel and userspace in an operating system (Fig. 3(a), PDF p. 5, arXiv:2611.00463).

The optimizer moves inside the running agent

EXTERNAL LOOPoptimizer sits outside the agentOptimizerobserves the run,sends update θHarness policyu: task actionSandbox COLLAPSED (EXO)one action interface uCore policy + optimizer policyu chooses a task actionor a policy revisionSandbox
Fig. 2. Paper design: in the classical loop, a separate optimizer observes the run and sends an update θ to the harness. In Exo, the same action interface u chooses a task action or a policy revision (Fig. 2, PDF p. 3, arXiv:2611.00463).

A guardian decides if a new executor runs

G = 1guardian approves the candidatecandidate π′G = 1π(t+1) = π′new executor takes effectdefault G = build success G = 0guardian rejects the candidatecandidate π′G = 0π(t+1) = π(t)current executor staysdefault G = build success
Fig. 3. Paper design: a guardian G decides each replacement request. G = 1 makes the candidate π′ the next policy π(t+1), and G = 0 keeps π(t) (eq. 4, PDF p. 4). The default guardian checks build success, and build success alone guarantees neither task correctness nor improvement (Appendix A, PDF p. 14, arXiv:2611.00463).
ONE ACCEPTED REPLACEMENTπ0π1G = 1guardian approvalexecution historyretained eventsnew eventssandbox: same environmentappend-only: old events stayevent boxes are illustrative
Fig. 4. Paper design: after the guardian accepts a replacement from π0 to π1, the history keeps its retained events and adds new ones, and the sandbox stays the same environment (Fig. 3(b), PDF p. 5, arXiv:2611.00463).

Exo costs less when the work repeats

COMBATgpt-6.1-sol, medium reasoningstandalone: cost to finishExo$3.71Codex$7.26Pi$7.950$6$12(7.26 − 3.71) / 7.26 = 48.90%Codex(7.95 − 3.71) / 7.95 = 53.33%Pione run per entry (Tab. A1) CRAFTINGgpt-6.1-sol, medium reasoningstandalone: cost to finishExo$2.99Codex$3.90Pi$3.410$6$12(3.90 − 2.99) / 3.90 = 23.33%Codex(3.41 − 2.99) / 3.41 = 12.32%Pione run per entry (Tab. A1)
Fig. 5. Paper result: in standalone runs with gpt-6.1-sol, Exo finishes combat and crafting at 12.32–53.33% lower model cost than Codex and Pi, and the paper rounds this range to 12–53%. RuneScape here is an emulated environment based on the game (§5.2, PDF p. 6), all arms finish these objectives (PDF p. 6), and each entry is one run (Fig. 4, PDF p. 7, Tab. A1, PDF p. 14, arXiv:2611.00463).
COMBATgpt-6.1-sol, medium reasoningtransfer: cost to finishExo$1.92Codex$6.87Pi$10.890$6$12(6.87 − 1.92) / 6.87 = 72.05%Codex(10.89 − 1.92) / 10.89 = 82.37%Pione run per entry (Tab. A1) CRAFTINGgpt-6.1-sol, medium reasoningtransfer: cost to finishExo$0.88Codex$1.89Pi$1.610$6$12(1.89 − 0.88) / 1.89 = 53.44%Codex(1.61 − 0.88) / 1.61 = 45.34%Pione run per entry (Tab. A1)
Fig. 6. Paper result: in transfer runs with gpt-6.1-sol, Exo costs 45.34–82.37% less than Codex and Pi, and the paper rounds this range to 45–82%. A transfer run repeats the objective on a fresh account and keeps agent state, a spike in public-server use lengthens the combat transfer runs, and each entry is one run (Fig. 4, Fig. 5 caption, PDF p. 7, Tab. A1, PDF p. 14, arXiv:2611.00463).
COMBATgpt-6.1-sol, medium reasoningExo only: cost to finishExo, standalone$3.71Exo, transfer$1.920$6$12(3.71 − 1.92) / 3.71 = 48.25%our arithmetic from thepaper's valuesone run per entry (Tab. A1) CRAFTINGgpt-6.1-sol, medium reasoningExo only: cost to finishExo, standalone$2.99Exo, transfer$0.880$6$12(2.99 − 0.88) / 2.99 = 70.57%our arithmetic from thepaper's valuesone run per entry (Tab. A1)
Fig. 7. Paper result: Exo's own cost falls on the repeat run, from $3.71 to $1.92 in combat and from $2.99 to $0.88 in crafting (gpt-6.1-sol, Fig. 4, PDF p. 7). The 48.25% and 70.57% cuts are our arithmetic from the paper's values, and each entry is one run (Tab. A1, PDF p. 14, arXiv:2611.00463).

Exo pays an early premium, then spends less

AT 10 ACTIVE MINUTESgpt-6.1-sol, combat, standalonecumulative model spendExo$0.31Codex$0.12Pi$0.160$0.20$0.40Exo pays an early premium:the specialization cost OVERTAKES EXO ATgpt-6.1-sol, combat, standalonespend passes Exo's spendPi25 minCodex86 min045 min90 min
Fig. 8. Paper result: in standalone combat, Exo spends more early, approximately $0.31 against $0.12 for Codex and $0.16 for Pi at 10 active minutes (gpt-6.1-sol). Pi's cumulative spend passes Exo's at 25 minutes, and Codex's passes Exo's at 86 minutes. The paper calls the early extra spend the specialization cost (§5.2.1, Fig. 5(a), PDF pp. 6–7, arXiv:2611.00463).

The agent edits its tools and its context

3 OF 16 SELF-EDITSgpt-6.1-sol, combat, standaloneA: train_combatbatches melee actionsreports experience gainedand observationsrepeated attack failuresB: revises the toolskips stalled targetsretreats earlier C AND A CONTEXT EDITgpt-6.1-sol, combat, standaloneC: combat_cyclepicks lowest uncappedmelee skill, trains 180 s,collects nearby resources,stops on low healthlater in the runContext assemblykeeps only four earlierturn summaries
Fig. 9. Paper result: the paper highlights 3 of the 16 self-edits Exo made in standalone combat (gpt-6.1-sol). Edit A creates train_combat, edit B revises that tool, and edit C builds combat_cycle, and a later context edit keeps only four earlier turn summaries (§5.2.1, Fig. 5(c), PDF pp. 6–7, arXiv:2611.00463).

Self-editing costs more when work does not repeat

QUESTSgpt-6.1-sol, medium reasoningcost per quest point, 3 runsExo: most expensive$0.28Codex$0.24Pi$0.210$0.15$0.30Exo costs more than Codex:(0.28 − 0.24) / 0.24 = 16.67%Exo costs more than Pi:(0.28 − 0.21) / 0.21 = 33.33%our arithmetic from thepaper's values
Fig. 10. Paper result: on quests, Exo is the most expensive arm at $0.28 per quest point, against $0.24 for Codex and $0.21 for Pi (gpt-6.1-sol, three runs per arm). Each quest is done once with largely distinct steps, so there is little reuse, and the 16.67% and 33.33% extra costs are our arithmetic from the paper's values (PDF pp. 6–7, arXiv:2611.00463).

On graded tasks, Exo cuts cost at the same or comparable correctness

HELD-OUT COST / TASKgpt-5.6-sol, AppWorld, 3 seedsheld-out, mean cost per taskControl$0.359Exo$0.1410$0.20$0.40(0.359 − 0.141) / 0.359 = 60.72% MEAN TOTAL COSTgpt-5.6-sol, AppWorld, 3 seedsincl. learning and reflectionControl$57.36Exo$32.700$30$60(57.36 − 32.70) / 57.36 = 42.99%
Fig. 11. Paper result: on AppWorld (gpt-5.6-sol, 3 seeds), Exo cuts held-out model cost per task from $0.359 to $0.141 (100 held-out variants), and it cuts mean total cost, which includes learning and reflection, from $57.36 to $32.70. Control is the same starting policy without the ability to edit policy, and the paper rounds the cuts to 61% and 43%. In the seed 2 trace, Exo's cumulative cost falls below Control's at task 9 (Table 1, §5.4.1, PDF p. 8, Fig. 7, arXiv:2611.00463).
TASKS PASSEDgpt-5.6-sol, AppWorld, 3 seedsheld-out tasksControl96.9%Exo96.9%050%100%same: 96.9% = 96.9% TIME PER TASKgpt-5.6-sol, AppWorld, 3 seedsheld-out tasksControl36.5 sExo31.9 s020 s40 s(36.5 − 31.9) / 36.5 = 12.60%
Fig. 12. Paper result: on AppWorld held-out tasks, both arms pass 96.9% of tasks, and Exo takes 31.9 s per task against 36.5 s for Control (gpt-5.6-sol, 3 seeds). The paper rounds the 12.60% cut to 13% (Table 1, PDF p. 8, arXiv:2611.00463).
DIAGNOSIS TIMEgpt-5.6-sol, SREGymmedian, 20 held-out incidentsControl81 sExo53 s050 s100 s(81 − 53) / 81 = 34.57% MODEL ROUNDSgpt-5.6-sol, SREGymmedian, 20 held-out incidentsControl16Exo1001020(16 − 10) / 16 = 37.50% COST / INCIDENTgpt-5.6-sol, SREGymmean, 20 held-out incidentsControl$0.892Exo$0.5840$0.50$1(0.892 − 0.584) / 0.892 = 34.53%
Fig. 13. Paper result: on 20 held-out SREGym incidents, Exo cuts median diagnosis time by 34.57%, median model rounds by 37.50% and mean cost per incident by 34.53% against Control (gpt-5.6-sol). The paper rounds these to 35%, 38% and 35%, and it reports comparable correctness in additional hold-out runs without a number in Table 1 (Table 1, §5.4.2, PDF pp. 8–9, arXiv:2611.00463).
ISSUES RESOLVEDgpt-5.6-sol, CLB coding19 issues, 5 runsControl100%Exo100%050%100%same: 100% = 100% SHELL STEPS / ISSUEgpt-5.6-sol, CLB coding19 issues, 5 runsControl7.42Exo6.28048(7.42 − 6.28) / 7.42 = 15.36% COST / ISSUEgpt-5.6-sol, CLB codingincl. reflectionControl$0.507Exo$0.4360$0.30$0.60(0.507 − 0.436) / 0.507 = 14.00%
Fig. 14. Paper result: on 19 Continual Learning Bench coding issues over 5 runs, both arms resolve every issue, and Exo uses 15.36% fewer shell steps and 14.00% less cost per issue than Control (gpt-5.6-sol). There is no separate held-out phase, costs include reflection, and the paper rounds the cuts to 15% and 14% (Table 1, §5.4.3, PDF pp. 8–9, arXiv:2611.00463).

Limits to keep in mind

TOTAL COSTgpt-5-mini, AppWorld,three seedsControl$6.73Exo$6.630$4$8 PASS RATEgpt-5-mini, AppWorld,three seedsControl55%Exo59%050%100%
Fig. 15. Paper result: with gpt-5-mini on AppWorld, Exo and Control cost about the same ($6.63 and $6.73) and pass 59% and 55% (three seeds). Exo made limited edits and did not reuse its created tools on held-out tasks. The authors state a belief that an intelligence floor exists. The paper gives no threshold (§5.4.3, PDF p. 9, arXiv:2611.00463).
TAB. A1: ONE RUNOne run per entry(Tab. A1, PDF p. 14) QUESTS: THREE RUNSThree runs per arm(PDF pp. 6–7) MODELS DIFFERgpt-6.1-sol: RuneScapegpt-5.6-sol: graded tasksgpt-5-mini: Fig. 15 DEFAULT GUARDIANchecks build successonly (Appendix A)
Fig. 16. Limits to keep in mind: Tab. A1 entries are single runs, quests have three runs per arm, the experiments use different models, and the default guardian checks only build success. Appendix A says the broadly writable development configuration does not enforce the storage and replacement restrictions (PDF p. 14). These facts come from the paper, and treating the run counts and model differences as limits is our reading (Tab. A1, §5.1, §5.2.1, §5.4.3, Appendix A, arXiv:2611.00463).

Our takeaway: we borrowed the guardian, and it blocked both edits

Caveat: this is a tiny test (n=10 per split), not evidence about Exo. One task is 10 points, and the held-out baseline of 9/10 left room for only one task to improve. The held-out drop from 9 to 8 is a net of flips: HumanEval/116 went from fail to pass, while /124 and /17 went from pass to fail, and the baseline's only held-out failure was a 1024-token truncation, not a logic error. In an earlier attempt that a parser bug superseded, a junk system prompt scored 10/10 held-out, so single-task flips at this size are noise. Round 2 repeated round 1's edit verbatim, so it added no information. The guardian used held-out scores for its accept check, so held-out was not untouched. Decoding was greedy, and this is one sample of a tiny task set. The measured result is in Figs. 17 and 18, and Fig. 19 repeats the caveats and the cost.

Our guardian rule kept an edit only if train failures went strictly down and held-out did not go down. A Qwen3.5-4B 4-bit MLX model on 20 HumanEval tasks (10 train, 10 held-out) proposed edits to its own system prompt; both edits scored train 6/10 and held-out 8/10 against a baseline of 8/10 and 9/10, so the guardian accepted 0 of 2 and the +1 held-out gate failed (9 → 9).

PAPER RESULTSelf-editing cut model coston repeated work (gpt-6.1-sol,gpt-5.6-sol). It cost more onquests (gpt-6.1-sol). OUR TAKEAWAYWe borrowed the Exo guardianrule in a small local test.It rejected 2 of 2 edits.Nothing worth keeping.Verdict: kill this line (≤8B).measured, not a planthe log idea is our opinion NOT DONEPaper did not test smalllocal models.We did not run Exo.No reproduction by us.
Fig. 17. Our takeaway is the middle panel. We borrowed the Exo guardian rule in a small local leaf test on a local M1 Pro 32 GB Mac, and it rejected 2 of 2 proposed edits, so nothing was worth keeping (Figs. 18 and 19 show the numbers, the caveats and the cost). The paper did not test small local models, we did not run Exo, and this page is not our reproduction. The cost-annotated append-only log idea is our opinion and not measured. Background on Recursa is in our Recursa post.
TRAINQwen3.5-4B 4-bit, thinking offHumanEval, 10 train tasksBaseline8/10Proposed edit6/100510Guardian: rejected,0 of 2 edits acceptedRounds 1 and 2 scored the same HELD-OUTQwen3.5-4B 4-bit, thinking offHumanEval, 10 held-out tasksBaseline9/10Proposed edit8/100510+1 held-out gate: failed (9 → 9)/116 fixed; /124, /17 brokeBoth rounds scored 8/10 held-out
Fig. 18. Our measured result: the guardian accepted 0 of 2 proposed edits, because both scored train 6/10 and held-out 8/10, against a baseline of 8/10 and 9/10. The +1 held-out success gate failed (9 → 9) and the final skill is the baseline. Zero-based scale out of 10. Source: our local run on a local M1 Pro 32 GB Mac, which ended 2:50 PM PT on 2026-11-05 (Qwen3.5-4B 4-bit MLX, thinking off, greedy, 20 HumanEval tasks, n=10 per split).
CAVEATn=10 per split; one task is10 pointsHeld-out baseline 9/10: room foronly one task to improve9 → 8 is a net of flips:/116 up, /124 and /17 downJunk prompt scored 10/10 held-outin an earlier, superseded attemptRound 2 repeated round 1 verbatim COSTWall: 127.2 + 71.7 + 143.0 + 143.1+ 8.3 + 8.3 = 501.6 s(about 8.4 min)Tokens: 10,887 + 5,970 + 13,073+ 13,073 + 1,733 + 1,831= 46,567 (prompt + generated)~52 tok/s = generation speed(51.6–53.0 while solving)46,567 / 501.6 s ≈ 92.8 tok/s isnot generation speed: it countsprompt tokens tooAnother model server ran at thesame time on this MacCovers attempt 2 + shared baseline
Fig. 19. Caveats and cost of our local leaf test, run on a local M1 Pro 32 GB Mac (ended 2:50 PM PT on 2026-11-05). Caveats: n=10 per split, so one task is 10 points; the held-out baseline of 9/10 left room for one task; the 9 → 8 is a net of flips (HumanEval/116 up, /124 and /17 down), and the baseline's only held-out failure was a 1024-token truncation, not a logic error; a junk prompt scored 10/10 in an earlier attempt that a parser bug superseded; round 2 repeated round 1's edit verbatim; the guardian used held-out scores for its accept check, so held-out was not untouched; decoding was greedy, so this is one sample of a tiny task set. Cost: phase wall times sum to 501.6 s (about 8.4 min) and 46,567 prompt plus generated tokens; generation speed while solving was about 52 tok/s (51.6–53.0), and 46,567 / 501.6 s is not a generation rate because it counts prompt tokens. These numbers cover attempt 2 plus the shared baseline. Another local model server ran at the same time, so wall times may be longer and tok/s lower than on an idle machine.

Setup and sources

  • Paper: Exo: A Harness Architecture for Runtime Self-Improvement, Alexander Krentsel, Sylvia Ratnasamy and Ion Stoica (University of California, Berkeley), Martin Casado (Andreessen Horowitz) and Ankur Goyal (Braintrust), arXiv:2611.00463v1, 30 October 2026. The arXiv listing titles it "Exo: An Architecture for Self-Improving Systems at Runtime".
  • Code: https://github.com/exoharness/exo, released by the authors.
  • Numbers: paper Table 1, Fig. 4, Fig. 5, Fig. 7, Tab. A1 and the text of Sections 5.2 to 5.4. We recomputed every percentage from the paper's absolute values, and the page shows each calculation. RuneScape charts use gpt-6.1-sol. AppWorld, SREGym and CLB charts use gpt-5.6-sol, except this page's Fig. 15, which uses gpt-5-mini. Figs. 18 and 19, and the middle panel of Fig. 17, come from our own small local run (a local M1 Pro 32 GB Mac, finished 2:50 PM PT on 2026-11-05; Qwen3.5-4B 4-bit MLX, thinking off, greedy; 20 HumanEval tasks, 10 train and 10 held-out, n=10 per split), which is a separate test and not a reproduction of the paper. Every other figure comes from the paper.

Tags: Self-improvement Agents Cost

All ship logs