Fig. 1 is the evidence: the same task (two planted bugs in the running example) given to each harness with the same local 4B model MEASURED. Only Aider, the harness that takes the most decisions away from the model, fixed both. Every other run went wrong at one of the first three choices, and the steps take them in that order.
justification argument with an empty string and Codex refused it each time; the fifth call was prose until the 2,048-token output cap. No bug fixed (section 1).top_words, saw one failure left, then sent an empty reply, which ends its loop. opencode found the bug through its explore subagent (purple), then described the fix in prose; a reply with no tool call ends its loop too (section 2).str_replace refused five edits whose search text was indented wrongly (five of its seven orange calls), until our 30-iteration cap; every call resends the whole history, so its row climbs. mini-SWE-agent's sed matched nothing and exited 0 (yellow); in text mode it "verified" with a check that passes with the bug, and submitted (section 3).One run per setting: a demonstration of mechanisms, not a ranking. Drag the figure to turn it; click a row in section 2's figure to open a run call by call.
You need: the agent loop (model call, tool call, result, repeat), built from zero in the parent's Loop lab. Not here, each owned by its own page: Claude Code itself (Claude Code, taken apart); how to build a harness, the action boundary, tool design and the edit-format bench (Building a harness); window budgets, caching and compaction in general (Context engineering); the threat model behind sandboxes (Agent security); benchmark scores and how much a harness moves them (Coding benchmarks, Harnesses for training and evaluation); 23 harnesses on nine axes (the parent's Harness atlas tab).
MEASURED: runs recorded on 6 October 2026 on the parent topic's running example (textstats, two planted bugs) with a local model (Qwen3-4B-Instruct-2507, 4-bit, mlx-lm 0.32.0, Apple M1 Pro) and Claude Haiku 4.5 through Claude Code 2.1.289 in headless mode. Every source claim is read from the code at the pinned version in the Versions table and linked to its lines.
| Codex CLI | Gemini CLI | opencode | Aider | OpenHands SDK | mini-SWE-agent | |
|---|---|---|---|---|---|---|
| Made by, language | OpenAI, Rust | Google, TypeScript | Anomaly (ex-SST), TypeScript | the Aider-AI project, Python | OpenHands contributors, Python | the Princeton and Stanford team behind SWE-bench, Python |
| 1 How the model acts | tool calls | tool calls | tool calls | text: edit blocks in the reply | tool calls | one bash tool call, or one fenced block in text |
| 2 Loop ends when | a reply has no tool call; no step cap | a reply has no tool call; loop detector | a reply has no tool call; no step cap | no loop: one reply, up to 3 automatic retries | finish tool or plain text; 500 iterations | a command prints the submit line |
| 3 Edits files with | apply_patch, its own patch grammar | replace: exact, then three looser matches | edit: nine matchers in turn | SEARCH/REPLACE, whole file or diff, as text | file_editor str_replace | shell commands (sed, heredocs) |
| 4 Contained by default by | OS sandbox (Seatbelt, bubblewrap) | a TOML policy; sandbox opt-in | allow/ask/deny rules, allow by default; no sandbox | git: every edit is a commit | nothing locally; Docker workspace opt-in | nothing locally; Docker opt-in |
| 5 Context when it fills | summary at 90% of the window | summary at 50%, then a self-check call | summary at the usable window | older chat summarised; repo map ranked to a budget | condenser: keep first 4, summarise the middle past 80 events | nothing: the run fails |
| Steal this | the sandbox as the boundary, not the prompt | loop detection and policy files | harness as a server; per-model prompts and tools | the repository map; edit formats | an event log you can replay and condense | the smallest loop that scores well |
Every cell is from the source at the version in the Versions table; the sections below link the lines. Every run, call by call, is in the Same task, every harness tab.
Highlights: action block output the model invented cut away, never seen by the harness . Under each reply: what the harness did with it and the real output the model saw next. Replies are shown up to 1,800 characters (the stored copies keep 3,000).
Five of the six send tool definitions (name, description, JSON schema) and get back a structured call; the API ends the reply there with a finish reason (tool_calls in the OpenAI format, tool_use in Anthropic's), so the inference server enforces the action boundary. Aider, and mini-SWE-agent's opt-in text mode, use text actions instead: Aider's SEARCH/REPLACE blocks, or exactly one ```mswea_bash_command block per reply, found by a regex. Text works with any model that writes text, which is why Aider chose it in 2023, before OpenAI shipped function calling on 13 June 2023 (OpenAI). The cost: now the harness must stop the model at its action. Why and how is Building a harness' section 2; here is what each choice did on our task.
Aider does not need the stop: its protocol is "reply once, with the edits", so the model never waits for an observation inside a reply. A loop that does (run ls, see the listing, decide) needs a server-side stop: a stop sequence, or the chat template's end-of-turn token, which an open model emits after an action because it was trained to. claude -p, the only route to Claude here (a subscription, no API key), has no stop-sequence option. So mini-SWE-agent's text mode ran with Claude Haiku 4.5 twice through a small adapter: reply passed through untouched, and reply cut right after the first action block.
ls -la on the left, a find on the right); the harness runs it and returns the listing.cat README.md twice, so "Expected exactly 1 action, found 2" and nothing runs. Right: three blocks, cut after the first, so cat ./README.md runs.cd /empty, a directory it invented: "No such file or directory".sed edit, the test command with an invented "All tests passed!" as its output, and the submit line: three blocks, refused, so nothing runs.pwd && ls -la runs.Result. Uncut: up to 11 action blocks (the parser's count) in one reply, ending with "All tests passed!" and the submit command; 5 refusals in 10 calls, no file changed. Cut: every command that ran was one the model asked for, yet the run also ended with no edit, because the model wrote its invented exchange before its first action ("The core.py file appears to be empty", a file it never read) and later claimed the tests passed. The cut text was still generated and paid for: 8,932 output tokens for 5 calls MEASURED.
What it buys. A client-side cut stops the harness from acting on invented output; it does not stop the model from believing it. Only a real message list with a server-side stop does. Aider, whose protocol needs no observation inside a reply, fixed both bugs through the same adapter in 3 calls and 25 s (section 3). The local 4B model never invented output in text mode: it ran behind a chat server whose template ends the turn with an end-of-turn token after one action, so training plus the template gave the boundary, not the harness. The parent's Loop lab met the same wall (Haiku once ran on for 95,162 characters until the harness kept only the text up to the first action).
The cost on the tool-call side is schema surface: every optional field with a rule attached is one more way for a weak model to fail. Codex gave our local model 12 tools; on its first call the model filled the optional justification argument of exec_command with an empty string, Codex answered "justification requires an explicit sandbox_permissions" (handlers/mod.rs line 101), and the model resent the same call three more times. OpenHands injects a required security_risk field into every tool that changes something; our model once misspelt it security_rika, which the schema rejected.
Three of the six end when a reply has no tool call (Codex, Gemini CLI, opencode), with no step cap by default. OpenHands ends on a finish tool or plain text, caps at 500 iterations, and answers an empty reply with "Please use a tool to proceed with the task." mini-SWE-agent ends when a command's output starts with the line COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT and exits 0 (the check is on the output, not the command text: local.py 45 to 56). Aider has no agent loop: one reply, its edits applied, then lint and tests, and at most 3 "reflected" retries carrying the errors (base_coder.py 924 to 945); the human is the outer loop.
The guards differ more than the stop rules. Gemini CLI counts the same tool call five times in a row, or a 50-character chunk of text repeated ten times, as a loop; after 30 turns a separate model call checks for "unproductive" loops every 5 to 15 turns and needs 0.9 confidence; the first detection injects a nudge, the second stops the turn (loopDetectionService.ts). opencode's doom-loop guard turns three identical tool calls in a row into a permission question (processor.ts). OpenHands' stuck detector scans the last 20 events for repeated action and observation pairs, nudges once, then stops. mini-SWE-agent ends a run after three consecutive format errors and at a $3 cost limit. Codex has none: nothing stops a repeating call.
What it buys. "A reply with no tool call means done" is cheap and model-agnostic, but it cannot tell finishing from explaining: opencode and Codex both ended our runs on prose with both tests still failing, and Gemini CLI on an empty reply with one left. Aider's rule is the opposite, the harness runs the tests (--auto-test) and feeds back only the failure, and it was the only one to finish. A stop rule that consults a verifier is worth more than a smarter model here; the general case is Building a harness' section 10. And a guard needs a cheap first stage: Codex's repeated justification call (section 1) is exactly what opencode's three-in-a-row rule or Gemini CLI's five-in-a-row rule would have caught.
run_turn samples the model, runs any tool calls, sends their output back and repeats; a reply with no tool call ends the turn, unless a Stop hook objects and injects a continuation (turn.rs 150 to 170). There is no step or turn limit; when the window fills mid-task it compacts and keeps going (lines 601 to 650). Every request allows parallel tool calls; a read-write lock lets tools that declare themselves parallel-safe run together (parallel.rs).GeminiClient runs one streamed model turn (compress if needed, check for loops, pick a model, stream), and the caller runs the tools and sends results back; in headless mode that caller is a while (true) in nonInteractiveCli.ts. Session turns are unlimited by default (maxSessionTurns -1). Tools run in parallel by default; every tool schema gets an injected wait_for_previous argument the model sets to serialise a call, and file edits always run one at a time (scheduler.ts).runLoop reloads the session's messages from its database on every pass, makes one streamed model call, runs the tool calls, and stops when the last reply has no tool call (prompt.ts). No step limit unless an agent sets steps. Malformed calls are repaired: wrong-case tool names are fixed; unknown ones go to a hidden invalid tool that returns an error instead of crashing the turn.Coder.run() takes one user message; run_one() sends it, applies the edits in the reply, commits, runs the linter and (if asked) the tests, and if anything failed sends a "reflected" message with the errors. The model never calls a tool, and shell commands it suggests in a ```bash block need an explicit yes: --yes-always answers no to them (io.py).Conversation owns a list of typed events (messages, actions, observations, condensations), and LocalConversation._run() repeats: check status, check the stuck detector, call agent.step(), check confirmation, budget and the iteration cap (local_conversation.py). Because state is an event log, a conversation can be persisted, resumed and replayed.DefaultAgent.run() renders two messages (system, task), then repeats step() = execute_actions(query()) until a message with role exit appears (default.py 88 to 128). The whole agent class is 190 lines at v2.4.6 (the README still says "some 100 lines"). Limits: steps unlimited by default, cost limit $3, three consecutive format errors (lines 26 to 33). Control flow is by exceptions: a format error, a limit or a submission each raises, and its message is appended to the history.One square per model call, in order MEASURED, classified from the recordings by src/derive_ends.py: acted and got a real result; acted and got an error or a refusal; acted with a sed that exited 0 and printed nothing (a silent no-op); replied with prose or nothing; a side call (session title, commit message, history summary); a subagent's call. The end reason is on the right. Codex: four refused calls, then prose hit the 2,048-token cap. Gemini CLI: an empty reply ends the loop. opencode: prose describing the fix, no edit call. OpenHands: our 30-iteration cap. mini-SWE-agent (tool calls): three replies in a row with no tool call. Click a row to open the run call by call.
An edit names text to find and text to put in its place. Models copy the "find" text imperfectly (indentation, trailing spaces, typographic quotes), so each harness tries a matcher ladder, ever looser ways to find it, and differs in what it does when every rung fails. That second choice decided two of our runs.
apply_patch: exact, then ignoring trailing spaces, then trimmed, then with typographic dashes and quotes mapped to ASCII (seek_sequence.rs). The first match wins, and a hunk is searched for only after its @@ line.replace: exact; "flexible" (each line compared with its whitespace trimmed, the replacement re-indented); a regular expression with \s* between tokens; then a fuzzy sliding window accepting a weighted Levenshtein distance of up to 10% of the search length (edit.ts). The second-model "edit correction" older write-ups describe exists but is off by default (disableLLMCorrection: true, config.ts).edit: nine matchers: exact, line-trimmed, block-anchor (first and last line fixed, the middle scored by Levenshtein similarity, threshold 0.65), whitespace-normalised, indentation-flexible, escape-normalised, trimmed-boundary, context-aware and multi-occurrence (edit.ts); a comment credits Cline and Gemini CLI for the ideas. After each edit, language-server diagnostics for the file are appended to the tool result, so the model sees a type error in the same turn.... elision); the edit-distance matcher many describe sits after an unconditional return and never runs (editblock_coder.py 157 to 187). A block that fails comes back with a "Did you mean" snippet of the closest lines.file_editor str_replace: old_str must match once; the only retry strips surrounding whitespace (editor.py). The tool also does view, create, insert and undo_edit. Recorded: five refusals in one run, each "No replacement was performed".sed and heredocs, as the prompt teaches. A pattern that matches nothing exits 0 and prints nothing. Recorded: six sed commands that changed nothing.What the recordings show MEASURED. OpenHands' model found both bugs, then sent str_replace five times with an old_str indented one level too deep and missing two of the docstring's three closing quotes; each came back "No replacement was performed, old_str ... did not appear verbatim", a clear error the model could not act on, until our 30-iteration cap. mini-SWE-agent's model ran sed -i 's/return sorted(counts.items(), key=lambda kv: -kv[1])[:n]/.../' six times: in sed's pattern language [1] and [:n] are character classes, not literal brackets, so nothing matched, sed exited 0, and the model never learned why. A loud refusal at least tells the model something; a silent no-op tells it nothing. This is the agent-computer-interface argument (tools designed for a model as the user: Building a harness' section 5): a bash-only harness relies on the model knowing sed; strong models do, a 4B model did not.
Forgiving has a cost too: on a 4B model's unified diffs, Aider's udiff applier applied 8 of 10 where git apply refused almost all, but 6 of those 8 failed the check (Building a harness, its "Edit format bench" tab, which also ran Codex's matcher and saw a model put the line it was changing on the @@ line, so the line to remove could never be found).
*** Begin Patch *** Update File: textstats/core.py @@ def tokenize(text): - return re.findall(r"[a-z]+", text.lower()) + return re.findall(r"[a-z]+(?:'[a-z]+)?", text.lower()) *** End Patch
Codex's patch format, written by hand to its grammar (not from a run). apply_patch is not a JSON function: it is a freeform tool whose input is constrained by a 19-line Lark grammar, so the model writes raw patch text that the server forces to parse (apply_patch.lark). The @@ line names a context anchor, not line numbers, so a patch survives small shifts in the file.
textstats/core.py
```python
<<<<<<< SEARCH
def tokenize(text):
"""Split text into lowercase words. Apostrophes inside words are kept."""
return re.findall(r"[a-z]+", text.lower())
=======
def tokenize(text):
"""Split text into lowercase words. Apostrophes inside words are kept."""
# Use a regex that matches sequences of lowercase letters, including those with apostrophes
# This will match "don't" as one word, not split it
return re.findall(r"[a-z']+", text.lower())
>>>>>>> REPLACE
```
The local model's second fix, verbatim from our recording (Aider, --edit-format diff) MEASURED. The pattern [a-z']+ passes the test but would also keep a leading or trailing apostrophe ("'quoted'"); the tests do not check that.
Aider picks the format per model: diff (SEARCH/REPLACE), whole (reprint the file), udiff, diff-fenced, a V4A patch format like Codex's, and editor-* variants for architect mode (edit formats); an unknown model, such as a local one, defaults to whole (models.py). With whole our model reprinted core.py with both fixes at once (3 calls, 42 s); its first request was 879 prompt tokens against 2,655 for diff, because the SEARCH/REPLACE instructions and worked examples are long (5,407 characters of system prompt against 1,191). With diff (7 calls, 138 s) it fixed top_words, Aider committed and ran the tests, sent back the one remaining failure, and the model fixed tokenize; two calls wrote commit messages and two identical calls summarised the history.
Two separate questions: what can a command touch (an operating-system sandbox, a container, or your whole machine) and who says yes before it runs (nobody, a human, a policy that denies). The six sit at every corner, and the corner moves when nobody is there to approve, in headless runs and CI.
on-request), Gemini CLI (its TOML policy files ask for edits and the shell), Aider (any shell command the model suggests needs an explicit yes) and mini-SWE-agent (before each command). No plate: opencode (allow by default) and OpenHands (NeverConfirm).workspace-write. Faint walls are opt-in: Gemini CLI's -s, OpenHands' DockerWorkspace, mini-SWE-agent's Docker environment. Aider's net is git underneath: edits are reversible, commands are not. opencode has no OS sandbox.codex exec forces the approval policy to never, but the sandbox stays on; Gemini CLI's gemini -p denies anything that would need approval; Aider's --yes-always answers no to the shell commands the model suggests; mini-SWE-agent's --yolo stops asking. The orange streams reach your machine with nothing in the way; only Codex's stop at a wall. Read from source at the pinned versions; why both dials are needed, and what an attacker does with each gap, is Agent security.workspace-write for a trusted folder, danger-full-access) and an approval policy (on-request by default, never, or granular) (config_toml.rs). On macOS the sandbox is Seatbelt (sandbox-exec with four .sbpl profiles, deny by default); on Linux, bubblewrap for files plus seccomp for the network, with Landlock kept only as a deprecated fallback (linux-sandbox). In workspace-write the network stays off unless you enable it. codex exec (headless) forces the approval policy to never, so the sandbox is all that stands between the model and your machine (exec).default, auto_edit, plan and yolo, decided by TOML policy files: read-only tools are allowed, edits and the shell ask (write.toml). Headless, the engine's default is deny: gemini -p without --yolo or --approval-mode auto_edit cannot edit or run anything (policy-engine.ts). The sandbox is off by default; -s relaunches the whole CLI inside macOS Seatbelt (profile permissive-open: writes only to the project, temp and cache folders, network open), or Docker, Podman, gVisor or LXC on Linux (sandbox.ts).allow, ask, deny); the last matching rule wins. Defaults allow almost everything: only reading .env files, touching paths outside the project and doom loops ask (agent.ts). Shell commands are parsed with tree-sitter so an "always allow" can be stored as a prefix such as git checkout *. There is no OS sandbox. In opencode run, any question is rejected unless you pass --auto./undo checks out the previous version of the changed files and soft-resets that commit (git docs). That undoes edits; it isolates nothing.NeverConfirm by default; ConfirmRisky asks at HIGH risk and for UNKNOWN. The LLMSecurityAnalyzer does no analysis of its own: it returns the security_risk value the acting model wrote into its own call (llm_analyzer.py, field injected by tool.py), so the agent grades itself; a regex analyser for patterns such as rm -rf exists as a second layer. LocalWorkspace runs commands on your machine; isolation comes from DockerWorkspace, which starts an agent-server container and drives it over HTTP. In our run the model rated reads LOW and pip install pytest MEDIUM, which it ran inside the container when pytest was missing, although the test file runs with plain python3.mini command asks before each command unless you pass --yolo, and runs on your machine; Docker, Podman, Singularity and bubblewrap environments are one setting away. Every action is a fresh subprocess (local.py), so cd and export do not persist between steps; in exchange sandboxing is "literally just switch out subprocess.run with docker exec", and runs are trivial to parallelise.What it buys. A sandbox on by default (Codex) means the prompt does not have to be trusted and headless mode stays safe; a deny-by-default headless policy (Gemini CLI) is safe but surprises people ("why did nothing get edited?"); allow-by-default with no sandbox (opencode) is fastest and trusts the model with your machine; git (Aider) makes edits reversible but not commands; a self-graded risk field (OpenHands) is not a reviewer. Codex no longer keeps a hard-coded list of safe commands: Starlark execpolicy rules decide allow, prompt or forbid, and the built-in "dangerous" check only knows forced rm (is_dangerous_command.rs).
opencode and OpenHands ran inside throwaway Docker containers we started (opencode has no sandbox; the OpenHands SDK used its local workspace inside the container), mini-SWE-agent with its Docker environment, Codex with its own Seatbelt workspace-write, Gemini CLI with its own Seatbelt (-s), and Aider with no sandbox (it runs no model-suggested command under --yes-always; only our test command).
In a folder it does not trust, Gemini CLI printed "Approval mode overridden to "default" because the current folder is not trusted", which in headless mode means every edit is denied, --yolo or not. And setting GOOGLE_GEMINI_BASE_URL makes the CLI pick its "gateway" sign-in type, which its own validator then rejects ("Invalid auth method selected"; auth.ts); choosing the API-key sign-in in the settings keeps the custom base URL.
Since 0.157.0 an interactive codex session starts codex app-server --managed-daemon by default (the release note: "Enabled automatic background-server startup for eligible interactive sessions"). Per a user report (issue #48195, opened 25 September 2026; still open, with no maintainer reply and no change to the default, when read on 26 October, while downstream packagers switch auto-start off themselves), the daemon keeps running after every Codex window is closed, runs from a copy of the roughly 374 MB platform package under ~/.codex/packages/, keeps the environment of the session that started it, and a detached loop checks for updates five minutes after start and then hourly, restarting the backend. codex features disable daemon_auto_start (or daemon_auto_start = false in config.toml) turns it off. The sandbox confines tool calls; it says nothing about what the harness itself leaves running.
Context is paid for before the model has done anything. The first request of each run carries the harness's system prompt and every tool definition, and every later call resends it all with the history appended. The principles (window budgets, caching, what to compact) are Context engineering's; here is what each harness actually sends and keeps.
Prompts and tools are chosen per model family: Codex gives an unknown model a fallback prompt and 12 tools, opencode picks its system prompt and even its edit tool by matching the model id; a provider-agnostic harness has to carry a dialect per family.
Prompts and tools are per model. Codex gives an unknown model the 20,903-byte fallback prompt (model_info.rs) and 12 tools, among them five multi-agent tools and three "goal" tools but no apply_patch: unknown models are expected to call it through the shell. For OpenAI's own models a test pins the default set: exec_command and write_stdin (a shell, long-running processes on a pseudo-terminal), update_plan, request_user_input, apply_patch, view_image, tool_search (which loads MCP and multi-agent tools on demand) and web_search (prompt_caching.rs). opencode chooses its system prompt by matching the model id: anthropic.txt for Claude, gemini.txt, codex.txt, beast.txt for older GPT models, default.txt (8,528 bytes) for anything else (system.ts); ids containing gpt- get a Codex-style apply_patch instead of edit and write (registry.ts). A provider-agnostic harness has to carry a dialect per model family. OpenHands assembles its prompt from Python sections (28,492 bytes of static text, with dynamic repository, skills and date sections).
Tool sets. Gemini CLI: about 17 tools reach the model in a default interactive session (15 in our headless run): read_file, list_directory, glob, grep_search (ripgrep), replace, write_file, run_shell_command, web_fetch, google_web_search, write_todos, invoke_agent (subagents), activate_skill and others (config.ts). Two often-listed tools are not model-visible in this version: read_many_files serves only the @file syntax, and save_memory is gone: the prompt tells the model to edit GEMINI.md with the ordinary file tools. OpenHands' default coding preset gives terminal (a tmux session), file_editor, task_tracker, plus the built-ins finish and think: five tools (default preset); every tool schema gets two injected fields, summary and, for tools that change something, security_risk, so the model must classify the risk of its own action on every call. opencode sent our model 10 tools, mini-SWE-agent one (bash), Aider none.
Project instruction files. Codex reads AGENTS.md, one per directory from the git root down to the working directory (an AGENTS.override.md wins in its directory), 32 KiB in total (agents_md.rs). Gemini CLI reads GEMINI.md from ~/.gemini, then from each trusted root up to the git root; one in a subdirectory loads only when a tool first touches that directory, and files can @import others five levels deep. opencode takes the first of AGENTS.md, CLAUDE.md, CONTEXT.md between the working directory and the project root (and ~/.claude/CLAUDE.md globally), plus nested AGENTS.md files attached when the read tool opens a file below them. OpenHands ignores AGENTS.md or CLAUDE.md unless load_project_skills=True. Aider reads no memory file automatically (conventions are a file you add with --read); mini-SWE-agent reads none.
The first request of each local-model run, in characters as sent on the wire, split into system prompt, tool definitions and user content (task, plus Aider's repository map and files), with the prompt tokens the server counted MEASURED. Gemini CLI: 32,924 characters of system prompt and 15 tools in 17,722 characters (counted afterwards with the model's own chat template, because the gateway's stream carried no usage; the same count reproduces the server's numbers on the opencode run exactly). opencode: 9,602 characters of system prompt and 21,144 characters of tool definitions for 10 tools, the bash description alone 4,628, so 7,247 prompt tokens (Codex's, at 9,210, and Gemini CLI's, at 11,452, were larger). OpenHands: 15,228 characters of system prompt and 17,056 characters of tools (the task_tracker description alone is 5,051), 7,196 tokens. Every tool's description and the full prompt text are in the Same task, every harness tab.
Triggers: Codex at 90% of the window, Gemini CLI at 50% with a second call that critiques the summary, opencode at the usable window, OpenHands past 80 events, Aider when the chat passes a budget; mini-SWE-agent never compacts, so a run that overflows fails.
<state_snapshot>, then a second "probe" call asks the model to critique and improve its own summary (chatCompressionService.ts). Two calls per compression, at half the window: Google trades tokens for a better summary. Shell output over 40,000 characters is saved to a file and truncated; read_file stops at 2,000 lines.limit.context in the config (the session then fails when the window fills), and the cheap "prune old tool outputs" step is off by default. Tool output is cut at 2,000 lines or 50 KB, with the full text saved to a file.Agent has no condenser. Terminal output over 30,000 characters is cut in the middle and saved to a file.The history at the moment each harness compacts, and what survives: kept verbatim against summarised by a model call. Widths are to scale for Gemini CLI (oldest 70% summarised) and opencode (a recent tail of 25% of the usable window, clamped to 2,000 to 15,000 tokens); the others are drawn schematically, since their split is counted in messages or events, not tokens.
default.py enters the chat, then stepAider 0.86.2's own RepoMap class run on the source of mini-SWE-agent v2.4.6 (59 Python files under src/minisweagent/, prefix dropped) MEASURED: bars are the PageRank values Aider computed; blue files are in the map at this budget, grey ones ranked but cut, green ones in the chat (sent in full, never in the map). Script: src/repomap_lab.py.
A repository does not fit in a prompt. Three answers are in use: search on demand (the model runs grep, glob and read itself: Claude Code, Codex, opencode, mini-SWE-agent), an embedding index (chunks retrieved by similarity: Cursor), and a ranked summary sent up front, Aider's repository map. Aider was built in 2023 for models with small windows and no tool calls, so it could not let the model search; it chooses for it. Files you add are sent in full; everything else is summarised by the map, cut to a token budget (--map-tokens, 1,024 by default when the model's window is unknown, as for a local model).
mul × √(number of uses); mul starts at 1 and is multiplied by 10 if your message mentions the name, by 10 if it is a long (8 or more characters) snake_case, kebab-case or camelCase name, by 0.1 if it starts with an underscore, by 0.1 if more than five files define it, and by 50 if the using file is in the chat (repomap.py lines 487 to 514).The stepper beside this runs it on a real repository; predict which files climb when default.py enters the chat, then watch.
utils/serialize.py (rank 0.130), whose recursive_merge is called from many files, tops the list.agents/default.py enters the chat. Adding it gives it the restart weight and multiplies its outgoing edges by 50, so the files it uses (agents/interactive.py, exceptions.py) climb. Its restart weight is 100/59 = 1.69; it is now sent in full and left out of the map (green).environments/docker.py twice over (its stem matches "docker", and so does a path component) and also models/utils/retry.py, only because the ordinary word "retry" equals that file's name: restart weight 3.39 each, and both jump into the top three. Name matching cannot tell a word from an intent.What it buys. The map costs no model calls (a parser and a graph library, then input tokens on each request), where agentic search pays a model call per grep; it is recomputed when files change (--map-refresh) but ranks only what the parser sees (strings, configs and dynamic dispatch carry no tags). Every tool-calling harness here lets the model search instead; Aider's idea survives as a cheap first message, a few hundred tokens of "what is where" before the first grep.
No published figure to reproduce; by construction these are Aider's own numbers. The budgets were passed straight to get_ranked_tags_map; in a real session with no files in the chat Aider first multiplies the budget by --map-multiplier-no-files (default 2). Token counts use the tokenizer Aider attaches to gpt-4o; a different model's tokenizer gives slightly different counts.
Predict: which file rises if your message names get_model_class? The identifier gets the x10 mention multiplier on every edge into models/__init__.py, and no file name matches it.
Four of the six can be extended with MCP servers, hooks, skills and sub-agents; Aider and mini-SWE-agent deliberately cannot. The difference that matters most for building on one is the last column: whether the harness is a library or service you can drive, or a terminal program.
| Harness | MCP | Hooks | Skills, plugins | Sub-agents | Drive it from code |
|---|---|---|---|---|---|
| Codex CLI | as a client | 12 events (PreToolUse, PermissionRequest, PreCompact, Stop, ...) | skills, plugins | up to 6 threads | Python and TypeScript SDKs over JSON lines; codex mcp-server was removed in rust-v0.154.0 (release notes) |
| Gemini CLI | yes | 11 events (BeforeTool, AfterTool, BeforeModel, AfterModel, PreCompress, ...) | skills; extensions: a folder with a gemini-extension.json bundling MCP servers, context files, commands, hooks and skills, installed from a GitHub URL | invoke_agent; local, or remote over A2A | headless gemini -p |
| opencode | yes | JavaScript plugins: tool.execute.before, permission.ask, experimental.session.compacting | skills (it also reads .claude/skills) | task tool, built-in general and explore; custom agents | an HTTP server: everything runs behind it |
| Aider | none | none | none | none; architect mode (a planner model, an editor model) | a Python scripting API; watch mode (AI comments in your editor's files) |
| OpenHands SDK | yes | Claude Code's event names (PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, SessionEnd, Stop) | skills in the SKILL.md format, plugins | yes | a Python SDK and an agent server with a REST and WebSocket API |
| mini-SWE-agent | none | none | none | none | a 190-line Python class; one bash tool |
The harness as a server. opencode runs everything behind an HTTP API: opencode serve starts a headless server, the terminal UI starts the same server in a worker thread and talks to it, and even opencode run boots a local server first (serve.ts). At this version the UI is TypeScript on OpenTUI and SolidJS, and the repository has no Go (older write-ups describe a Go/Bubble Tea UI). The split is what lets one session be driven from the terminal, a desktop app, an editor or a script. OpenHands gets the same from its event log: a conversation is typed events, so it can be persisted, replayed, condensed and served.
What a sub-agent buys, recorded. Our opencode run delegated twice to the explore subagent, which ran in its own 5-tool context (3,091 tokens on its first call) and found the bug in top_words; the main agent then answered in prose ("update the sorting key to include alphabetical ordering for ties") without calling edit, and the loop ended (section 2). Delegation kept the main context small; it did not make the model act. When to delegate at all is Context engineering's subject.
The same loop also runs on someone else's machine, and that moves what you can check: an edit as it lands (terminal), a pull request afterwards (cloud agent), or only the permission policy (hosted loop).
Codex cloud gives each task its own workspace (a container with your repository checked out, a setup script, a default "universal" image, agent internet access off by default) and keeps running while your computer sleeps; codex cloud exec --attempts 1-4 runs best-of-N and codex apply brings a result home (Codex cloud, CLI reference, environments). The pattern: interactive work in the terminal, a fleet of parallel attempts for small, well-specified fixes. Jules (Google) clones a GitHub repository into a cloud VM, writes a plan for you to approve, makes the change and opens a pull request (jules.google). With a hosted loop the parts of the harness that most change behaviour (context policy, compaction, the loop itself) leave your process; Anthropic's ant beta:sessions connect attaches a terminal to a running Managed Agents session to watch it and approve or deny tool calls. Hosted runtimes are compared on Topic: agentic-frameworks (tab Production stack); launch dates and partners are in the dated table below.
| Harness, model | Outcome | What decided it |
|---|---|---|
| Aider diff and whole, local 4B; Aider diff, Haiku | both bugs fixed | The harness chose the files and ran the tests; the model wrote edits once and got only the remaining failure back. |
| Gemini CLI, local 4B | one of two | Its first reply made four tool calls at once (a topic note, a directory listing and two file reads); it fixed top_words with replace, ran the tests, saw one failure left, then sent an empty reply, which ends the loop (6 calls, inside Seatbelt). |
| Codex CLI, local 4B | none | An optional schema field (justification) filled wrongly, repeated four times, then prose until the 2,048-token output cap: 5 calls, 47,636 input tokens. Codex's own usage report and our proxy's sum agree to the token. |
| opencode, local 4B | none | Found the bug through a subagent, then described the fix in prose instead of calling edit: 13 calls, one of them a separate call that generated the session title. |
| OpenHands, local 4B | none | str_replace refused five edits whose search text had the wrong indentation; stopped at our 30-iteration cap (lowered from 500). |
| mini-SWE-agent, local 4B, both modes | none | A sed pattern that silently matched nothing (tool calls: 23 calls, 86,231 input tokens). In text mode it escaped [1] but not [:n], then "verified" with its own check, top_words('a a b b c c', 2), which prints [('a', 2), ('b', 2)] even with the bug because Counter keeps first-seen order, and submitted (6 calls). |
| mini-SWE-agent text mode, Haiku | none | No server-side stop at the action: invented output (section 1). |
Why the simplest protocol won here. An agent loop hands a weak model many decisions (which tool, which arguments, when to stop), and each is a chance to slip. Aider takes most of them away: its repository map and file-mention rule pick what the model reads, the model answers once with edits, and the harness, not the model, runs the tests and returns only the failure. With a strong model the balance changes: mini-SWE-agent's bash-only loop is the fixed harness of SWE-bench's "Bash Only" view, runs "in the mini-SWE-agent environment, so scores compare models rather than harnesses" (swebench.com), and its README reports scores above 74% on SWE-bench Verified; how far a harness moves strong models' scores is on Coding benchmarks and the parent's section 7.
One run per setting, one task: enough to see mechanisms, not to rank products; fix the model and effort, repeat runs and report cost beside the score before comparing harnesses. At scale the ranking itself depends on the model: four harnesses (OpenCode, Codex CLI, Pi CLI, DeepAgents) with four models on six benchmarks, 52,168 trajectories, changed order across models and benchmarks, with OpenCode first on average across models; task success and finishing with a valid, gradable result could favour different pairings (When Agents Fail: Model or Harness (arXiv 2610.32483)). Sampling at the server default (temperature 0) except Gemini CLI, which sends temperature 1 and top_p 0.95 itself; the local server was shared with other jobs, so seconds are not compared. Em-dashes in model output were replaced with commas in the stored recordings, and paths were rewritten to /work.
Prompt tokens summed over every model call of each recorded run, coloured by outcome (both tests pass, one, none) MEASURED. OpenHands' 30 calls used 322,241 input tokens, about 95 times Aider's whole-file run (3,384) derived, because the whole event history is resent each step: input tokens grow with the square of the run length. The local server's prompt cache made the repeated prefix fast to process; it did not make it smaller, and paid APIs price cached reads lower, which is why the order of the prompt matters (Context engineering). Click a bar to open the run.
Everything here goes stale in weeks; the mechanisms above were read at these versions. Checked 6 October 2026, later entries as dated.
| Harness, licence | Read here | Since then (to 17 October 2026; Codex and Gemini CLI to 26 October) |
|---|---|---|
| Codex CLI, Apache-2.0 | rust-v0.160.1, 5 Oct 2026 | 0.162.0 to 0.164.0 (23 Oct: ten /presets slots, enterprise MCP auth through Codex account grants, credential masking in remote Bash); Responses API only |
| Gemini CLI, Apache-2.0 | v0.62.0, 29 Sep 2026 | 0.64.0, 0.65.0 (20 Oct, fixes only; the 0.66.0 preview says it is "not being optimized for Gemini 4"); free and consumer users moved to Antigravity CLI on 18 June 2026 |
| opencode, MIT | v1.18.34, 30 Sep 2026 | 1.19.x and OpenCode 2; Console breach disclosed 17 October |
| Aider, Apache-2.0 | main 5dc9490 (= 0.86.2) | slowed: last commit 22 May 2026 |
| OpenHands, MIT | SDK v1.53.0, 5 Oct 2026 | flagship repository is now "Agent Canvas" |
| mini-SWE-agent, MIT | v2.4.6 | SWE-agent itself in maintenance-only mode |
| Harness, licence | Read here | Since, and other dated facts |
|---|---|---|
| Codex CLI, Apache-2.0 | tag rust-v0.160.1, 5 October 2026 | Launched April 2025 in TypeScript; going native announced 30 May 2025, now the Rust workspace codex-rs (discussion #1174). It speaks only the Responses API: wire_api = "chat" is now a config error (model-provider-info). 127,966 GitHub stars on 6 October 2026 (GitHub API). Docs moved from developers.openai.com to learn.chatgpt.com/codex; "Codex" is also a cloud service and part of the ChatGPT desktop app. 0.162.0 (8 October): managed Git worktrees, task pinning; 0.163.0 (15 October): mid-turn steering, parallel runs of independent read-only tools (changelog). |
| Gemini CLI, Apache-2.0 | v0.62.0, stable of 29 September 2026 | Announced 25 June 2025 (Google blog). 0.64.0 (13 October) makes file writes and state saves atomic (releases). Since 18 June 2026 it no longer serves the free Code Assist tier or Google AI Pro and Ultra subscribers, who were moved to the new Antigravity CLI; it remains for paid Gemini API keys, Code Assist Standard and Enterprise, and Vertex AI (Google Developers Blog, 19 May 2026). The README and quota page still describe the old free tier below a banner announcing the change. |
| opencode, MIT | v1.18.34, 30 September 2026 | Repository moved from sst/opencode to anomalyco/opencode; 211,898 GitHub stars on 6 October 2026; the site claims "over 16M developers every month" (vendor figure) (GitHub API, opencode.ai). Since 1.19.0 (11 October) opencode upgrade --major moves an install to OpenCode 2 and updates are no longer automatic; 1.x was at 1.19.3 on 16 October (releases). 17 October 2026: Anomaly disclosed a breach of the OpenCode Console, a legacy hosted system being decommissioned; 1.4% of Console users were affected, all with external provider API keys linked, and were told to revoke and rotate their OpenAI, Anthropic and Google keys (OpenCode on X): a key stored with a hosted service is as safe as that service. Subscriptions: Anthropic's terms let subscription (OAuth) credentials be used only by Claude Code and Anthropic's own apps (legal and compliance); opencode removed its Claude Pro/Max login plugin in v1.3.0 (22 March 2026; release) after a January 2026 issue reported the login broken (issue #7410); Claude works with an API key; ChatGPT Plus and Pro, GitHub Copilot and GitLab Duo logins work (providers doc). |
| Aider, Apache-2.0 | main at 5dc9490 (its code for the parts cited matches 0.86.2, which we ran) | First released May 2023. Latest GitHub release v0.86.0 (9 August 2025), but tags v0.86.1 and v0.86.2 exist, PyPI's latest is 0.86.2 (12 February 2026), and the last commit to main is from 22 May 2026 (PyPI, tags): slowed, not stopped. |
| OpenHands, MIT | Software Agent SDK v1.53.0, 5 October 2026 | Formerly OpenDevin (arXiv 2407.16741). In 2026 it split: the flagship repository now headlines "Agent Canvas", a self-hosted control centre that can run OpenHands, Claude Code, Codex or Gemini CLI, while the agent lives in the Software Agent SDK, the part you would build on. |
| mini-SWE-agent, MIT | v2.4.6 | The SWE-agent paper (2024) argued that an agent's tools are an interface to design, an agent-computer interface (ACI; paper), and framed guard rails as a trade-off: whether one helps "depends on how well it reduces common model errors compared to whether such restrictions hamper models' preferred workflows". A year later the same team released mini-SWE-agent: "as LMs have become more capable, a lot of this is not needed at all" (README). SWE-agent is now in maintenance-only mode and recommends mini-SWE-agent. Version 2 made native tool calling the default; the version 1 style is the opt-in textbased model class. |
| Cloud and hosted | checked October 2026 | Codex cloud tasks start from ChatGPT on the web, mobile or desktop, the CLI (codex cloud, experimental), @codex on GitHub and GitLab (beta) issues, Linear and Slack; its environment page is now titled "Codex Cloud (Legacy)". Jules out of beta 6 August 2025, a command-line tool 2 October 2025, an API 3 October 2025 (changelog), a Gemini CLI extension hands tasks to it (extension); latest changelog entry 9 March 2026. Antigravity (Google) launched 18 November 2025 in public preview with Gemini 3: an editor view, an Agent Manager for several agents across editor, terminal and browser, and Artifacts (task lists, plans, screenshots, recordings) that move verification from the token stream to a document you can comment on (launch post); Antigravity 2.0 (19 May 2026) is a separate agent-first desktop app with "no IDE" (2.0 post). OpenAI's Agents API, public beta 10 September 2026: OpenAI runs the loop, with sandboxes it hosts, on your infrastructure, or at partners (Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, Vercel) (OpenAI). The same day Anthropic added an auto permission policy to Claude Managed Agents (public beta since 8 April 2026) and ant beta:sessions connect (release notes). Meta Muse Code: "Meta's coding agent for the terminal and CI, built for Muse Spark", with "approvals and an OS sandbox on from the first run" and a headless muse exec; public preview; launch date not confirmed from a dated Meta source (docs). |
aaif-goose/goose in spring 2026. Every capability, including the developer tools (shell, write, edit), is an MCP extension. Recipes are shareable YAML task packages that a scheduler can run on cron (docs). Its default permission mode is fully autonomous; an optional "Adversary Mode" has a second agent watch tool calls (security).plan share); native subagents since v3.58.0 (12 February 2026) and a CLI that runs interactive or "fully headless" (release). The site claims "11M+ developers" (vendor figure; the old note said 5M installs).The task: the parent topic's running example, a two-file Python package textstats with two planted bugs (a regular expression that splits "don't" into two words, and a sort that ignores alphabetical order on ties), and the prompt "The tests in this repository fail. Find out why and fix the code so they pass. Do not edit the tests." Every model request went through a small logging proxy, so all runs are shown the same way in the Same task, every harness tab. Codex cannot talk to a chat-completions server, so the local model sat behind a LiteLLM gateway that translates the Responses API into chat completions (Gateways and routing covers gateways); Gemini CLI speaks only the Gemini API, and the same gateway serves Gemini-style generateContent routes.
Gemini CLI's HTTP client waits only 60 seconds for response headers (fetch.ts) and retries a failed request up to 10 times (retry.ts): against a slow shared local server, each retry piled another 11,000-token prompt onto the server, and on our first attempt the overlap crashed it. We serialised every request in our proxy and ran it again; the run on the page is the rerun. A free local model crashes a mini-SWE-agent run unless cost tracking is set to ignore_errors, because a computed cost of zero counts as an error. Claude runs used claude -p with every Claude Code tool switched off, behind an adapter; Claude costs in the runs tab are API-price equivalents. The full list of checked claims is in this page's source (src/coverage.json).
This page replaces "Open-source harnesses" and absorbs "OpenAI and Google harnesses". Each claim was checked against a primary source on 6 October 2026; these did not survive as written.
| Old note said | Checked |
|---|---|
| opencode: 165k+ stars, about 5M monthly developers | 211,898 stars; the site now claims over 16M (vendor figure) |
| opencode's TUI is Go and Bubble Tea | TypeScript on OpenTUI and SolidJS at v1.18.34; no Go in the repository |
| Anthropic blocked third-party OAuth in January 2026; OpenAI sponsors opencode | No dated Anthropic announcement found; its terms forbid it, and opencode removed the plugin in v1.3.0 (22 March 2026). No source for sponsorship: dropped |
| OpenAI cut Cursor off "invoking a trust clause", ten weeks' notice | A change-of-control wind-down of a custom contract, announced 28 August 2026, proposed shutoff 12 November (about eleven weeks) |
Aider: nothing tagged since August 2025; undo is git revert | v0.86.1 and v0.86.2 tagged, 0.86.2 on PyPI 12 February 2026; /undo checks out the previous file versions and soft-resets the commit |
| goose joined the Agentic AI Foundation in April 2026 | Founding project on 9 December 2025; the repository moved in spring 2026 |
| Cline 5M+ installs; Roo Code community-maintained since May 2026; Kilo is a Cline and Roo superset | 11M+ claimed; Roo Code shut down 15 May 2026, archived; Kilo's current core is opencode-derived, and Anaconda is acquiring it |
| SWE-agent: add guard rails only when their false-positive rate is about zero | Not in the paper or the ACI docs; the paper frames guard rails as a trade-off against the model's preferred workflow |
| mini-SWE-agent: about 100 lines, about 65% on SWE-bench Verified | 190 lines in v2.4.6; its README reports above 74% |
| AWS released Pizza Bot | Developed at Amazon, published under its own organisation; v1.0.0 on 8 September 2026 |
| Codex: about 114k stars; Landlock and seccomp on Linux; approval modes suggest, auto, full-access; MCP server mode | 127,966 stars; bubblewrap and seccomp (Landlock is a deprecated fallback); sandbox modes and approval policies are separate settings; codex mcp-server removed in rust-v0.154.0 |
| A Codex desktop app on 11 September with max and ultra effort, ExternalMessage, resume and fork, per-turn service tiers | Those are the Python SDK's release python-v0.154.0 (10 September); Codex lives in the ChatGPT desktop app, and 11 September was a ChatGPT desktop update |
| Deep Research inside Codex (9 September); a "persistent Codex" | Not confirmed from a primary source here: dropped |
| Agents API integrations: Blaxel, Cloudflare, E2B, Modal | Nine partners: also Daytona, DigitalOcean, Oracle, Runloop, Vercel |
| Antigravity is a VS Code fork; 2.0 is the IDE's next version | The launch post does not say "fork"; 2.0 is a separate desktop app with no IDE |
| Google Home MCP from 16 September; Muse Code launched 2 September | Both products confirmed; neither date confirmed |
Gemini CLI: save_memory and read_many_files tools, an LLM that corrects failed edits | Neither tool is model-visible in v0.62.0; edit correction exists but is off by default |
Confirmed as written: Gemini CLI's free tier moved to Antigravity CLI in June 2026; Claude Code reads AGENTS.md from 2.1.277 (only when there is no CLAUDE.md); Jules dates; OpenHands was OpenDevin (arXiv 2407.16741). The old note's ARC Prize "Provider Adapter" score is not repeated: the parent topic records a disagreement between sources.
cd and export must be repeated in each command.sandbox-exec, deny by default, write only to the workspace, network off (Codex, Gemini CLI -s). Linux: bubblewrap for the file system plus seccomp for the network (Codex), or a container. Keep it on in headless mode, where nobody approves.str_replace tool, or a patch grammar?str_replace tool is simple and exact but fails on whitespace drift unless the harness adds matchers (opencode has nine, Gemini CLI four). A patch grammar (Codex) is compact for multi-file changes and can be enforced at decoding time, but the model must be trained on it.justification rule in section 2).Sources are linked where each fact is used; source code is linked at the pinned commit of each repository (the Versions table).
Every model request of every run went through a logging proxy, so all runs are shown the same way: what the harness sent (system prompt, tool schemas, the conversation) and what the model answered (text, tool calls, token counts). For the Claude runs the "model" is claude -p with every Claude Code tool switched off, and the log is our adapter's. The task and how the runs were made are in the Reading tab's Depth section. One task, mostly one run per setting, a small local model shared with other jobs: a demonstration of what each harness does when the model goes wrong, not a benchmark.
| Harness | Model | Setting | Calls | Input tok | Output tok | Tests after |
|---|
Click a row. "Input tok" sums the prompt tokens of every call, counted by the server; the same prefix resent on every call is counted each time. "Tests after" is our own run of the test file once the harness stopped.
The composition is drawn in the Reading tab (section 5). Pick a run to read its first request: every tool with its description and schema size, the system prompt as sent and the user content.
Every link checked on 6 October 2026. Times are estimates for a careful read.
Every recorded run, call by call, and what each harness sends before the model does anything. About 25 min.
The loop from zero (Loop lab tab), Claude Code's recorded runs (Trace and context lab tab), and 23 harnesses on nine axes (Harness atlas tab). Reading 21 min, plus 3 in closed details.
The reference harness every section here compares against; its permission grid (Reading section 3) and Recordings tab. Reading 37 min, plus 24 in closed details.
Tool-calling protocols at the API level, stop conditions, and Codex's apply_patch and Aider's appliers measured in its Edit format bench tab. Reading 35 min, plus 19 in closed details.
Window budgets, caching and compaction designs; its section 4 records Claude Code's. Reading 40 min, plus 26 in closed details.
Permission gates, OS sandboxes, prompt injection, egress: the threat model behind the sandbox rows here. Reading 35 min, plus 9 in closed details.
Resident agents with standing access; OpenClaw can host Codex, Gemini CLI and opencode as runtimes. Reading 32 min, plus 29 in closed details.
Scaffold sensitivity, RL environments, trajectories as data (OpenHands trajectories among them), and training inside a real harness such as Codex or OpenCode. Reading 32 min, plus 24 in closed details.
Libraries for building agents, gateways, tracing, hosted runtimes. About 28 min.
LiteLLM in depth, the gateway this page used to reach Codex and Gemini CLI. Child page.
SWE-bench and why "% resolved" needs a harness column. About 34 min.
Grading what the agent did, not only its final answer. About 30 min.
Namespaces, seccomp and sandboxes at the operating-system level. About 51 min.
The tool protocol every harness here speaks except Aider and mini-SWE-agent. About 37 min.
The loop, then apply-patch/ and sandboxing/src/*.sbpl. About 45 min.
The headless loop, then loopDetectionService.ts and chatCompressionService.ts. About 40 min.
The loop, then tool/edit.ts's nine matchers. About 40 min.
The ranking (section 5 runs it), then coders/editblock_coder.py. About 30 min.
The run loop, then the condenser. About 40 min.
The whole agent in 190 lines; read it first. About 15 min.
The agent-computer interface argument, with ablations of each tool. 45 min.
The platform design (formerly OpenDevin): event stream, sandboxed runtime, agent hub. 40 min.
The original write-up of the ranked map. 10 min.
Every text edit format and which models use it. 10 min.
Sandbox modes and approval policies from the vendor. 15 min.
Seatbelt profiles, Docker, gVisor and LXC options. 10 min.
The allow, ask and deny rule language. 10 min.
Configs, environments and the FAQ on why it has no tools. 20 min.