When To Use Agent Canvas
Choose the path that matches where and how you want your agents to run:How Agent Canvas Works
Agent Canvas has four pieces to understand:
The browser UI is a client of the selected backend. Conversations, settings, secrets, LLM profiles, MCP servers, skills, and automations persist on that backend. The workspace and tools run where that backend runs.
Switching backends switches the environment the agent is using. For details on how conversations and workspaces remain separate, see Conversations and Backends.
Choosing A Trust Boundary
Before installing, decide where you want the agent to run and what files it should be able to access.What Happens When You Close the Terminal?
For a local npm or npx installation, closing the terminal stops the Agent Canvas process, so the browser UI can no longer use its local backend. Start Agent Canvas again with the same command to continue. A Docker container, VM, or cloud backend continues running until that backend is stopped. See Install to restart Agent Canvas and Troubleshooting if the browser cannot reconnect.Model Access
Agent Canvas supports several model access patterns:- Direct provider key — enter an API key from Anthropic, OpenAI, Google, or another supported provider.
- OpenHands LLM API key — use an OpenHands LLM API key for verified hosted models.
- ACP agent subscription login — use a signed-in provider, such as Claude Code, Codex, or Gemini, when the backend runs on the same machine as that login.
- Local or OpenAI-compatible provider — connect providers such as Ollama, LM Studio, LiteLLM, or a compatible gateway through model settings.
How It Fits With Other OpenHands Products
Agent Canvas vs “openhands serve”
agent-canvas starts the current Agent Canvas UI and backend stack. openhands serve starts the legacy OpenHands CLI GUI server and will not run if you have only installed agent-canvas.
How Conversations and Workspaces Are Isolated
A conversation belongs to one active backend and has its own history, agent configuration, and backend-managed state. Its workspace is the folder, mount, or sandbox attached to that backend. Start a new conversation for a separate task, or branch a conversation to explore another path while preserving the original.Before You Start
For the normal local setup, you need:- Node.js 22.12 or later
npm- A model access path, such as a provider API key, OpenHands Cloud LLM key, ACP subscription login, or local model server
- A folder, repository, or project workspace for the agent to work in

