Quick Start
Running OpenHands on the cloud or your local desktop
OpenHands Cloud
The easiest way to get started with OpenHands is on OpenHands Cloud, which comes with $50 in free credits for new users.
To get started with OpenHands Cloud, visit app.all-hands.dev.
You’ll be prompted to connect with your GitHub or GitLab account:
- Click
Log in with GitHub
orLog in with GitLab
. - Review the permissions requested by OpenHands and authorize the application.
- OpenHands will require certain permissions from your account. To read more about these permissions,
you can click the
Learn more
link on the authorization page.
- OpenHands will require certain permissions from your account. To read more about these permissions,
you can click the
Once you’ve connected your account, you can:
- Install GitHub Integration to use OpenHands with your GitHub repositories
- Install GitLab Integration to use OpenHands with your GitLab repositories
- Access the Cloud UI to interact with the web interface
- Use the Cloud API to programmatically interact with OpenHands
- Set up the Cloud Issue Resolver to automate code fixes and provide intelligent assistance
Running OpenHands on your local desktop
System Requirements
- MacOS with Docker Desktop support
- Linux
- Windows with WSL and Docker Desktop support
A system with a modern processor and a minimum of 4GB RAM is recommended to run OpenHands.
Prerequisites
Start the App
The easiest way to run OpenHands is in Docker.
You’ll find OpenHands running at http://localhost:3000!
You can also connect OpenHands to your local filesystem, run OpenHands in a scriptable headless mode, interact with it via a friendly CLI, or run it on tagged issues with a GitHub action.
Setup
After launching OpenHands, you must select an LLM Provider
and LLM Model
and enter a corresponding API Key
.
This can be done during the initial settings popup or by selecting the Settings
button (gear icon) in the UI.
If the required model does not exist in the list, in Settings
under the LLM
tab, you can toggle Advanced
options
and manually enter it with the correct prefix in the Custom Model
text box.
The Advanced
options also allow you to specify a Base URL
if required.
Getting an API Key
OpenHands requires an API key to access most language models. Here’s how to get an API key from the recommended providers:
Now you’re ready to get started with OpenHands.
Versions
The docker command above pulls the most recent stable release of OpenHands. You have other options as well:
- For a specific release, replace
$VERSION
inopenhands:$VERSION
andruntime:$VERSION
, with the version number. We use SemVer so0.9
will automatically point to the latest0.9.x
release, and0
will point to the latest0.x.x
release. - For the most up-to-date development version, replace
$VERSION
inopenhands:$VERSION
andruntime:$VERSION
, withmain
. This version is unstable and is recommended for testing or development purposes only.
For the development workflow, see Development.md.
Are you having trouble? Check out our Troubleshooting Guide.