What a Coding Agent Runtime Has to Provide

Key Takeaways
- •A complete coding agent runtime requires five layers: task planning loop, ephemeral sandbox, file system diffing, tool registry, and test verifier.
- •Stateless API calls fail on complex codebases; agents require persistent workspace state with rollback capabilities.
- •Independent verification loops (running tests and linters) separate production coding agents from basic chat completions.
OpenHands released version 1.38.0 on 10 November 2026, with work around automation-aware installation, plugin configuration and agent interaction. It is a useful public example to reason from, because an open agent platform exposes the components that a hosted product hides.
The point of examining it is not to review a release. It is to answer a question that determines whether an agent works: what has to exist around a model before it can change a codebase without breaking it.
The model is one component
Five components, and swapping any one changes the outcome.
The model generates text, including the text that represents a decision to call a tool. It is necessary and it is the part everyone measures.
The harness is the loop that runs the model, parses its output, executes the resulting tool call, returns the observation and asks the model what to do next. It decides how errors are presented, how many attempts are allowed and when the task is finished.
The tools are the operations available. Read a file, write a file, run a command, search the repository. Which tools exist determines what the agent can do, and which arguments they accept determines how precisely it can do it.
The workspace is the repository and its state. Where it came from, what branch it is on, whether uncommitted changes exist.
The environment is the machine. Language runtimes, package managers, network access, resource limits and the credentials mounted into it.
A failure in any of the five looks like the agent being bad at its job, which is why diagnosing agent failures requires knowing which component actually broke.
The loop and why it needs a budget
An agent loop is a cycle: observe, plan, act, observe again. Each iteration consumes tokens and wall-clock time.
Without a budget the loop can run indefinitely. An agent that fails to fix a test may retry variations until the context fills or the cost becomes embarrassing, and both outcomes are worse than a prompt failure.
Budgets operate on three axes. Token budget bounds the context the agent may consume. Iteration budget bounds how many steps it may take. Time budget bounds how long it may run.
A budget is also a diagnosis tool. An agent that exhausts its iteration budget without completing a task has a different problem from one that completes it on the third step, and the number of steps taken is the most informative single statistic about a run.
Observation is where errors are interpreted
When a command fails, the runtime returns its output to the model. The formatting of that output determines what the model can do with it.
A truncated error message hides the cause. An overly verbose one pushes the relevant line out of the window. A message returned without its exit code strips the signal that distinguishes a failing test from a missing tool.
Good runtimes present structured observations: the command, the exit status, the stdout, the stderr and any files changed. That structure is what lets the model form a hypothesis rather than guess.
Sandboxing is a requirement rather than a nicety
An agent that runs code runs arbitrary code, because the code it writes is arbitrary. Executing it on a developer workstation means executing whatever the model produced, including the part where it decided to install a package or modify a configuration file outside the repository.
Three isolation levels appear in practice.
A container with the repository mounted and no network access is the common default. It prevents host damage and blocks exfiltration, and it breaks any task requiring a dependency download.
A virtual machine with network access permits package installation and limits the blast radius to the guest. It is slower to start and it is what a task needing external services requires.
A sandbox at the syscall level with a policy is finer-grained and harder to configure, and it is what shared deployments converge on for multi-tenant work.
The choice interacts with the task. An agent asked to fix a Python project needs to install dependencies, which requires network, which removes the simplest isolation. That trade is unavoidable and it is usually made without being noticed.
Credentials and what should be mounted
An agent needs access to a repository, and it should not need access to everything the developer has.
Mounting a scoped deploy key rather than a personal token limits what a leak exposes. Providing a repository clone with read and write to one branch rather than the whole account limits what a mistaken push can damage. Keeping production credentials out of the environment is the single highest-value control, because an agent reading a prompt injection will use whatever it can reach.
The mounting decision also determines what a failure looks like. An agent that cannot authenticate to a package registry will spend its iteration budget retrying, and the log will show a loop rather than a permission problem.
What a release like this tells you and what it does not
Feature work around installation, plugin configuration and interaction suggests a platform maturing its interfaces, which is what happens when a runtime is used by more people with more varied setups.
It does not establish autonomous production performance. A version number describes software cadence, not capability, and the distance between a working demonstration and a reliable system is the distance this whole category is still crossing.
The measurement that matters is task-level: completion rate on your tasks, quality of the patches that pass, recovery rate when the first attempt fails, and cost per completed task. Those four numbers describe a runtime in a way that a benchmark score cannot.
The practical takeaway
When an agent fails on a real task, the useful question is which of the five components failed.
Was the model unable to reason about the problem, or was the relevant file never in context? Did the tool exist for the operation it needed, or did it work around the absence? Was the environment missing a dependency, or was the network sandboxed when it needed to install one? Did the loop stop early because the model believed it was done, or because a budget exhausted?
Those questions have different answers and different fixes. Treating every failure as a model quality problem leads to swapping models, which is the most expensive component to change and often not the broken one.



