The agents

OpenHands: the open-source coding agent you can run yourself

OpenHands is an open-source platform for AI coding agents, published on GitHub under the MIT license. On 1 December 2026 its pricing page says the open-source version is free to self-host with your own model key and can run other agents such as Codex and Claude. A Teams plan costs $500 a month for 10 users with $50 for each extra seat, and adds user identity, single sign-on and budgets. OpenHands Cloud runs conversations and automations in on-demand sandboxes when you would rather not host them.

Published December 1, 2026. Editorial.

Key takeaways

  • OpenHands is published under the MIT license, and its GitHub repository, created in March 2024, had three releases between 24 and 29 November 2026.
  • The open-source version is free to self-host, runs on a laptop or a shared machine, and uses your own model key.
  • OpenHands says it can run other agents, such as Codex and Claude, as well as its own.
  • The Teams plan costs $500 a month for 10 users plus $50 a month for each extra seat, is self-hosted, and is capped at 5,000 sessions a month.
  • OpenHands Cloud runs conversations and automations in on-demand sandboxes, for teams that do not want to host the machines.

Every other agent in this guide is a product you rent. OpenHands is software you can own. Its code is on GitHub under the MIT license, which allows commercial use, changes and redistribution [1]. The project describes itself in one line: "OpenHands: AI-Driven Development" [1].

That changes the questions a buyer asks. With a hosted agent the questions are about the vendor's terms and controls. With OpenHands they are about your own team: who installs it, who patches it, who holds the model keys, and who answers when it breaks. This page describes OpenHands as its repository, pricing page and documentation describe it on 1 December 2026.

What you get, and on which plan

Plan Price on 1 December 2026 Where it runs What OpenHands lists
Open Source Free Your laptop or a shared machine MIT license, your own model key, any agent (Codex, Claude and others), automations
Teams $500 a month for 10 users, plus $50 per extra seat; 30-day trial Self-hosted Users and role-based access, single sign-on, built-in integrations, budgets; capped at 5,000 sessions a month
Enterprise Custom Self-hosted Unlimited seats and users, enterprise agreement, support with response times, a customer success manager

Source: OpenHands' pricing page [2].

The free version is single-user or shares one identity across users [2]. That is fine for one developer or a small trial, and not for a company that needs to know which person started which agent. The Teams plan adds that identity layer, plus single sign-on and budget controls, while staying on your own infrastructure [2]. Its cap of 5,000 sessions a month is a real limit for a large team running agents on every pull request [2].

Bring your own model, and your own agent

OpenHands uses your model key on every plan [2]. Its documentation describes connecting models through LiteLLM, a library that talks to many model providers, and has pages for OpenRouter and for Google's Gemini and Vertex AI [3]. That means the model bill comes straight from the provider, with no markup from OpenHands, and it means the provider's terms decide what happens to the code you send.

The pricing page also lists "Use any agent (Codex, Claude, etc.)" on every plan [2]. Read this as OpenHands positioning itself as a platform that runs agents, its own and other companies', under one set of controls and integrations. For a platform team that is a strong idea: one place to set budgets, one set of integrations with GitHub and Slack, one audit trail, whatever agent a developer prefers. Confirm in a trial which third-party agents work, and how they authenticate, before you plan around it.

Agent Canvas, automations and the cloud backend

Agent Canvas is where you run conversations and automations. OpenHands documents automations that run on a schedule or in response to events, including custom webhooks from tools such as Linear [3]. Ready-made automations include a GitHub pull request review assistant, a GitHub repository monitor that starts agents on repository events, and a Slack channel monitor that starts agents on messages [3]. A documented Software Factory setup chains four independent automations that take GitHub issues through the stages of work toward pull requests [3].

Agent Canvas can run its work in different places, which OpenHands calls backends. A local backend uses your own machine. A virtual machine backend runs Agent Canvas as a service or a full self-hosted install [3]. A cloud backend connects Agent Canvas to OpenHands Cloud, so "conversations and automations then run in OpenHands Cloud's on-demand sandboxes instead of on your local machine" [4]. OpenHands lists the reasons to use it as running agents without tying up local resources, using managed sandboxes and integrations, and reaching work from a phone or tablet [4]. The cloud backend needs an OpenHands Cloud account [4].

For developers who want to build rather than configure, the Software Agent SDK is a kit for building agents that write software, with production-ready tools, according to its documentation [3]. The automated pull request review OpenHands documents is built on it [3].

Release pace and what it means for you

The repository was created on 13 March 2024 and was updated on the day we read it [1]. Releases came fast in the last week of November 2026: v1.45.0 on 24 November, v1.46.0 on 25 November and v1.47.0 on 29 November [1]. A fast pace brings fixes and new features quickly. It also means a self-hosted install that nobody updates falls behind within weeks, and an install that updates automatically can change behaviour without warning. Pin a release, test each new one on a staging install with your own tasks, and upgrade on a schedule you choose.

Self-hosting compared with the hosted agents' options

Several hosted agents in this guide also let part of the work run on your machines, so it helps to be exact about which part.

Option What runs on your machines What stays with the vendor
OpenHands, self-hosted The platform, the agent loop and the commands Nothing, apart from the model provider you choose
Factory's Droid command line tool The agent and its commands; an airgapped mode uses your own model endpoints [8] The model provider you configure, and Factory's sign-in, since the tool signs in with OAuth [8]
Devin Outposts Commands, file edits and repository access Planning and model calls, in Cognition's cloud [5]
Grok Build self-hosted machines Tool calls The agent loop, in Grok Build's cloud [6]
Amp self-hosted orbs The orb machines Amp's service, and the model provider you choose [7]

With the hosted options, the checkout of your code and the commands stay inside your network, while the part that decides what to do next runs in the vendor's cloud and keeps the vendor's terms. With OpenHands self-hosted, that deciding part runs on your machines too, and the only outside party is the model provider your key points to. If your own rules name the agent's planning service as something that must stay inside, OpenHands self-hosted and Factory's command line tool, with its documented airgapped mode, are the options in this guide built for that.

The difference also shows in who fixes problems. A vendor that runs the agent loop fixes it for every customer at once, and its fix arrives whether you are ready or not. A team that self-hosts OpenHands fixes its own copy, on its own schedule, and carries the risk of falling behind.

Check the license of every part

MIT covers the code in the repository [1]. A platform built around an open project often adds a hosted service, enterprise features or add-ons that come under a commercial agreement; OpenHands' own pricing page lists an enterprise agreement on its Enterprise plan [2]. Before a legal review signs off "it's open source", list every part you plan to run, the license or contract each part comes under, and what each allows. The same check applies to the models: an open agent that sends code to a commercial model is bound by that model provider's terms.

Who should choose OpenHands

Three kinds of team get the most from it.

A platform team that wants one controlled place to run agents. OpenHands' pricing page lists running other agents, budgets, single sign-on and role-based access [2], so a company can offer developers a choice of agent while keeping one audit trail and one set of rules.

A company with strict data rules. Running the whole platform inside its own network, with a model endpoint it has approved, keeps every part of the agent under its own control.

A team that builds agents as part of its product. The Software Agent SDK gives a base to build on, and the MIT license lets the team change and ship it [1][3].

OpenHands suits less well a small team with no one to run services, or a company that wants a vendor to answer for uptime. For those teams a hosted agent with a self-hosted option for commands, such as Devin Outposts or Amp's self-hosted orbs, can be the middle path.

The real cost of free

Open-source software moves cost from the license to the people. A fair comparison with a hosted agent counts four things: the model bill from your provider; the machines the agents run on; the engineering time to install, secure, patch and monitor the platform; and the time to handle problems a vendor's support team would otherwise take. For one developer the last two are small. For a company with hundreds of engineers they are a small platform team's job.

In return you get control no hosted product offers. The agent runs inside your network, you can read every line of the code that drives it, you can change how it behaves, and no vendor can change your terms. For companies under strict data rules, such as some banks and public bodies, that control can decide the choice on its own.

What to watch in a trial

Install the open-source version on one shared machine. Give it a model key with a spending limit set at the provider. Run it on tickets that have tests, and record the same measures you would record for a commercial agent: tasks finished, pull requests merged without changes and reviewer minutes per pull request, as our two-week pilot plan describes. Then add up the hours your team spent installing, updating and fixing it during those two weeks. That number, set beside a hosted agent's price, is the real comparison. Our security comparison shows where each agent's code and model calls go.

Best for

  • Companies whose rules require the whole agent platform to run inside their own network.
  • Teams that want to read, change and audit the agent's code, or build their own agent on its software kit.
  • Platform teams that want one place to run several agents, open and commercial, under the same controls.

Avoid if

  • Nobody on the team can run and patch a self-hosted service.
  • You want the vendor to own uptime, upgrades and model choice for you.
  • You need more than 5,000 sessions a month and cannot move to Enterprise.

Check before you decide

  • The license of every part you plan to use, since a project's add-ons and cloud service can carry other terms.
  • Which model providers your key sends code to, and their retention terms.
  • The release you will pin, and how you will test new releases before upgrading.

Common questions

Is OpenHands free to use?

The open-source version costs nothing to use and is published under the MIT license, which allows commercial use and changes. You still pay for the model: OpenHands uses your own model key, so the model provider bills you for every task. You also pay for the machines it runs on and for the people who keep it running.

What does the OpenHands Teams plan cost?

OpenHands' pricing page, read on 1 December 2026, lists Teams at $500 a month with 10 users included, $50 a month for each extra seat, and a 30-day trial. It is self-hosted and adds user identity with role-based access, single sign-on and budget controls. The page says Teams is capped at 5,000 sessions a month.

Can OpenHands run other coding agents?

Yes, according to its pricing page, which lists "Use any agent (Codex, Claude, etc.)" on the open-source, Teams and Enterprise plans. This lets a platform team run commercial agents and open agents under the same controls, budgets and integrations, instead of setting up each one separately.

Which models does OpenHands support?

OpenHands' documentation describes connecting models through LiteLLM, a library that speaks to many model providers, and has pages for OpenRouter and for Google's Gemini and Vertex AI. You bring the key. Choose a model with your own tests, because results depend on both the model and the task.

Where does OpenHands run the agent?

The open-source version runs on your laptop or a shared virtual machine. Teams and Enterprise are self-hosted on your infrastructure. OpenHands Cloud is a hosted option: connecting Agent Canvas to it makes conversations and automations run in its on-demand sandboxes instead of on your own machine.

Can OpenHands work from GitHub issues to pull requests on its own?

OpenHands documents a Software Factory setup: four independent automations in Agent Canvas that take GitHub issues through the stages of work toward pull requests. It also documents automated pull request review with its software kit, a GitHub repository monitor and a Slack channel monitor that start agents on events.

How often does OpenHands release new versions?

Often. The GitHub repository showed releases v1.45.0 on 24 November, v1.46.0 on 25 November and v1.47.0 on 29 November 2026. That is good for fixes and bad for stability, so pin a release, test new ones on a staging install, and upgrade on a schedule.

What is the OpenHands Software Agent SDK?

It is a software kit for building agents that write software. OpenHands' documentation describes it as a clean, modular kit with tools ready for production use. Teams use it to build their own agents, such as a pull request reviewer, on the same base as the OpenHands platform.

Is an open-source agent safer than a hosted one?

It gives you more control, and safety then depends on how you run it. You can read the code, run it inside your network and choose where data goes. You also become responsible for patching, access control, secrets and monitoring. A hosted agent with good controls can be safer than a self-hosted one nobody maintains.

How should we test OpenHands?

Install the open-source version on one shared machine, connect a model key with a spending limit, and run it on tickets with tests. Measure the same things you would for a commercial agent: tasks finished, pull requests merged without changes and reviewer minutes. Our [two-week pilot plan](/guides/autonomous-coding-agents-compared/two-week-pilot-plan) gives the steps.

More in The agents

Devin by Cognition: what it does, what it costs and where it runs

Devin, made by Cognition, is a coding agent that works on a task in its own cloud computer and returns a pull request. On 1 December 2026 Cognition's pricing page lists a Pro plan at $20 a month, a Max plan at $200, and a Teams plan at $80 a month for up to 100 users. Paid plans can link a personal ChatGPT plan so GPT model use is billed there. Cognition renamed its Windsurf editor to Devin Desktop in June 2026, so Devin is now one product with a desktop app, a command line tool and cloud sessions.

Factory and its Droids: plans, Missions and where the work runs

Factory sells coding agents it calls Droids. They run in a desktop app, a command line tool, a web app and a software kit, and they can be started from Slack, Linear, Jira, Microsoft Teams and Google Chat. On 1 December 2026 Factory's free plan lets you sign in with ChatGPT, GitHub Copilot, OpenRouter or your own API keys, and its paid plans start at $20 a month. Its Missions feature plans a large project as milestones and hands the work to an orchestrator that runs many Droids. TechCrunch reported a $1.5 billion valuation in April 2026.

Harness and Cosmos: coding agents inside a delivery platform

Harness sells a platform for building, testing and releasing software, and it adds coding agents in two ways. Its own pull request agents review code, fix failed builds and write missing tests, running as steps in a Harness pipeline. In October 2026 Harness also bought Cosmos, Augment Code's cloud platform that coordinates many coding agents, along with Augment's command line tool and code search engine. Harness's chief executive told SiliconANGLE that customers can keep their own coding tools, adopt Cosmos, or use both.

OpenAI Codex in the cloud: plans, cloud tasks and security

OpenAI's Codex is a coding agent that runs on your computer and in OpenAI's cloud, and in 2026 it shares its plans and limits with ChatGPT. On 1 December 2026 OpenAI's pricing page says cloud tasks, automatic code review and the Slack integration come with ChatGPT Plus at $20 a month and above. Codex used with an API key alone works in the command line and editor but has no cloud features. In a cloud task, Codex checks out your repository in a container, internet access for the agent is off by default, and you open a pull request when you approve the result.

GitHub Copilot's cloud agent: two places to run, limits and AI credits

GitHub's coding agent is now called Copilot cloud agent, part of what GitHub calls Copilot in the cloud. It researches a repository, plans a change, edits files and runs tests in a cloud environment, then opens a pull request. It runs either inside GitHub Actions, where it can use your own runners, or in a cloud sandbox that can work across several repositories. On 1 December 2026 cloud work needs a paid plan: Pro at $10, Pro+ at $39 or Max at $100 a month, or Business at $19 and Enterprise at $39 per user a month.

Claude Code in the cloud: cloud sessions, GitHub Actions and scheduled tasks

Anthropic's Claude Code runs as an autonomous agent in three ways: cloud sessions that keep working after you close your laptop, a GitHub Action that answers @claude in issues and pull requests, and cloud scheduled tasks that start on a timer, an API call or a GitHub event. On 1 December 2026 Anthropic's documentation says cloud sessions come with the Pro, Max, Ultra and Team plans and some Enterprise seats, count toward the plan's usage limits, and carry no separate charge for the cloud machine. Cloning and pull requests in Anthropic's cloud require GitHub.

Cursor's cloud agents, now Grok Build: how they run and what changed

SpaceX announced in June 2026 that it would buy Cursor for $60 billion in stock, according to SiliconANGLE. On 1 December 2026 Cursor's documentation and pricing addresses lead to Grok Build pages, and Cursor's cloud agents are documented as Grok Build cloud agents. They run each task in its own virtual machine, clone from GitHub, GitLab, Azure DevOps or Bitbucket, and open a pull request for a person to review. Cloud agents are included from the $30 a month Premium plan upward, and third-party models are billed separately.

Amp and its orbs: cloud machines that sleep, and chat plans you can link

Amp is a coding agent whose cloud work happens in orbs: a fresh, isolated cloud machine for each thread that sleeps when the agent stops and costs nothing while asleep. On 1 December 2026 Amp's pricing documentation lists a free Hobby tier, Megawatt at $20 a month and Gigawatt at $200, with teams at no extra charge. You can link a ChatGPT or Claude subscription for model use, bring your own API keys, and run orbs on your own machines for free on every tier except Enterprise.

Google Jules is closing: the dates, the export and Antigravity's remote agents

Google's Jules, an asynchronous coding agent that worked on GitHub repositories in a cloud virtual machine, is closing. Google's notice says Jules became read-only after 11 November 2026 and winds down on 31 December 2026, as part of unifying Google's coding agent work. Your code and pull requests stay on GitHub, and a command line export saves Jules settings, memories, scheduled tasks and session history. Google names Antigravity as its agent-first platform. Antigravity Remote Agents run sessions in a Google-managed environment for personal Google AI Pro and Ultra accounts.

Start a project