← 全部工具

OpenHands/OpenHands

热度 65 更新于 AI 与 Agent

🙌 OpenHands: AI-Driven Development

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

<a name="readme-top"</a

<div align="center" <img src="https://assets.openhands.dev/logo-whitebackground.png" alt="OpenHands logo" width="340" <h1 align="center" style="border-bottom: none"Agent Canvas</h1 <p align="center" <strongThe self-hosted developer control center for coding agents and automations.</strong </p <p align="center" Run OpenHands, Claude Code, Codex, Gemini, or any ACP-compatible agent across local, remote, and cloud backends. </p </div <div align="center" <a href="https://github.com/OpenHands/incubator-program"<img src="https://img.shields.io/badge/status-beta-blue?style=for-the-badge" alt="Project status beta"</a <a href="https://github.com/OpenHands/OpenHands/actions/workflows/ci.yml"<img src="https://img.shields.io/github/actions/workflow/status/OpenHands/OpenHands/ci.yml?branch=main&style=for-the-badge" alt="CI status"</a <a href="https://www.npmjs.com/package/@openhands/agent-canvas"<img src="https://img.shields.io/npm/v/%40openhands%2Fagent-canvas?style=for-the-badge&logo=npm" alt="npm version"</a <a href="https://docs.openhands.dev/openhands/usage/agent-canvas/backends"<img src="https://img.shields.io/badge/Documentation-000?logo=googledocs&logoColor=FFE165&style=for-the-badge" alt="Documentation"</a <a href="https://go.openhands.dev/slack"<img src="https://img.shields.io/badge/Slack-Join%20the%20community-611f69?logo=slack&logoColor=white&style=for-the-badge" alt="Join us on Slack"</a </div <div align="center" <a href="#quickstart"Quickstart</a | <a href="./docs/README.md"Docs</a | <a href="./docs/SELFHOSTING.md"Self-Hosting</a | <a href="https://docs.openhands.dev/openhands/usage/agent-canvas/acp-agents"ACP Agents</a | <a href="https://docs.openhands.dev/openhands/usage/agent-canvas/prebuilt-automations"Automations</a | <a href="https://go.openhands.dev/slack"Slack</a </div <p align="center" <img src="https://assets.openhands.dev/screenshot/automation-preview.png" alt="Agent Canvas automation preview" width="100%" </p <hr

OpenHands Agent Canvas turns your coding agents into a self-hosted, always-on engineering team. It's a developer control center for starting conversations and automating everyday tasks — like generating reports that publish to Slack or automatically decomposing GitHub issues into tasks.

It runs locally on your machine by default, but can connect to multiple “agent backends”, e.g. running agents in Docker containers, on VMs, or within your company infrastructure. You can optionally choose to run agents on OpenHands Cloud or OpenHands Enterprise infrastructure.

Agent Canvas runs the open source OpenHands agent out-of-the-box, but can use any third-party agent like Claude Code and Codex.

| | | | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | Self-host your way | Run agents locally, in Docker, on VMs, or anywhere you can run an agent server backend | | Switch between different backends | Switch between local, remote, and cloud agents without losing focus | | Create automations | Create automations and workflows that integrate with Slack, GitHub, Linear, and more. Run on a schedule or in response to webhook events | | Integrate with the tools you use | Connect your automations with third-party services like Slack, GitHub, Notion, and more to automate workflows | | Bring your own model | Use with any LLM | | Use with any agent | Use with OpenHands, Claude Code, Codex, Gemini, or any agent with Agent-Client Protocol (ACP). |

If you have questions or feedback, please open a GitHub issue or join the #proj-agent-canvas channel in Slack.

Quickstart

You can install OpenHands to run agents on any machine: on your laptop, on a dedicated computer like a Mac Mini, or on a server in the cloud.

The most powerful way to run OpenHands is on a server in the cloud. This allows your agents to continue running even when your laptop is shut, and makes it easier to trigger your agents through third-party services like Slack, GitHub, and Datadog. See SELFHOSTING.md for details, especially with respect to security hardening.

Notably, you can run the backend in multiple different environments, and switch between them from the same Agent Canvas frontend. E.g. you can share an Agent Server with your team for agents doing code review and dependency updates, then have your personal agents running on your laptop.

Option 1: Without a Sandbox

[!WARNING] This runs the agent-server directly on the machine you're installing on — the agent will have full access to your filesystem!

Prerequisites: Node.js 24 or later, uv

npm install -g @openhands/agent-canvas
agent-canvas

The agent-canvas command starts the full local stack by default. You can also split it when you want to run pieces separately:

agent-canvas --frontend-only  # static frontend + ingress only
agent-canvas --backend-only   # agent server + automation backend + ingress only

Option 2: With a Docker Sandbox