[논문 리뷰] OpenHands: An Open Platform for AI Software Developers as Generalist Agents
OpenHands는 커뮤니티 주도 플랫폼으로, AI 에이전트가 코드를 작성하고, 도커 샌드박스에서 실행하며, 웹을 탐색함으로써 세계와 상호 작용하도록 지원하고, 15개의 벤치마크에서 다중 에이전트 위임 지원을 갖고 평가됩니다.
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.
연구 동기 및 목표
- 소프트웨어 개발 및 실제 세계와의 상호 작용이 가능한 AI 에이전트의 필요성을 동기 부여합니다.
- 일반 목적 및 전문 에이전트를 구축, 평가 및 안전하게 실행하기 위한 플랫폼 아키텍처를 제안합니다.
- 다중 에이전트 위임과 공유 평가 프레임워크를 통해 에이전트 협업을 가능하게 합니다.
- 연구와 응용을 가속화하기 위한 개방적이고 커뮤니티 주도형 에이전트와 도구의 허브를 제공합니다.
제안 방법
- 동작과 관찰의 이벤트 스트림을 통해 환경과 상호 작용하는 에이전트 추상화를 정의합니다.
- 액션 실행을 위한 bash 셸, IPython 서버, Playwright 기반 브라우저를 갖춘 도커 샌드박스 런타임을 제공합니다.
- 재사용 가능한 도구를 위한 AgentSkills 라이브러리와 IPythonRunCellAction, CmdRunAction, BrowseInteractiveAction 같은 PL 기반 액션 프리미티브를 도입합니다.
- 전문 에이전트를 작업 해결에 맞춰 구성하기 위한 AgentDelegateAction을 통해 다중 에이전트 위임을 지원합니다.
- 소프트웨어 엔지니어링, 웹 탐색 및 기타 작업에 걸친 15개의 벤치마크를 포함하는 평가 프레임워크를 제공합니다.
실험 결과
연구 질문
- RQ1OpenHands가 인간 소프트웨어 엔지니어처럼 동작하는 다재다능한 에이전트를 어떻게 정의하고 구현할 수 있을까요?
- RQ2도커 샌드박스 런타임에서 행동이 어떻게 관찰로 변환되나요?
- RQ3에이전트를 재사용 가능한 기술과 도구로 확장하여 다양한 작업에 활용하는 방법은 무엇인가요?
- RQ4소프트웨어 엔지니어링, 웹 탐색, 기타 보조 벤치마크에서 OpenHands 에이전트의 효율성은 어떠합니까?
주요 결과
- 일반 목적 에이전트와 전문 에이전트를 사용하여 소프트웨어 엔지니어링, 웹 브라우징, 및 기타 벤치마크에서 경쟁력 있는 성능을 달성합니다.
- HumanEvalFix (Python 부분)에서 OpenHands CodeActAgent가 79.3% 버그 수정 성공률을 달성하며, 비에이전트 기반 벤치마크를 다수 능가합니다.
- 웹 브라우징 결과는 OH BrowsingAgent 및 대리 구성에서 경쟁력 있는 성능을 보여줍니다; 예: OH BrowsingAgent v1.0 with gpt-4o-mini-2024-07-18는 MiniWoB++에서 0 비용으로 27.2% 성공을 달성하고, gpt-4o-2024-05-13로는 40.8%입니다.
- 기타 벤치마크에서 OH CodeActAgent v1.8와 Claude-3-5-Sonnet은 GPQA에서 52.0%를 달성하고, OH CodeActAgent v1.5는 gpt-4o-2024-05-13와 함께 MINT 코드 부분집합에서 77.3%를 달성합니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.