Private by default
Melius documentation
All docs
User Guide · 3 min read

Connector

The Connector is a small app you install on your own computer that gives Melius permission to act there: running commands and reading or writing files. It's what lets a managed agent (or a Conversation) actually do work on your machine instead of just talking about it. Local CLI providers run through a connector, and tasks, features, and conversations use sources on a connector through Workspace Locations.

Setting it up

Setup has three steps: install, start activation, and finish in Melius.

1. Install

Install the melius CLI, which includes the connector:

curl -fsSL https://melius.tools/install | bash

2. Start activation

Run melius connector activate. It displays an activation code.

3. Finish in Melius

Back in Melius, go to Connectors and choose Activate Connector. Give it a name and enter the activation code. Then run melius connector start if the connector is not already running. Once activated, it appears in your Connectors list and is ready to be selected on a managed agent or Conversation.

Browser automation

When an agent or Conversation is allowed to use browser tools, the browser runs on the connector of the task's Workspace Location, the same computer where file and command tools run. It is a headless Chromium, so no browser window appears on your machine. Sessions are not persisted, and they are closed when the agent run or Conversation ends or the connector disconnects. See the MCP Server docs for the tools and the Managed Agents docs for permissions.

The connector finds a Chromium-based browser the first time a browser tool is used, so there is nothing to configure for the full CLI install or the connector-only install. macOS, Linux, and Windows are supported. If it cannot find one, it downloads Chromium automatically, which needs network access and Node.js with npm available on the connector's PATH. The first call can take a couple of minutes while this happens. Installing Google Chrome beforehand avoids the download. If the browser cannot be started, the tool call returns a clear error describing the options rather than failing silently.

HTTP requests

The melius__network__http_request tool runs on the connector, so it can reach localhost and networks accessible from that machine, subject to network permissions and address restrictions. The connector must be online and running a version that supports this tool; update the connector if it does not recognize the request. See the MCP Server docs for parameters, permissions, and restrictions.

Using it

Once a connector is active, the natural next step is creating an LLM Provider that routes through it — either a Local Endpoint (an HTTP model server like a local Ollama) or a Local CLI (a CLI coding agent binary). That provider is then what you select when creating a managed agent or starting a Conversation; the connector itself is what gives either one access to run commands on your machine. By default, the assistant asks for permission before running a command; you can enable "trust all tools" to let it run Connector commands without asking each time. Every command it runs is recorded in the connector's audit log, visible from that connector's detail page.

A Workspace Location identifies a source on a connector by a path, a Git URL, or both. Browse the connector's file system while it is online to select a path, or enter a Git URL. A Git-URL-only location uses the Clone strategy.