Skip to main content
QUICK REVIEW

[Paper Review] OpenHands: An Open Platform for AI Software Developers as Generalist Agents

Xingyao Wang, Boxuan Li|arXiv (Cornell University)|Jul 23, 2024
Multi-Agent Systems and NegotiationComputer Science7 citations
TL;DR

OpenHands is a community-driven platform that enables AI agents to interact with the world by writing code, executing in a docker sandbox, and browsing the web, evaluated across 15 benchmarks with multi-agent delegation support.

ABSTRACT

Software is one of the most powerful tools that we humans have at our disposal; it allows a skilled programmer to interact with the world in complex and profound ways. At the same time, thanks to improvements in large language models (LLMs), there has also been a rapid development in AI agents that interact with and affect change in their surrounding environments. In this paper, we introduce OpenHands (f.k.a. OpenDevin), a platform for the development of powerful and flexible AI agents that interact with the world in similar ways to those of a human developer: by writing code, interacting with a command line, and browsing the web. We describe how the platform allows for the implementation of new agents, safe interaction with sandboxed environments for code execution, coordination between multiple agents, and incorporation of evaluation benchmarks. Based on our currently incorporated benchmarks, we perform an evaluation of agents over 15 challenging tasks, including software engineering (e.g., SWE-BENCH) and web browsing (e.g., WEBARENA), among others. Released under the permissive MIT license, OpenHands is a community project spanning academia and industry with more than 2.1K contributions from over 188 contributors.

Motivation & Objective

  • Motivate the need for AI agents capable of software development and real-world interaction.
  • Propose a platform architecture for building, evaluating, and safely running generalist and specialist agents.
  • Enable agent collaboration via multi-agent delegation and a shared evaluation framework.
  • Provide an open, community-driven hub of agents and tools to accelerate research and applications.

Proposed method

  • Define an agent abstraction that interacts with an environment via an event stream of actions and observations.
  • Provide a docker-sandboxed runtime with a bash shell, IPython server, and a Playwright-based browser for action execution.
  • Introduce PL-based action primitives (IPythonRunCellAction, CmdRunAction, BrowseInteractiveAction) and an AgentSkills library for reusable tools.
  • Support multi-agent delegation through AgentDelegateAction to compose specialized agents into solving tasks.
  • Offer an evaluation framework with 15 benchmarks spanning software engineering, web browsing, and misc tasks.

Experimental results

Research questions

  • RQ1How can OpenHands define and implement versatile agents that operate like human software engineers?
  • RQ2How do actions translate into observations within the docker sandbox runtime?
  • RQ3How can agents be extended with reusable skills and tools across tasks?
  • RQ4How effective are OpenHands agents across software engineering, web browsing, and miscellaneous assistance benchmarks?

Key findings

  • OpenHands achieves competitive performance across software engineering, web browsing, and miscellaneous benchmarks using generalist and specialist agents.
  • On HumanEvalFix (Python subset), OpenHands CodeActAgent achieves 79.3% bug-fix success, outperforming many non-agentic baselines.
  • Web browsing results show competitive performance for OH BrowsingAgent and delegated configurations; e.g., OH BrowsingAgent v1.0 with gpt-4o-mini-2024-07-18 attains 27.2% success on MiniWoB++ with 0 cost, and 40.8% with gpt-4o-2024-05-13.
  • In miscellaneous benchmarks, OH CodeActAgent v1.8 with Claude-3-5-Sonnet achieves 52.0% on GPQA, and OH CodeActAgent v1.5 achieves 77.3% on MINT code subset with gpt-4o-2024-05-13.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.