Choose My Stack
Join free
OpenHands logo

OpenHands

Open SourceMITSelf-hostable

The open-source platform for autonomous AI software engineers — agents that plan, write, run and ship code end-to-end. A self-hostable Claude Code and Devin alternative.

Open source alternative toClaude Code logoClaude CodeDevin logoDevin

About OpenHands

OpenHands (formerly OpenDevin) is what you reach for when you want an AI agent that doesn't just suggest code but actually does the work — planning a task, writing the changes, running commands, browsing the web and opening a pull request. It's the leading open-source take on autonomous software engineering.

Because it's self-hostable and runs each agent in a sandboxed environment, you can point it at your own repos and models while keeping control of where your code and credentials live. It's the open alternative to closed agents like Devin and to Claude Code's agentic mode.

It's MIT-licensed with one of the largest communities in the space, backed by an active research effort. For teams that want to experiment with end-to-end agentic development on their own infrastructure, OpenHands is the most capable open option.

Key features

  • Autonomous agentsAgents plan a task, write code, run commands and iterate until the change is complete.
  • Sandboxed executionEach agent runs in an isolated Docker sandbox, so it can act without risking your machine.
  • Bring your own modelConnect Anthropic, OpenAI or local models — you choose which LLM powers the agent.
  • End-to-end workflowFrom reading an issue to opening a pull request, agents handle the full loop.

The honest read

What we like
  • True end-to-end autonomous coding, not just suggestions
  • Self-hostable with sandboxed, isolated execution
  • Bring your own model and repositories
  • MIT licensed with a huge, active community
  • Backed by an active research effort
Worth knowing
  • Autonomous agents still need review and supervision
  • Heavier to set up than a simple editor plugin
  • Costs add up with large agentic runs on premium models
  • Reliability varies with task complexity and model

FAQ

Is OpenHands free to use?

Yes — OpenHands is free and open source under the MIT license. You only pay for the LLM provider you connect, or nothing with a local model.

How is OpenHands different from Devin?

OpenHands is open source and self-hostable, so you run the agents on your own infrastructure with your own models, while Devin is a closed, hosted product.

Can OpenHands open pull requests?

Yes — its agents can read issues, write and run code, and open pull requests, handling the full development loop.

Is it safe to run autonomous agents?

OpenHands runs each agent in a sandboxed Docker environment, and you should still review changes before merging them.

Which models does OpenHands support?

You can connect Anthropic, OpenAI and other providers, or run local models, so you control cost and capability.

Categories
Tags
#claude-code-alternative#devin-alternative#ai-agent#autonomous#software-engineering#self-hosted#open-source
Built with
Python logoPythonTypeScript logoTypeScriptDocker logoDocker

Similar open-source projects