The OpenHands CLI: AI-Powered Development in Your Terminal

8 min read

Image from blog post

Written by

Graham Neubig

Published on

June 17, 2025

Today we're announcing the OpenHands CLI, a new way to use software development agents directly from your terminal.

Getting started is easy (with Python 3.12 or 3.13):

pip install openhands-ai
openhands

Or if you prefer not to manage your own Python environment, you can use uvx:

uvx --python 3.12 --from openhands-ai openhands

That's it, no need for Docker, no need for a web interface, and you can immediately access OpenHands' top-performing coding agents.
And unlike other options, it's fully open source, with no model lock-in.

No need to wait for us, go ahead and get started! (or read on for more details)

Why a CLI?

OpenHands has been around for a while, and there are several convenient ways to use it:

But we've also heard from developers who prefer to work directly in their terminal, or found the installation process for the GUI too cumbersome.
The CLI delivers:

What can you do with it?

If you want some examples of things to get started with, you can ask it to:

Features

The CLI includes several convenient features.

:
The CLI has a number of commands that make it easy to navigate around.
For instancce, one of our favorites: the

Confirmation mode: For security, the CLI includes a confirmation mode that prompts before executing potentially sensitive operations.

:
OpenHands is model agnostic, so you can use it with any LLM provider, especially those on our
.
This includes both cloud-based models like Claude (4 sonnet provides the best performance at the moment) and local models like

:
The CLI is fully open source, included in the MIT-licensed
.
It's available for you to build with or build on.

:
OpenHands is one of the top-performing agents in the world (e.g. on

Join the community

to get started!
As always, we love to have people join our community to give feedback or send in pull requests.
Join the community: on

Citation
The OpenHands CLI: AI-Powered Development in Your Terminal

Get useful insights in our blog

Insights and updates from the OpenHands team

Thank you for your submission!

Oops! Something went wrong while submitting the form.
Building the open standard for autonomous software development.

OpenHands is the foundation for secure, transparent, model-agnostic coding agents - empowering every software team to build faster with full control.

Build with SDK
Try it live
© 2025 OpenHands - All rights reserved
Privacy Policy