Registry / ai-ml / openhands

openhands

JSON →
library1.16.0pypypiunverified

OpenHands CLI is a terminal user interface (TUI) for the OpenHands AI agent, enabling interactive development and deployment workflows. Current version is 1.16.0, requiring Python 3.12 exactly. Released on PyPI with frequent updates.

pip install openhands
INSTALL
IMPORT
SIG · OPENHANDS
O
openhands
ai-mlpythonv1.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpenHands
from openhands_cli import OpenHands
from openhands import OpenHands

Initialize the OpenHands agent with an API key (or set OPENHANDS_API_KEY env var) and run a prompt.

from openhands import OpenHands import os agent = OpenHands(api_key=os.environ.get('OPENHANDS_API_KEY', '')) response = agent.run('Hello, OpenHands!') print(response)
Debug
Known issues
breakingVersion 1.14.0 renamed the main class from `OpenHandsCLI` to `OpenHands`. Code using the old class name will break.
fix
Replace `OpenHandsCLI` with `OpenHands` in imports and instantiations.
affects: >=1.14.0
breakingRequires Python 3.12 exactly. Will not install on Python 3.11 or 3.13.
fix
Use Python 3.12 if using this library. Consider using a version manager (e.g., pyenv) to manage Python versions.
affects: >=1.0.0
gotchaAPI key is mandatory unless running in local mode. Missing key causes authentication errors silently.
fix
Set the OPENHANDS_API_KEY environment variable or pass `api_key` parameter. Use `OpenHands(api_key='your-key')`.
affects: all
Upgrade
Version history
1.16.0latest on PyPI · released May 8, 2026
Audit
Dependencies
pythonrequiredRequires Python 3.12.* exactly
Agent activity
8 hits · last 30 days
node
6
Resources

No resource links recorded.

openhands — pip install openhands · libregistry