openhands
БесплатноБез исполняемых скриптовНе проверенOpenHands is an open-source autonomous coding agent that edits files, runs shell commands and works through multi-step software tasks with any LLM, from a…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
OpenHands — Open-Source Autonomous Coding Agent
Overview
OpenHands (formerly OpenDevin, now under the OpenHands GitHub organization) is an agent that
works on a codebase the way a developer does: it reads files, edits them, runs commands and tests,
and keeps going until the task is done. It is model-agnostic (any LiteLLM provider, OpenHands
Cloud models, or a local model server) and ships in four forms:
| Form | Install | Best for |
|---|---|---|
CLI (openhands) |
uv tool install openhands |
Interactive terminal work, headless runs in CI |
Agent Canvas (agent-canvas) |
npm install -g @openhands/agent-canvas or Docker |
Self-hosted web control center, automations, several backends |
| Software Agent SDK | pip install openhands-sdk openhands-tools |
Building your own agents in Python |
| OpenHands Cloud | openhands login / openhands cloud |
Hosted sandboxes and models (hosted service) |
The main OpenHands/OpenHands repository now holds Agent Canvas; the agent loop and server live
in OpenHands/software-agent-sdk. Agent Canvas can also drive Claude Code, Codex and Gemini CLI
through the Agent Client Protocol (ACP).
Instructions
Install the CLI
The CLI needs Python 3.12 and uv. Install it as an isolated tool:
uv tool install openhands --python 3.12
openhands --version
Upgrade later with uv tool upgrade openhands --python 3.12. On Windows, run everything inside WSL.
On first launch, openhands asks for an LLM provider, model and API key and saves them under
~/.openhands/ (agent_settings.json). Conversation history goes to ~/.openhands/conversations/.
Set OPENHANDS_PERSISTENCE_DIR to keep that state somewhere else.
Work interactively
Run the CLI from the project root. The agent works in the current directory.
cd ~/code/invoice-service
openhands # empty session
openhands -t "Fix the failing test in tests/test_totals.py"
openhands -f tasks/add-pagination.md # task text from a file
openhands --resume --last # continue the latest conversation
Inside the UI: Ctrl+P opens the command palette (settings, MCP status, plan), Esc pauses the
agent, /new starts a new conversation, /skills lists loaded skills and MCP servers, /exit quits.
By default the CLI asks before running actions. --llm-approve asks only for actions an LLM
security analyzer rates high-risk; --always-approve (alias --yolo) never asks.
Give the agent standing project context with an AGENTS.md file at the repository root. OpenHands
loads it into every conversation, so put build, test and lint commands and conventions there.
Run headless for scripts and CI
Headless mode has no UI and requires --task or --file. It always auto-approves every action,
so run it only in a disposable checkout or container.
openhands --headless -t "Add type hints to src/billing/tax.py and run mypy"
openhands --headless --json -f tasks/upgrade-pydantic.md > openhands-run.jsonl
--json streams one JSON event per line (actions and observations) for parsing. Exit code 0
means success, 1 an error or failed task, 2 invalid arguments.
Environment variables are ignored unless you pass --override-with-envs. On a machine with no
saved settings (a CI runner), both LLM_API_KEY and LLM_MODEL must be set:
export LLM_API_KEY="$ANTHROPIC_API_KEY" # key from console.anthropic.com
export LLM_MODEL="anthropic/claude-sonnet-4-5-20250929"
openhands --headless --override-with-envs -f .openhands/nightly-task.md
Overrides are not written to disk. LLM_BASE_URL points the agent at a proxy or a local
OpenAI-compatible server.
Use a local model
OpenHands needs a large context window (at least ~22k tokens, 32k recommended) and a model that is reliable at tool calls. With Ollama, raise the context length before serving:
OLLAMA_CONTEXT_LENGTH=32768 ollama serve
ollama pull qwen3.6:35b-a3b
Then address the model through Ollama's OpenAI-compatible endpoint, prefixing the model ID with openai/:
export LLM_API_KEY="ollama" # any non-empty value
export LLM_MODEL="openai/qwen3.6:35b-a3b"
export LLM_BASE_URL="http://localhost:11434/v1"
openhands --override-with-envs
If the agent behaves like a plain chatbot or keeps failing tool calls, the model is the usual cause; try a stronger one before debugging the setup.
Add MCP servers
openhands mcp add fetch --transport stdio uvx -- mcp-server-fetch
openhands mcp add notion --transport http --auth oauth https://mcp.notion.com/mcp
openhands mcp list
openhands mcp disable fetch
Transports are stdio, http and sse. --header "Key: Value" and --env KEY=value are
repeatable. The configuration is stored in ~/.openhands/mcp.json.
Run Agent Canvas (self-hosted web UI)
Agent Canvas is the browser control center: conversations, several agent backends (la
Установить openhands в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openhands?
OpenHands is an open-source autonomous coding agent that edits files, runs shell commands and works through multi-step software tasks with any LLM, from a terminal UI, a headless CI mode, a self-hosted web control center (Agent Canvas) or a Python SDK. Use when a user wants a model-agnostic, self-hostable coding agent: "run OpenHands on this repo", "fix this bug with OpenHands headless in CI", "set up OpenHands with a local Ollama model", "script an agent with the OpenHands SDK", "add an MCP server to OpenHands", or "run Claude Code and Codex from one self-hosted dashboard".
Как установить скилл openhands?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openhands запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic