$npx skillfedfor your agent

openhands-sdk

OpenHands SDK - Core functionality for building AI agents

With conditionsPyPI Application FrameworksReleased Aug 202612.2M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openhands_sdk-1.42.1-py3-none-any.whl
v1.42.1 · released 2026-08-12 · Python >=3.12 · 18 runtime deps: agent-client-protocol, deprecation, fakeredis, fastmcp, filelock, httpx, jsonschema, joserfc

Yes, with conditions. The SDK is actively maintained, has low install friction, and addresses a real need for code-working agents. However, the unclear license status requires verification before production use. If you need to build agents that interact with code, execute tasks autonomously, and integrate with LLMs, this is a solid choice—but confirm licensing terms first and ensure Python 3.12 or later is available in your environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later.
  • LLM API credentials must be provided for the agent to function.
  • Low install friction with a pure Python wheel.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Before production use, verify the actual license terms in the repository or documentation.

last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 987 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,200,524 downloads/mo, #1,336 on PyPI

Verify before relying

pip install openhands-sdk

from openhands.sdk import LLM, Agent, Conversation, Tool
from openhands.tools.terminal import TerminalTool

llm = LLM(model="gpt-5.5", api_key="your-key")
agent = Agent(llm=llm, tools=[Tool(name=TerminalTool.name)])
conversation = Conversation(agent=agent, workspace=".")
conversation.send_message("List files in the current directory")
conversation.run()
  • Whether the unclear license permits commercial use or has specific attribution requirements.
  • Performance characteristics and latency when running agents against large codebases.
  • Compatibility with specific LLM providers beyond the example shown.
Same gist for agents: .md · .json

What it is and what it does

OpenHands SDK is a framework for building AI agents that interact with code and development tasks. It provides a Python API to define agents, attach tools (like terminal, file editor, and task tracker), connect them to LLMs, and orchestrate conversations where the agent receives instructions and executes code-related work. Agents can run locally on your machine or in ephemeral Docker/Kubernetes workspaces via the Agent Server, making it suitable for one-off tasks, routine maintenance, and complex multi-agent refactors.

The SDK is built on 18 runtime dependencies including pydantic for data validation, httpx for HTTP communication, litellm for LLM abstraction, and tree-sitter for code parsing. It supports modern Python versions (3.12 or later) and is actively maintained. The framework is designed to be extensible—you can build custom tools, load public skills from a marketplace, and integrate it into CI/CD pipelines or custom developer experiences.

Use it for

  • Automate one-off development tasks like generating README files or documentation for a repository.
  • Run routine maintenance workflows such as dependency updates or code refactoring across multiple files.
  • Build multi-agent systems that collaborate on large tasks like full codebase rewrites or architectural changes.
  • Integrate agentic capabilities into CI/CD pipelines via GitHub Actions or similar workflow systems.
  • Create custom developer tools or CLIs that leverage agent-driven code analysis and generation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The SDK is actively maintained, has low install friction, and addresses a real need for code-working agents. However, the unclear license status requires verification before production use. If you need to build agents that interact with code, execute tasks autonomously, and integrate with LLMs, this is a solid choice—but confirm licensing terms first and ensure Python 3.12 or later is available in your environment.

Install

openhands-sdk on PyPI

Before you install

Low install friction with a pure Python wheel. Active maintenance with a release 2 days old and 987 repository stars. Requires Python 3.12 or later. The 18 runtime dependencies include established packages like pydantic, httpx, and litellm, suggesting a mature dependency ecosystem.

Requires Python 3.12 or later. LLM API credentials must be provided for the agent to function.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Before production use, verify the actual license terms in the repository or documentation.

Quickstart

pip install openhands-sdk

from openhands.sdk import LLM, Agent, Conversation, Tool
from openhands.tools.terminal import TerminalTool

llm = LLM(model="gpt-5.5", api_key="your-key")
agent = Agent(llm=llm, tools=[Tool(name=TerminalTool.name)])
conversation = Conversation(agent=agent, workspace=".")
conversation.send_message("List files in the current directory")
conversation.run()

Verify before relying

  • Whether the unclear license permits commercial use or has specific attribution requirements.
  • Performance characteristics and latency when running agents against large codebases.
  • Compatibility with specific LLM providers beyond the example shown.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
18 packages
agent-client-protocoldeprecationfakeredisfastmcpfilelockhttpxjsonschemajoserfclitellmpillowpydanticpython-frontmatterpython-json-loggertenacitywebsocketslmnrtree-sittertree-sitter-bash
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads12,200,524 / month, #1,336 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: openhands_sdk-1.42.1-py3-none-any.whl

Tags

Capabilities
ai agent framework for codellm-powered developer agent sdkautonomous code execution agentsoftware agent api pythonagent server workspace frameworkcode task automation sdkagentic ai development tools
Topics
ai-agent-frameworkllm-integrationcode-automation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “llm-powered developer agent sdk”

  • openhands-sdkOpenHands SDK provides Python and REST APIs for building software…
  • openhands-workspaceProvides Python and REST APIs for building software agents that can…
  • openhands-toolsProvides Python and REST APIs for building AI agents that work with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also openhands-tools · openhands-workspace · xpander-sdk · openhands-agent-server · openhands · openhands-ai · openhands-aci · cursor-sdk · openai-codex · plato-sdk-v2