openhands-sdk SKILL.md skillA
openhands-sdk from openhands/extensions is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openhands/extensions/openhands-sdk@git:20261004.3450e1aPins git:20261004.3450e1a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openhands/extensions
- Path
skills/openhands-sdk/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261004.3450e1a, committed Oct 4, 2026
- First version recorded
- Aug 14, 2026
- Size
- 27,555 bytes
- Repository stars
- 179
- License
- MIT
Reference skill for the OpenHands Software Agent SDK - the Python framework for building AI agents that write software. Use when you need to build agents with the SDK, create custom tools, configure LLMs, manage conversations, delegate to sub-agents, or deploy agents locally or remotely.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# OpenHands Software Agent SDK
All SDK documentation lives at <https://docs.openhands.dev/sdk>.
For the full topic index, fetch <https://docs.openhands.dev/llms.txt> and read
the "OpenHands Software Agent SDK" section.
## Quick reference
Install: `pip install openhands-sdk openhands-tools`
```python
import os
from openhands.sdk import LLM, Agent, Conversation, Tool
from openhands.tools.file_editor import FileEditorTool
from openhands.tools.task_tracker import TaskTrackerTool
from openhands.tools.terminal import TerminalTool
llm = LLM(
model=os.getenv("LLM_MODEL", "gpt-5.5"),
api_key=os.getenv("LLM_API_KEY"),
base_url=os.getenv("LLM_BASE_URL", None),
)
agent = Agent(
llm=llm,
tools=[
Tool(name=TerminalTool.name),
Tool(name=FileEditorTool.name),
Tool(name=TaskTrackerTool.name),
],
)
cwd = os.getcwd()
conversation = Conversation(agent=agent, workspace=cwd)
conversation.send_message("Write 3 facts about the current project into FACTS.txt.")
conversation.run()
print("All done!")
```
## Core classes (`openhands.sdk`)
| Class | Purpose |
|---|---|
…Read the whole file at its exact version.
How to install
mdr add openhands/extensions/openhands-sdk@sha256:102b75f8b553e26bThe line at the top of this page pins the label git:20261004.3450e1a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_f25mppqq3o5m6lpy)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 14, 2026 and Oct 4, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.3450e1a latest | 2026-10-04 | 3450e1a | 27,555 B | A | view · diff |
| git:20260924.f02d3aa | 2026-09-24 | f02d3aa | 27,349 B | A | view · diff |
| git:20260921.f761809 | 2026-09-21 | f761809 | 27,205 B | A | view · diff |
| git:20260915.4d93d29 | 2026-09-15 | 4d93d29 | 26,842 B | A | view · diff |
| git:20260827.370ee2c | 2026-08-27 | 370ee2c | 26,530 B | A | view · diff |
| git:20260814.a559a58 | 2026-08-14 | a559a58 | 26,400 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (27555 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openhands/extensions · 179 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_f25mppqq3o5m6lpy GET https://markdownregistry.com/api/v1/resolve?ref=openhands/extensions/openhands-sdk GET https://markdownregistry.com/api/v1/blob/102b75f8b553e26bbb8886d3ef4b1518d6e8817ded8f765a9e4a275ebf560d67
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.