OpenHands: The Free AI Coding Agent That Builds Software for You (2026) — What It Is and How to Use It
There is a free program that does not just suggest code while you type — it takes the whole job. You describe a feature, a bug, or a whole project in plain English, and it reads your codebase, writes the code, runs the tests, fixes its own mistakes, and hands you a finished pull request. It is called OpenHands, it lives in the repository openhands/openhands, and it has about 94,000 stars. Its current release is v1.46.0, published on 25 November 2026, and the core platform is open source under the MIT licence. All numbers here were checked live on 28 November 2026.
OpenHands is not a code completion tool and it is not a chatbot with a code window. It is an agent platform for software development: a control centre from which coding agents work, on your machine or in the cloud, inside sandboxes, on a schedule, or whenever a message lands in Slack or an issue opens on your repository. What started as one agent is now Agent Canvas, a platform that also drives Claude Code, Codex and other agents.
What OpenHands Actually Is
OpenHands is an open-source AI agent platform for software development, made by All Hands AI, now the OpenHands organisation. Give it a task in plain English — "fix this issue", "add user login", "upgrade the dependencies and fix what breaks" — and it spins up a sandboxed environment, reads the code, plans the change, edits the files, runs the commands and the tests, and iterates until the task is done or it runs out of context. You hand off the work and come back to a result you can inspect.
The product has four faces. First, Agent Canvas, the main application: a self-hosted web control centre for coding agents and automations, with a desktop app. Second, a terminal UI and command-line tool for terminal users. Third, a hosted cloud, with no local setup needed. Fourth, a Python software development kit for building your own agents.
What makes Agent Canvas different is that it is a control plane, not just one agent. Out of the box it runs the open-source OpenHands agent, but it can also drive Claude Code, Codex, Gemini CLI, Pi, OpenCode, or any agent that speaks the Agent Client Protocol. It is model-agnostic too: Anthropic, OpenAI, Google, Amazon Bedrock, OpenRouter, any OpenAI-compatible endpoint, or a local model through LM Studio, Ollama, vLLM or SGLang — all with your own key.
The Story: From OpenDevin to 94,000 Stars
OpenHands began in March 2024 as OpenDevin, an open-source project to build an autonomous software engineer. The repository was created on 13 March 2024, and the first release followed the same month. The idea was ambitious for its time: instead of a tool that completes your lines, an agent that takes a whole software task — a GitHub issue, a feature request — and carries it through to a finished change.
In August 2024 the project was renamed OpenHands, and the company behind it, All Hands AI, later became the OpenHands organisation, moving the repository from All-Hands-AI/OpenHands to OpenHands/OpenHands. Growth has been steady: the repository passed 74,700 stars by May 2026 and about 94,000 by late November 2026 — roughly 86 new stars a day. The contributor base is large: 9,252 commits, 8,713 pull requests merged, 169 releases.
The architecture changed with the scale. In November 2025 the project split its software development kit from version 0 to version 1, and the system is now split across repositories: Agent Canvas, the TypeScript front end, lives in the main repository; the Python SDK and the Agent Server live in a separate software-agent-sdk repository; and scheduling and webhooks sit in a separate automation service.
The Licence, Explained Exactly: MIT — and Where the Open Source Ends
OpenHands is genuinely open source under the MIT licence, confirmed by the repository's licence record and every independent tracker checked for this article. MIT is the most permissive common licence: you may use the code for any purpose, including commercial use, copy it, modify it, and distribute your modified version, provided you keep the copyright notice. The core platform and Agent Canvas are free to self-host with your own model key.
The qualification is about teams, not about the code. The paid editions are commercial: Teams costs about 500 dollars a month for up to 10 users, with 50 dollars a month per extra seat, a 30-day trial, and a cap of 5,000 sessions a month, and it adds multi-user identity, role-based access control, single sign-on and budgets. Enterprise is custom pricing. So the honest summary is this: the software is free and open source; running it as a managed, multi-user team platform is the paid part.
Open source here means the platform, not the intelligence. The code that reads your files and runs your commands is yours to inspect. The model that decides what to write runs on someone else's servers and is billed through your own key. You can, however, point the platform at a local open model instead — through Ollama, covered on Tech Know on 13 November 2026, or through LM Studio, vLLM or SGLang.
Agent Canvas: The Control Centre
Agent Canvas is the application most people will actually use. It is a self-hosted developer control centre for coding agents and automations. You open it in a browser or as a desktop app, connect a repository, pick a model, and start a conversation.
Its headline feature is that it runs more than one agent. The OpenHands agent is the default, but Canvas can drive Claude Code, Codex, Gemini CLI, Pi, OpenCode, or any agent that speaks the Agent Client Protocol. Canvas becomes the shared front door: the same history, the same sandboxes, the same automations, whichever engine does the work.
The second headline feature is automations: an agent job that runs without you starting it, on a schedule or when an event fires. Canvas ships prebuilt automations, including a pull-request review assistant, a repository monitor that breaks an issue into tasks, and a Slack channel monitor that starts an agent when a message matches a pattern. Automations display visual Mermaid diagrams explaining their workflow. Two newer ideas sit on top: Factories are repeatable agent setups with their own worklogs, and Projects, still experimental in version 1.45.0, group conversations with their files and pull requests.
How It Works: The Agent Loop, Step by Step
A session follows the same loop every time. First, it reads: the agent explores the repository, reads the relevant files, and reads any project instructions you have given it. Second, it plans: it works out the change, and in Canvas you can watch the plan form in the chat panel. Third, it acts: it edits the files, runs the shell commands, and runs the project's build and test tools — inside a sandbox, not on your bare machine. If a test fails, it reads the error and tries a fix. Fourth, it reports: the finished change appears as a diff you can review.
The sandbox is the part that makes the loop safe to leave running. Each conversation gets its own Docker container, so the agent can install packages, run tests, browse documentation and commit code without touching your local machine state. The loop is not magic: the agent can misunderstand a large codebase, invent an API that does not exist, or write a plausible-looking test that tests nothing. Break big work into small tasks and review every diff before it merges.
The Models: Bring Your Own Key, or Run Local
OpenHands does not sell you a model. You bring your own, and the platform is deliberately neutral about which one. The supported providers include Anthropic, OpenAI, Google, Amazon Bedrock and OpenRouter, plus any OpenAI-compatible endpoint. You add your own API key, and on the cloud free tier the model is billed at cost through your own key, with no markup.
Local models are a first-class option, not an afterthought. The documentation covers LM Studio, Ollama, vLLM and SGLang as local model servers — good for privacy and for avoiding per-token prices. The warning is that local models can have limited functionality: a small local model will not plan and debug as well as a large hosted one. On Terminal-Bench 2.0, the best listed OpenHands result was 51.9 percent with Claude Opus 4.5, ranked 35 of 43 agents. One dated claim deserves care: a mid-2026 review reported 72 percent on SWE-bench — treat it as a historical marker, not a current score.
| Model route | How it works | Best for |
|---|---|---|
| Anthropic (Claude) | Your own API key | Strongest results on the current benchmarks |
| OpenAI | Your own API key | General coding work, broad model choice |
| Your own API key | Large context windows, Google ecosystem | |
| OpenRouter / Bedrock | Your own key, many models | Switching models without rewiring |
| Local: Ollama, LM Studio | Runs on your own machine | Privacy, no per-token cost, offline work |
| Local: vLLM, SGLang | Your own server | Serving a model to a whole team |
Install and First Run
Installing OpenHands takes a few minutes, and there are three ways to do it. The quickest is the package manager: one install command for the Agent Canvas package, which needs Node.js 24 or later and uv, then the agent-canvas command starts the full local stack and you open localhost port 8000 in a browser and add a model key. The second way is Docker: one docker run command for the agent-canvas image at version 1.46.0, which gives you the sandboxed setup. The third way is the desktop installer for Windows, Mac or Linux.
Whichever way you install it, the first run asks for the same two things: a model and a repository. Add your API key for the model you want, connect a repository — from GitHub, GitLab, Bitbucket or Azure DevOps — and start a conversation. Start with something small and verifiable: ask it to explain the project structure, or to fix a bug you already know about. The habit that saves trouble later is reviewing every diff before it merges.
| Install method | Command or file | Needs |
|---|---|---|
| Package manager | npm install -g @openhands/agent-canvas, then agent-canvas | Node.js 24 or later, uv |
| Docker | docker run, agent-canvas image version 1.46.0 | Docker with a working socket |
| Windows installer | OpenHands-Agent-Canvas-Setup-1.46.0.exe, about 161 MB | Windows |
| Mac installer | OpenHands-Agent-Canvas-1.46.0-universal.dmg, about 334 MB | macOS |
| Linux | AppImage about 191 MB, or deb package about 150 MB | Linux |
What It Costs: The Pricing Table
The platform is free; the bill is the model behind it and, for teams, the management layer. The self-hosted edition costs nothing beyond your own model key. The hosted cloud once listed a free tier of 10 conversations a day and a Pro tier at 20 dollars a month covering runtime compute and the GitHub, GitLab, Bitbucket and Slack integrations, but the current pricing page lists neither Cloud tier — both figures are historical. The model is still billed at cost through your own key on every tier. Two warnings: the Teams price was re-confirmed at 500 dollars on 25 November 2026, and OpenHands changes prices — Teams itself moved from 499 to 500 dollars on 28 October 2026 — so re-check before you commit. And the real cost is not the platform fee but the model tokens: a long session with a top-tier model can cost several dollars, so set a budget first.
| Plan | Price | What you get |
|---|---|---|
| Self-hosted (open source) | 0 dollars | MIT licence, Agent Canvas, your own model key, your own server |
| Cloud free tier | 0 dollars | Hosted, 10 conversations a day (May 2026 review; no longer listed) |
| Cloud Pro | 20 dollars a month | Runtime compute covered, GitHub/GitLab/Bitbucket/Slack, 20 dollars one-time credits (Sep 2025) |
| Teams | About 500 dollars a month | Up to 10 users, 50 dollars per extra seat, 30-day trial, 5,000 sessions a month, RBAC, SSO |
| Enterprise | Custom pricing | Private cloud or on-premises, audit logging, zero data retention |
Version 1.46.0: What Actually Changed on 25 November 2026
The latest stable release, v1.46.0, landed on 25 November 2026, three days before this article was written. It is a small, team-focused release, not a model release — nothing in it changes which models you can use. The changes that matter are about sharing and control: team organisations can now list the conversations shared with them and unshare them, a Feedback button and submission flow was added inside the app, and automations gained a Git Sync switch that keeps an automation's activation status local instead of following the repository.
The release before it, v1.45.0 on 24 November, filled in the Factories section that v1.44.0 had only listed in the sidebar: factories now show their worklogs, newest first, and can be deleted from their own page. The same release made Projects in Canvas experimental — project conversations in the sidebar, with files and pull requests beside the chat — and nested sub-agent conversations under their parent. The pace is the point: thirteen stable releases shipped in the 30 days to 25 November 2026 — roughly one every two or three days. Expect the version number to move within days.
Safety: Sandboxes, Approvals and the Docker Catch
The safety system is the part of OpenHands that most deserves a careful read, because the tool is powerful by design: it runs shell commands, edits files and browses the web on your behalf. Two settings decide what it may do: the sandbox, which limits what the agent can touch, and the approval mode, which decides when it stops to ask you. By default the agent runs in a Docker sandbox, each conversation in its own container. That is the safe default.
The catch is the no-sandbox install, which runs the agent server directly on your machine with full filesystem access. The self-hosting guide warns plainly that anyone who can reach the agent server can read files, run commands and use the network. The CLI asks for confirmation before actions by default, with modes for always ask, a security-analyser mode, and always approve, and PreToolUse hooks can block an action before it runs. A high-severity command-injection advisory in the Git diff handler was published in March 2026. The sandbox protects your files, not your judgement.
OpenHands vs Claude Code and Codex CLI
OpenHands' closest rivals are the two terminal agents covered in this series: Claude Code from Anthropic, covered on Tech Know on 20 November 2026, and Codex CLI from OpenAI, covered on 27 November 2026. The three tools have converged hard in 2026, and the gap between them is now mostly about the shape of the product: a platform, a terminal harness, or a terminal tool with the strictest sandbox.
| OpenHands | Claude Code | Codex CLI | |
|---|---|---|---|
| Made by | OpenHands (formerly All Hands AI) | Anthropic | OpenAI |
| Shape | Agent platform + control centre | Terminal coding harness | Terminal coding agent |
| Models | Any: Anthropic, OpenAI, Google, Bedrock, OpenRouter, local | Claude Opus and Claude Sonnet | GPT-6.2 Sol, GPT-6.2 Astra, GPT-6.1 Terra, GPT-6 Luna |
| Licence | MIT, genuinely open source; Teams/Enterprise commercial | Proprietary; public repo holds issues and plugins | Apache 2.0 for the CLI, SDK and app server |
| Multi-agent | Yes — drives Claude Code, Codex, OpenCode and more | Subagents, agent teams, git worktrees | Subagents, agent command centre |
| Stars | About 94,000 | About 157,000 | About 136,000 |
| Best for | Running a team of agents from one place | Deepest harness for long, multi-file work | Strictest default sandbox, open source |
Costs and Limits: What Is Free and What Is Not
The platform is free, but the limits are worth stating plainly. First, it is only as good as the model: the agent can still misunderstand a large codebase, invent an API that does not exist, or write a plausible-looking test that tests nothing. Second, it moves fast: stable releases arrive every two or three days, and guides go stale within weeks. Third, it needs Docker for the safe setup, and the Docker socket mount creates real friction on shared machines. Fourth, the free edition is single-user: per-user identity, role-based access control and single sign-on all sit behind the Teams plan. And finally, the benchmark record is mixed: the best current Terminal-Bench result is 51.9 percent, ranked 35 of 43 agents. The platform's strength is the control centre and the automations, not the smartest single agent.
Who Should Use It, and Who Should Not
OpenHands is worth learning if you write code and you want an agent that takes whole tasks rather than suggesting lines. It is the right tool if you want automations: a pull-request reviewer that runs itself, a repository monitor that turns issues into tasks, a Slack watcher that starts work when a message matches.
It is not the right starting point if you do not code and only want to chat with an AI — a chatbot will serve you better. It is not the tool for a single quick edit in a terminal. It is not the tool for training a model; for that, use Transformers, covered on Tech Know on 25 November 2026. And it is not the tool for serving hundreds of users at once; for that, use vLLM.
How to Try OpenHands Safely
Trying OpenHands takes an evening. Start with a throwaway project: install Agent Canvas with the Docker setup so the sandbox is on, add a model key, and ask it to add a feature you can verify by eye. Keep the sandbox on, leave confirmations on always ask, commit before each session, and set a model budget first — a long session with a top-tier model can cost several dollars in tokens.
Frequently Asked Questions
Is OpenHands really free?
The platform is free and open source under the MIT licence — no charge for the download. You pay for the model behind it, through your own API key, and for Teams or Enterprise if you need multi-user management.
What is the difference between OpenHands and Agent Canvas?
OpenHands is the project and the platform. Agent Canvas is its main application: the self-hosted control centre where you run coding agents and automations.
What is the licence, exactly?
The core platform and Agent Canvas are MIT — genuinely open source, free for commercial use. The qualification is that Teams, about 500 dollars a month, and Enterprise are commercial editions that add multi-user identity, role-based access control, single sign-on and budgets.
Which model does OpenHands use?
There is no single default model, because OpenHands is model-agnostic. You bring your own key for Anthropic, OpenAI, Google, Amazon Bedrock or OpenRouter, any OpenAI-compatible endpoint, or a local model through Ollama, LM Studio, vLLM or SGLang.
What changed in version 1.46.0?
Released 25 November 2026, v1.46.0 is a team-focused release: team organisations can list and unshare conversations, a Feedback button was added, and automations gained a Git Sync switch that keeps an activation status local.
Do I need Docker to use OpenHands?
For the safe self-hosted setup, effectively yes — each conversation runs in its own Docker container. The hosted cloud needs no local Docker.
Is my code safe when OpenHands runs?
By default it runs in a Docker sandbox, one container per conversation. But a no-sandbox install gives the agent full access to your filesystem, and anyone who can reach the agent server can read files and run commands. Keep the sandbox on and commit before each session.
Can OpenHands run Claude Code or Codex?
Yes. Agent Canvas runs the open-source OpenHands agent out of the box, and can also drive Claude Code, Codex, Gemini CLI, Pi, OpenCode, or any agent that speaks the Agent Client Protocol.
Can I automate OpenHands?
Yes, that is its strongest feature. Automations run on a schedule or on Slack, GitHub or Linear events: a pull-request review assistant, a repository monitor, a Slack channel monitor. They show a Mermaid diagram of their workflow before they run.
Should I use OpenHands, Claude Code or Codex CLI?
Pick OpenHands for one control centre running a team of agents with automations. Pick Claude Code for the deepest harness for long, multi-file work. Pick Codex CLI for the strictest default sandbox and an open-source terminal tool.
The Bottom Line
OpenHands is the most ambitious free platform in this series: not one coding agent but a control centre for all of them, with about 94,000 stars, genuinely open source under MIT, and a current release, v1.46.0 from 25 November 2026. Its strength is not a single smartest agent — the current benchmark record is respectable rather than leading — but the shape of the product: one interface, any model, any agent, sandboxed conversations, and automations that work while you sleep.
The verdict is straightforward. If you write code and you want an agent that takes whole tasks, install Agent Canvas tonight on a throwaway project, with the Docker sandbox on and a model budget set: review the diffs, keep it in a Git repository, and let it earn your trust one finished pull request at a time. If you run a team, try an automation — a pull-request reviewer or a repository monitor. At 94,000 stars, with thirteen releases in a month, it is no longer an experiment.
By Umar Farooq, Tech Know.


0 Comments