LLM Providers
An LLM Provider is how Melius talks to an AI model. It's a single thing you configure once — from the LLM Providers settings page — and then reuse anywhere Melius needs to call a model: Conversations and managed agents both work by picking a provider (and, for most provider types, a model) rather than each having their own separate API configuration.
The three provider types
When creating a provider, you first choose its type:
- Local CLI — a CLI-based coding agent binary (Claude Code, Codex, or a custom command) that Melius runs through a connector rather than an HTTP API. It's usually the easiest option, since it lets you use CLIs and subscriptions you already have instead of setting up separate API billing. A model is optional for this type — the CLI's own default, or a
--modelargument, applies if you leave it blank. - API Key — the simplest option to set up. Pick a service (Anthropic or OpenAI) and paste in an API key. No connector required; Melius calls the provider's API directly. Use this when you just want to use a hosted model.
- Local Endpoint — an HTTP endpoint reachable through one of your connectors, for example a local Ollama server. You give it the connector to route through, a base URL, and any headers it needs. Melius can discover available models from the endpoint automatically, or you can enter a model name manually.
The Local CLI and Local Endpoint types are both accessed through a connector and need one activated first — see the Connector docs for setup. The API Key type doesn't need one.
Where providers are used
A Conversation picks a provider (and model) to talk to when you start it. A managed agent binds to a provider the same way — see the Managed Agents docs for how that binding works, including the legacy path for agents created before this system existed.