Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OpenHands

> 编程语言
Free

🙌 OpenHands: AI-Driven Development

94.8K stars0 likes1 views
WebsiteGitHub

About

🙌 OpenHands: AI-Driven Development


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 SELF_HOSTING.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 22.12.x or later, uv

bash
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:

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

Option 2: With a Docker Sandbox

Prerequisites:

  • Docker: Docker Desktop on macOS/Windows, or Docker Engine/Docker Desktop on Linux.
  • A host directory for PROJECTS_PATH containing the project folders you want the agent to access. Create it before starting the container.

macOS / Linux:

bash
export PROJECTS_PATH="$HOME/projects"  # directory containing your project folders
mkdir -p "$PROJECTS_PATH" "$HOME/.openhands"

docker run -it --rm \
  -p 8000:8000 \
  -v "$HOME/.openhands:/home/openhands/.openhands" \
  -v "${PROJECTS_PATH}:/projects" \
  ghcr.io/openhands/agent-canvas:1.16.0 # x-release-please-version

Windows (PowerShell / Windows Terminal): See README.windows.md for the equivalent commands.

The agent will be able to access any project under PROJECTS_PATH.

Option 3: From Source

[!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 22.12.x or later, npm, uv (for running the agent server via uvx)

bash
git clone https://github.com/OpenHands/OpenHands.git
cd OpenHands
npm install
npm run dev

Access the UI at http://localhost:8000 for the npm/source launchers, or http://localhost:8000/canvas for the Docker image. You can add additional backends directly from the UI.

Architecture

Agent Canvas is powered by the OpenHands Agent Server, a REST API for running multiple agents on a single machine. Each Agent Server runs on a single host/port; the Agent Canvas can connect to multiple Agent Servers and easily flip between them.

You can run an Agent Server anywhere:

  • Directly on your laptop (be careful!)
  • On a dedicated machine like a Mac Mini
  • On a virtual machine in the cloud
  • Inside OpenHands Cloud (our commercial offering)

The Agent Server is often paired with an Automation Server, which lets you set up agents that run on a schedule or in response to events.

Repository boundaries

Agent Canvas is part of a multi-repository OpenHands system. Changes should go to the repository that owns the behavior:

Repository Responsibility
OpenHands/OpenHands Agent Canvas frontend, user-facing control center, backend selection, and local-stack orchestration.
OpenHands/software-agent-sdk Python SDK, Agent Server, agents, tools, conversations, workspaces, events, and the canonical server API.
OpenHands/typescript-client Browser-compatible TypeScript client for the Agent Server API.
OpenHands/automation Automation definitions, scheduling, webhooks, run history, and dispatching.

The Agent Server API is implemented by the SDK and consumed through the TypeScript client by Agent Canvas. The automation service decides when work runs and dispatches conversations to the Agent Server/SDK, which decides what runs. See AGENTS.md for contributor-specific boundaries and the required custom code-review guide.

More documentation

  • Documentation index
  • Architecture overview
  • Development guide
  • Self-hosting guide

Issues· 865 open

View all issuesOpen on GitHub
  • #17774

    [Bug]: Planner tab fails with "Conversation file path must stay inside the workspace" on Windows local backend

    bugpriority:mediumready-for-devUpdated Sep 29, 2026
  • #17773

    [Bug]: Files tab always shows "No files in workspace" on Windows local backend

    bugpriority:lowready-for-devUpdated Sep 28, 2026
  • #17771

    Remove the unreachable non-embedded mode of AgentSettingsScreen

    enhancementUpdated Sep 28, 2026
  • #17690

    [Bug]: Automations poller calls GET /api/automation/v1 without X-Session-API-Key, raising a 401 toast every minute on self-hosted

    priority:mediumUpdated Sep 28, 2026
  • #17426

    [Bug]: Nit: agent profile says "set as active" instead of "set as default"

    bugfrontendagent-canvaspriority:lowUpdated Sep 28, 2026
  • #17766

    Document per-conversation Docker sandboxes in the README

    enhancementpriority:lowready-for-devUpdated Sep 28, 2026
  • #17763

    [Bug]: Self-hosted LOCAL_BACKEND_API_KEY is not exported to OH_SESSION_API_KEYS_0 in entrypoint.sh, causing agent-server auth bypass

    bugpriority:lowready-for-devUpdated Sep 28, 2026
  • #17765

    [Feature]: Consolidate duplicate src/context/ and src/contexts/ directories

    priority:lowready-for-devUpdated Sep 28, 2026
  • #17762

    [Feature]: First-class OpenHands integration for VS Code

    enhancementpriority:lowready-for-devUpdated Sep 28, 2026
  • #17390

    HELP: CLOUD

    bugllmcloudpriority:highsecurityUpdated Sep 28, 2026

> Tags

TypeScriptagentartificial-intelligencechatgpt

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 4, 2026
Category编程语言
PricingFree

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言