- npm
- Docker
Prerequisites: Node.js 22.12 or later, Run:By default, Agent Canvas starts on
npm, and uv.Install:http://localhost:8000.CLI Flags
| Flag | Description |
|---|---|
-p, --port <port> | Set the ingress port (default 8000) |
--public | Enable public mode — requires LOCAL_BACKEND_API_KEY. The key is not injected into the frontend; users must enter it when the UI loads. Use this for any deployment reachable by others. See VM / Self-Hosted Backend. |
--backend-only | Start only the backend behind ingress (no frontend). Use this to run a headless backend on a VM or server. |
--frontend-only | Start only the static frontend behind ingress (no agent server or automation). Use this to point a local UI at a remote backend. |
-v, --version | Show the version number |
--info | Show the version and default stack configuration (agent server version, ports, etc.) |
-h, --help | Show the built-in help output |
Environment Variables
| Variable | Purpose |
|---|---|
LOCAL_BACKEND_API_KEY | API key for the server. Required in --public mode; optional otherwise (auto-generated and persisted across restarts). |
OH_SECRET_KEY | Secret used to protect stored settings and secrets |
OH_AGENT_SERVER_VERSION | Pin a specific agent server version (e.g. 0.1.0) |
If you want to clone the repository, run custom dev modes, or configure Vite-specific environment variables, use the Contribute / Development guide instead.
First Steps After Launch
After the UI opens:- Confirm the default local backend is healthy.
- Open
Settings > LLMand configure a provider, model, and API key. - Open
Customizeif you want to add skills or MCP servers. - Return to the home screen and enter a prompt to start your first conversation.
- If you want the conversation tied to a local folder, choose
Open Workspacefirst.

