VOOZH about

URL: https://docs.openhands.dev/openhands/usage/agent-canvas/backends

⇱ Backends - OpenHands Docs


Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
A backend is an agent server and the workspace it operates in. All conversations, settings, and automations run against whichever backend is currently selected.

Connecting to a Backend

Any Agent Canvas frontend can connect to any Agent Canvas backend. Use the backend switcher in the UI to open Manage Backends, where you can add, edit, or remove entries. Each entry stores a display name, host URL, and an API key for authentication. Settings, LLM configuration, MCP servers, and automations are all scoped to the active backend — switching backends switches all of these.
SetupWhen to useHow
Default localQuick local work on your machineRun agent-canvas — a local backend is created automatically
Backend-only (local)Multiple projects, or separate frontend and backend processesRun agent-canvas --backend-only (optionally on different ports), connect with --frontend-only. See Local Backend.
Self-hosted VMAlways-on server, more powerful hardware, team-shared access, or a full self-hosted CanvasRun agent-canvas --backend-only --public for backend-only mode, or agent-canvas --public for the full UI and backend. Expose it with SSH, ngrok, or a reverse proxy. See VM / Self-Hosted Installation.
CloudManaged sandboxes without local resourcesConnect to OpenHands Cloud from Manage Backends. See Cloud Backend.
ModalCloud backend with per-second billing, no VM managementDeploy the agent server on Modal with a single command. See Modal Backend.

Was this page helpful?

⌘I
Assistant
Responses are generated using AI and may contain mistakes.