Choose An Install Method
If you are new to Agent Canvas, use
npx for a quick first run or npm local install if you want a reusable agent-canvas command. Use Docker when you specifically want sandboxing.Verify Prerequisites
- npm
- Docker
- npx
Termux and other mobile Linux environments are not a primary supported target. For the most reliable local setup, use macOS, Linux, Windows with PowerShell, or Windows with WSL2.
Install And Run
- npm
- Docker
- npx
- From Source
Install the published package globally:Start the full local stack:Agent Canvas starts on
http://localhost:8000 by default. If your browser does not open automatically, open that URL manually.Confirm It Started
After startup:- Open
http://localhost:8000. - Confirm the default local backend shows as connected.
- Open
Settings > LLMand configure a model. - Choose
Open Workspacebefore starting a conversation if you want the agent to work in a specific folder. - Return to the home screen and start a conversation.
Run Agent Canvas Again
After you close the terminal or restart your computer, start Agent Canvas with the same command you used to install it. Keep that terminal or Docker container running while you use the browser UI.- npm
- npx
- Docker
Common Startup Options
If port
8000 is already in use, start Agent Canvas on another port:
Environment Variables
Stop Agent Canvas
- npm
- npx
- Docker
Return to the terminal running Agent Canvas and press
Ctrl+C.Update Agent Canvas
- npm
- npx
- Docker
Stop Agent Canvas, then reinstall the latest package:
~/.openhands mount.
Recover or reset: Use Troubleshooting when the browser is blank, a port is busy, the backend is unreachable, a model or API key fails, or an update or uninstall is stuck. It also explains clean removal and reinstall.
Uninstall Agent Canvas
- npm
- npx
- Docker
Stop any running Agent Canvas process, then uninstall the package:If Windows reports that
uv.exe or another file is in use, close terminals running Agent Canvas, stop related processes, and run the uninstall command again.~/.openhands.
Desktop App (Preview Build)
The Agent Canvas desktop app for macOS and Windows is an early preview build ready for user testing. It bundles the Node.js anduv runtimes, so you do not need to install prerequisites or keep a terminal open.
Please join the OpenHands Slack community to share feedback and open an issue for problems you find while testing the preview.
Install and Run
Download the installer for your operating system from the OpenHands releases page. macOS (Apple silicon)- Download the
Agent-Canvas-<version>-arm64.dmgfile. - Open the disk image and drag Agent Canvas to Applications.
- Launch Agent Canvas from Applications.
- Download the
Agent-Canvas-Setup-<version>.exeinstaller. - Run the installer. If Windows SmartScreen prompts you, confirm that you want to continue.
- Launch Agent Canvas from the Start menu.
Troubleshooting and Lifecycle
On macOS, the app is ad-hoc signed. If macOS reports that Agent Canvas is damaged or cannot be opened, clear its quarantine attribute in Terminal, then launch it again:xattr -cr; that command does not clear this issue on macOS Sequoia.
To stop the app, quit Agent Canvas from its application menu or window controls. To update it, download and install the latest desktop release; Settings > Application also shows the installed version and can check for updates. To uninstall, quit the app and move it to the Trash on macOS or uninstall it from Installed apps on Windows.

