Agent Canvas from the repo
Needs Node.js 24 or later and uv. This runs the agent server on your machine with access to your files, so read the README warning first.
npm install -g @openhands/agent-canvas
agent-canvas
Source: README.md, Option 1. Then open http://localhost:8000.
Docker sandbox
export PROJECTS_PATH="$HOME/projects"
mkdir -p "$PROJECTS_PATH" "$HOME/.openhands"
docker run -it --rm \
-p 127.0.0.1:8000:8000 \
-e AGENT_CANVAS_ALLOW_LAN_SESSION_KEY=true \
-v "$HOME/.openhands:/home/openhands/.openhands" \
-v "${PROJECTS_PATH}:/projects" \
ghcr.io/openhands/agent-canvas:1.29.0
Source: README.md, Option 2. Docker serves the UI at http://localhost:8000/canvas.
One container per conversation
npm install -g @openhands/agent-canvas
OH_CONVERSATION_RUNTIME=docker agent-canvas
Source: README.md, Option 3.
From source
git clone https://github.com/OpenHands/OpenHands.git
cd OpenHands
npm install
npm run dev
Source: README.md, Option 4.