Configuration
Most configuration happens in the web interface: LLM providers, managed agents, agent profiles, and each project's workflow. A few options for the connector and the local CLI are set from the terminal or through environment variables.
LLM providers
A provider defines how an agent reaches a model. A Connector CLI provider runs a coding CLI on your computer through a connector, using that CLI's existing sign-in. Other provider types call a model API directly with a stored key, or an HTTP model server reachable through a connector. Add providers under Settings. See LLM Providers.
Managed agents
Each agent has a name, a connector, a provider, and a task selection mode: any unassigned task, only tasks assigned to it, or tasks matching a filter such as project, complexity, tag, or status. The agent's working directory comes from the task, feature, or project, falling back to the connector's home directory. See Managed Agents.
Agent profiles
Profiles describe the role an agent plays on a task, such as developer, designer-planner, or reviewer. You can assign a profile to a task and restrict a managed agent to specific profiles. See Agent Profiles.
Tool permissions and trust
By default an agent asks before running actions that require approval. Per agent you can choose to trust all tools, or set individual tools to always allow, never allow, or require approval. Requests that need approval pause the task and appear in the approvals inbox rather than blocking silently. Every tool call is recorded in an audit log. For agents on Connector CLI providers, native tools of Claude, Gemini, and Codex are disabled during agent runs so that actions go through Melius tools and these permissions.
SDLC settings
Each project has its own workflow (the SDLC) for features and tasks: stages, the profile that works in each stage, and automated agent or human review activities with pass and fail outcomes. Edit it from the project's lifecycle view. See Feature & Task Lifecycle.
Local mode and cloud
In local mode the server runs on your computer on port 3000, you are signed in automatically, and data is stored in ~/.melius/ by default (see Relocating Melius data). In the hosted service you sign in to your account and pair connectors with activation codes.
Relocating Melius data
By default the server and the connector keep all of their state in ~/.melius/. This includes config.json, the local database, logs, the sign-in key, artifacts, and the connector's own state (kept in a connector subfolder). You can place it somewhere else with either of the following. If both are set, the flag wins, and if neither is set Melius uses ~/.melius/.
- The
--config-dir <path>option onmelius. - The
MELIUS_HOMEenvironment variable.
Processes that Melius starts for you, such as the background server and connector, use the same directory. Two instances with different directories share no state, which makes it possible to run isolated copies side by side, for example one for experiments:
melius server start --config-dir ~/melius-experiments
MELIUS_HOME=~/melius-work melius server startTo let the operating system choose a free port for an instance, set "port": 0 in that directory's config.json. The port in use is written to server.port in the same directory.
Connector options
View and change connector settings with melius connector config list, config get <key>, and config set <key> <value>. The keys are log-level, server-url, and device-name. Update behavior can be controlled with the environment variables MELIUS_UPDATE_ENABLED, MELIUS_UPDATE_INTERVAL, and MELIUS_UPDATE_AUTO_INSTALL.