OpenHands
OpenHands is an open-source platform for fully autonomous AI software-development agents, formerly the OpenDevin project, which initially aimed to reproduce Devin-style autonomous programming capability. It positions itself as a complete agent runtime: rather than just providing a chat sidebar, it prepares a virtual computer that the AI can tinker with freely, where it reads code, writes code, runs commands and reads feedback, completing an entire task like a human engineer.
Core principles
The core idea of OpenHands is sandboxed execution. The agent does not operate directly on the user's local environment but runs in an isolated container preloaded with a code editor, terminal, browser and runtime. All actions are expressed through a unified action space: executing shell commands, editing files, browsing the web, running Python code and so on. The result of each action is returned as an observation that drives the next round of reasoning.
This architecture puts executable feedback at the center. The model can actually run tests, read errors, inspect logs, change code and run again, forming a self-correcting loop. Compared with read-only assistants, this makes it clearly stronger on tasks that require environment interaction. Container isolation also provides a security boundary: even if the model executes a dangerous command, the damage is confined to the sandbox.
The platform includes event-stream and state-management mechanisms that record every action and observation in full, supporting session replay, human intervention and recovery from interruption. Users can take over the terminal manually at any moment and then hand it back to the agent to continue, forming a human-machine relay.
Because its environment is a standard container, teams can preinstall project dependencies, test tools and internal scaffolding images, so the agent starts in an environment consistent with CI, reducing typical friction such as "works locally but fails in the pipeline". This environmental consistency is crucial to the credibility of automated fixes.
OpenHands uses SWE-bench as one of its main public benchmarks, a dataset that collects issues from real open-source repositories and asks agents to submit fix patches. The project is widely used in the community to compare the fixing ability of various autonomous programming agents, and it has also driven discussion of patch quality and reproducibility. Benchmark scores change with models and environments, so absolute values should not be compared naively across the board.
Key points
Complete action space: files, terminal, browser and code execution, all four action types are present, which is the fundamental difference from lightweight plugin tools.
Reproducible environment: container images can be pinned, so the same task can be run repeatedly, suiting experiments and evaluation.
Comparison: whereas Cline and Aider attach to a local editor or repository, OpenHands is more like deployable infrastructure, suited to teams building automated fixing pipelines; the price is heavy resource consumption and slow startup, making it uneconomical for small tasks.
Multiple entry points: it supports command line, web interface and containerized deployment, and can also be called as a service by external systems.
Common misconceptions
First, treating it as a free unlimited automatic engineer, when long tasks actually consume enormous amounts of model calls and success rates on complex repositories are limited. Second, ignoring the data boundary configuration between sandbox and host, which may cause credential leaks or operational spillover. Third, judging real capability by a single benchmark score while ignoring differences in task distribution and model versions.
Application scenarios
Fixing defects in open-source repositories, batch dependency upgrades, automated test completion, automatic localization of CI failures, quick hands-on experiments with unfamiliar codebases, and agent capability evaluation and research.