OpenHands is a self-hosted developer control center for coding agents and automation tasks. Its core component, Agent Canvas, lets users run a variety of agents across local, remote, and cloud backends, including the open-source OpenHands agent, as well as third-party agents such as Claude Code, Codex, Gemini CLI, Pi, and OpenCode, or any ACP-compatible agent.
In terms of use, Agent Canvas is designed to turn coding agents into a self-hosted, always-on engineering team for initiating conversations and automating routine tasks, such as generating reports and posting them to Slack, or automatically breaking down GitHub issues into tasks. It supports triggering agents through third-party services such as Slack, GitHub, and Datadog.
Key capabilities include: support for connecting multiple "agent backends," such as running agents in Docker containers, virtual machines, or company infrastructure; the ability to switch between different backends in the same Agent Canvas frontend, such as a team-shared Agent Server for code review and dependency updates, while personal agents run locally. OpenHands is supported by the Agent Server's REST API, can run multiple agents on a single machine, and is often paired with Automation Server to run agents on a schedule or in response to events.
Usage offers multiple installation options:
Option 1: No sandbox. Run agent-server directly on the installation machine, and the agent will have full access to the file system. Prerequisites: Node.js 24 or later, uv. The agent-canvas command starts the full local stack by default.
Option 2: Use a Docker sandbox. Prerequisites: Docker (Docker Desktop on macOS/Windows, Docker Engine/Docker Desktop on Linux), and a host directory PROJECTS_PATH for storing the project folders the agent needs to access, which must be created before starting the container. For Windows, refer to README.windows.md.
Option 3: Use multiple Docker sandboxes. Each new conversation runs in a separate Docker container with its own Agent Server andtools, suitable for running multiple agents concurrently. Prerequisites: Node.js 24 or later, uv, and a running Docker Desktop (macOS) or Docker Engine/Desktop (Linux). The user starting Canvas needs to be able to execute docker commands. Visit http://localhost:8000 and start a new conversation.
Option 4: Install from source. Prerequisites: Node.js 24 or later, npm, uv (used to run the agent server via uvx). The UI access address is http://localhost:8000(npm/源码启动器)或 http://localhost:8000/canvas(Docker image). Additional backends can be added directly from the UI.
Regarding security and networking: the local (npx / npm run dev) listener binds only to the loopback address (127.0.0.1), to prevent the automatically injected session key from being accessed by other machines on the network. If you need to listen on all interfaces, you can pass --host 0.0.0.0 (or set OH_BIND_HOST); in that case no session key is injected, and the UI uses the same API key input interface as --public. Docker listens on all container interfaces to facilitate port publishing, but by default does not inject the session key into the HTML. The quick-start example explicitly enables injection while publishing only the host port to 127.0.0.1. If you publish Docker to a LAN or public interface, you should omit AGENT_CANVAS_ALLOW_LAN_SESSION_KEY and enter the API key in the UI. Set LOCAL_BACKEND_API_KEY to a strong value, or obtain the generated value via docker exec <container> sh -c 'cat "$STATE_DIR/api-key.txt"'. Internet-facing installations must follow the self-hosting guide.
Applicable scenarios include: running agents on a laptop, a dedicated computer such as a Mac Mini, or a cloud server; the cloud server approach allows the agent to continue running when the laptop is closed and makes it easier to trigger via third-party services; a team sharing an Agent Server for code review and dependency updates while personal agents run locally; running multiple agents concurrently; and setting up automated tasks that run on a schedule or in response to events.
Limitations and caveats: in no-sandbox mode the agent has full filesystem access; conversations using the same host workspace share files, so choose separate directories or worktrees to avoid edit conflicts; a multi-Docker sandbox setup only isolates conversation execution and does not move the entire Canvas or automation service into the sandbox; the local listener binds only to the loopback address, so network access requires explicit configuration and attention to security; internet-facing installations must follow the security hardening guide.