Getting Started
This guide takes you from installing the Melius CLI to an agent working on a task in your own project. In local mode, the melius binary bundles the server, the web interface, and a connector, and stores its data in a local SQLite database on your computer.
Prerequisites
- macOS or Linux (x64 or arm64).
- A coding CLI that agents can drive, such as
claude(Claude Code). Install it and sign in first. Melius launches it on your behalf and does not manage its credentials. curlorwget.
Install the CLI
curl -fsSL https://melius.tools/install | bashThis installs the full melius CLI, which includes the local server and connector. To connect a computer to a hosted Melius account, install it the same way and run melius connector ... commands; see Setting up the connector.
The installer downloads the release for your operating system and architecture, verifies its checksum, and links melius into a directory on your path. If it reports that the install directory is not on your PATH, add the export line it prints to your shell profile. Set MELIUS_VERSION to install a specific version, or MELIUS_INSTALL_DIR to choose the install directory. Confirm the install with melius version.
Start the local server
melius server startThis starts the server in the background on port 3000, waits until it is healthy, opens http://localhost:3000 in your browser, and starts the local connector. You are signed in automatically as the local user. The server listens on the loopback interface only, so do not expose it over a network.
melius server statusshows whether the server is running.melius server logstails the server log.melius server stopstops the connector and the server.melius updatedownloads the latest release, which takes effect the next time you start the server.
Your data is stored in ~/.melius/ unless you choose another location with --config-dir or the MELIUS_HOME environment variable (see Configuration).
Guided setup
The first time you sign in with no connector, LLM provider or managed agent, Melius opens a full-screen guided setup at /welcome. It explains each piece and walks through them in order, with Back, Next and Skip for now controls:
- Connector (hosted accounts only). Install the CLI and run
melius connector activate. The command opens an activation link in your browser; confirm it there. The setup notices the new connector and moves on by itself. Melius adds a Home workspace location pointing at the computer's home directory. In local mode this step is skipped because the connector is already running. - LLM provider. Choose a provider type, review the prefilled name, and enter a default model. The model is required for API key and connector endpoint providers and optional for Connector CLI providers.
- Agent. Confirm a prefilled agent that uses the provider and model you just chose. By default the agent may read files freely, while writing files, running shell commands, network access and browser actions ask for your approval first. Choose Adjust permissions to change this.
- Finish. Choose Start chatting or Create a project.
Choose Exit setup at any time to leave. After you exit with steps still outstanding, a progress tracker appears above the chat box on the Dashboard; select a step to return to it. The tracker disappears once every step is done, and the setup does not open on its own again. This state is remembered per browser, so on a new browser where everything already exists the setup stays out of the way. The sections below describe the same steps on the regular pages.
Create a project, feature, and task
Open Projects and choose New Project. A project holds the shared context for a body of work. Give it a name and description. Choose a default workspace location in the project's workspace configuration, or select one when creating a feature or standalone task. A location specifies a path, a Git URL, or both; a Git-URL-only location uses the Clone strategy. See Workspace Locations.
Inside the project, choose New Feature and describe what you want built. A feature has its own conversation (the first tab on the feature) and planning agent, which can turn the description into a specification and break it into tasks. You can also add a task directly with New Task; state what done looks like in its description. See Projects, Features & Tasks for how context flows between them.
Tasks have keys such as MEL-12 that you can copy from a task list or detail view. Task keys cannot be edited. Projects also have a key for new tasks, while features and other resources have readable slugs. See Projects, Features & Tasks for where to find and edit these identifiers.
Start from the Dashboard
The Dashboard opens with a What would you like to work on prompt and a chat box that reads "Describe next task or ask Melius anything". Use the dropdown in the box to scope the chat to a project, or leave it on None for a general chat. When you submit, the New Chat dialog opens with your message carried over and the workspace location, connector and LLM provider already filled in, so you can choose Create without changing anything. See Conversations.
The + New menu in the top bar creates a project, feature, task or chat from any page. It preselects the project or feature you are currently viewing.
Check the connector
The connector gives agents access to your files and commands. Open Connectors and confirm the local connector is active. From the terminal, use melius connector status, melius connector start, and melius connector stop. See Setting up the connector for details.
Add an LLM provider
Open Settings and go to the LLM providers section. Add a provider with type Connector CLI, a name such as "Claude Code", your local connector, and the CLI kind you installed (for example claude). Agents linked to this provider run the CLI on your computer using the sign-in it already has. Providers that call a model API directly are also available. See LLM Providers.
Create an agent
Open Managed Agents and create an agent: enter a name, choose the connector, choose the provider you just added, and choose which tasks it picks up (any unassigned task, only tasks assigned to it, or tasks matching a filter such as project, complexity, or tag). New agents are created enabled, so the agent starts looking for work right away; you can switch it between Enabled and Disabled from its page. It picks up an eligible task, works in its workspace instance, and posts progress to the task's conversation. See Managed Agents.
Working with the agent
When an agent needs a decision, it asks a question and pauses that task; answer it from the feedback list or the task's conversation to let the work continue. The pending questionnaire is the only copy of the question until you answer; afterwards the conversation shows just your answer. If an agent is set to require approval for certain actions, those requests appear in the Inbox, along with any human stage tasks waiting for a person to complete them; both count toward the Inbox badge. When an agent finishes, the task moves to the next stage of the project's workflow, which can include automated agent review and your approval; see Feature & Task Lifecycle.
If something does not work, see Troubleshooting.