Coding tools
A handoff. We generate the config for a coding tool, set the environment it needs, and start it. You spend no time figuring out where each tool keeps its provider config or which env var it reads for an API key.
melious launchThat runs your default tool. Name a tool to launch a specific one:
melious launch opencodeSupported tools
| Tool | Command | How we wire it | Our pick |
|---|---|---|---|
| OpenCode | opencode | Generated JSON config | ✓ |
| Claude Code | claude | Anthropic-style env vars | — |
| Mistral Vibe | vibe | Generated TOML + .env | — |
We default to OpenCode because it uses tokens efficiently and runs anywhere we do. Claude Code is great, but it spends tokens like it's writing an essay — see the note under its section before you pick it.
OpenCode
Open-source terminal coding agent, efficient, fast.
melious launch opencode does four things:
- Generates an
opencode.jsonwith Melious registered as a provider - Populates the model list from our catalog, with real context lengths
- Sets
OPENCODE_CONFIGandMELIOUS_API_KEY - Starts
opencode
Install:
curl -fsSL https://opencode.ai/install | bashnpm install -g opencode-aiRequires Node.js and npm.
Or let us do it:
melious tools install opencodeClaude Code
Anthropic's agentic coding tool.
Claude Code uses noticeably more tokens than OpenCode or Vibe on the same task. That's real money through any provider, not a Melious thing. If cost matters to you, start with OpenCode and only reach for Claude Code when you've hit a wall.
melious launch claude-code does four things:
- Sets Anthropic-compatible env vars:
ANTHROPIC_BASE_URL→https://api.melious.aiANTHROPIC_AUTH_TOKEN→ your API keyANTHROPIC_MODEL→ your main modelANTHROPIC_SMALL_FAST_MODEL→ your lightweight model- Tier mapping:
opus→ main,sonnet→ secondary,haiku→ lightweight
- Disables telemetry (
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1) - Extends the request timeout to 50 minutes (
API_TIMEOUT_MS=3000000) - Starts
claude
Install:
curl -fsSL https://claude.ai/install.sh | bashpowershell -ExecutionPolicy ByPass -c "irm https://claude.ai/install.ps1 | iex"Mistral Vibe
Mistral's open-source terminal coding agent. Python, multi-provider.
melious launch vibe does three things:
- Generates
config.tomlwith Melious as an OpenAI-compatible provider - Writes a
.envwith your API key - Sets
VIBE_HOMEto the generated config directory and startsvibe
Install:
curl -LsSf https://mistral.ai/vibe/install.sh | bashuv tool install mistral-vibeRequires uv.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--model | string | from config | Override the main model |
--secondary | string | from config | Override the secondary model |
--lightweight | string | from config | Override the lightweight model |
--preset | string | from config | Routing flavor. See Routing. |
--no-install | bool | false | Don't offer to install a missing tool |
Passing flags through
Anything after -- goes straight to the underlying tool:
melious launch opencode -- --debugPer-tool model overrides
When you need a specific tool to use a different model from the global default:
melious tools model opencode deepseek-v3.2The override lives in tool_models in your config and only applies when launching that tool. See Managing tools.
Changing the default tool
melious config set defaults.tool opencodeImage generation
Turn a prompt into a file on disk — and, on a capable terminal, an image drawn inline right after the command.
Managing tools
The admin surface for coding tools melious launch hands off to. Install, update, override their models, and let the CLI find and fix the usual PATH problems when something doesn't run.