Capabilities
Code Writing & Editing
"Fix the pagination bug in the user listing API"
→ OpenHands reads the code, identifies the off-by-one error, writes the fix, runs testsCommand Execution
"Set up a PostgreSQL database with the schema from schema.sql"
→ OpenHands runs Docker commands, creates the database, applies migrationsWeb Browsing
"Research the Stripe API docs and implement webhook handling"
→ OpenHands browses stripe.com/docs, reads the webhook guide, implements the handlerFull-Stack Development
"Build a REST API for a todo app with CRUD endpoints, validation, and tests"
→ OpenHands scaffolds the project, writes endpoints, adds validation, creates testsArchitecture
Sandboxed Execution
All code runs inside a Docker container:
- Network access controlled
- File system isolated
- Can install packages safely
- Full terminal access
Agent Loop
1. Observe: Read the current state (files, terminal, browser)
2. Think: Plan the next action
3. Act: Execute code, run commands, or browse
4. Verify: Check if the task is complete
5. Repeat until doneSWE-bench Results
| Agent | SWE-bench Verified |
|---|---|
| OpenHands (Claude) | 53% |
| SWE-agent (Claude) | 23% |
| Aider (Claude) | 26% |
| Devin | 14% (original benchmark) |
Web UI
Full-featured interface with:
- Chat panel for task assignment
- Code editor with live preview
- Terminal output
- Browser view (for web tasks)
- File explorer
Key Stats
- 45,000+ GitHub stars
- 53% SWE-bench Verified (highest open-source)
- Sandboxed Docker execution
- Web browsing capability
- Full-featured web UI
FAQ
Q: What is OpenHands? A: OpenHands is an open-source autonomous AI developer that writes code, runs commands, browses the web, and resolves real GitHub issues — achieving 53% on SWE-bench Verified.
Q: Is OpenHands free? A: Yes, fully open-source under MIT license. You need LLM API keys.
Q: Is it safe to let OpenHands run code? A: Yes, all execution happens inside a sandboxed Docker container with controlled network access.