Client Configurator & Model Auto-Generation
The Client Configurator (/configurator) is an interactive tool built directly into Eluvix that automatically discovers all models running on your local machine and upstream providers, and generates tailored configuration files and snippets for developer tools and AI coding assistants.
Supported AI Clients & Tools
| Client / Tool | Configuration Target | Features Supported |
| :--- | :--- | :--- |
| OpenCode | ~/.config/opencode/opencode.json | Model presets, context limits, one-click local auto-apply |
| Continue.dev | ~/.continue/config.json | Tab autocomplete & chat models array, one-click auto-apply |
| Cursor & Windsurf | OpenAI Compatible Settings | Dedicated Base URL, API key, and model copy buttons |
| Aider | ~/.aider.conf.yml or CLI flags | Quick run shell one-liner and YAML config snippet |
| Cline / Claude Dev | Custom OpenAI Compatible Provider | JSON schema for direct import into Cline settings |
| Python / LiteLLM / LangChain | openai Python SDK | Streaming and completion code examples |
| Shell & .env | Environment variables | OPENAI_BASE_URL, OPENAI_API_KEY, NODE_EXTRA_CA_CERTS |
Connection Protocols
Eluvix supports two network interfaces for tool integrations:
1. HTTPS (https://127.0.0.1:3588/api/v1) — Recommended
- Encrypted local TLS using
mkcert. - Ideal for browser-based extensions, secure web clients, and tools where TLS is mandatory.
- For Node.js-based tools (like OpenCode or VS Code extensions), export the trusted local root CA:
export NODE_EXTRA_CA_CERTS="$HOME/.local/share/mkcert/rootCA.pem"
2. HTTP (http://127.0.0.1:3580/api/v1) — Loopback
- Plain loopback HTTP listener that directly serves all
/api/endpoints without SSL/TLS overhead or certificate trust requirements. - Ideal for CLI tools, Python scripts, or terminal agents that do not load local root CA certificates.
- Browser HTML navigation to port 3580 is automatically upgraded to HTTPS, while
/api/*endpoints are processed directly over HTTP.
Dynamic Model Discovery & Sync
The Configurator features an active upstream discovery scanner:
- Click Scan Upstreams in the Configurator header.
- Eluvix queries all configured backends:
- Lemonade Router (
:13305) - Local Ollama (
:11434) - Local vLLM / vLLM-sr (
:8000,:8001) - Google Antigravity Agent (
agyCLI) - Claude Code Agent (
:8082) - Billama Cloud
- Lemonade Router (
- Detected models automatically populate the selection matrix with appropriate context window lengths and max completion output token limits.
One-Click Local Configuration Application
For locally installed tools like OpenCode and Continue.dev, the Configurator can apply the configuration directly to your system:
- Select your desired models in the Model Selection table.
- Select your preferred protocol (HTTPS or HTTP).
- Open the OpenCode or Continue.dev tab.
- Click Apply to Local Config.
- Eluvix safely creates an automatic timestamped backup (e.g.
opencode.json.bak-<timestamp>), merges theEluvixprovider and models into your configuration file, and validates the output.
You can verify the configuration immediately in your terminal:
opencode models Eluvix
Scoped API Key & Paperclip Policy Manager (Scoped Keys Tab)
Admin sessions can open the Scoped Keys tab inside /configurator (backed by GET / POST / DELETE /api/v1/keys) to mint, inspect, and revoke elx_... tokens:
- Select granular
ApiKeyScopepermissions (chat,embeddings,audio,mcp,evals:live,export,admin:config,batches,rerank,prompts,webhooks,paperclip,*), per-keyrpm, andmaxDailySpendUsd. - Attach Paperclip Governance constraints directly on a key (
companyIdsallowlist,maxTier,maxCostPer1kUsd, and an optional per-keyhmacSecretacceptingSecretRefpointers such asenv:...orfile:...). - Plaintext keys are displayed once on creation; key hashes are never returned and literal
hmacSecretstrings are masked in key listings.
OpenCode as a Multica Model Backend (Eluvix → Multica)
Multica drives agent CLIs on operator machines and never proxies model calls, so Eluvix serves as the model backend by pointing the daemon machine's OpenCode provider at Eluvix's OpenAI-compatible endpoint. The web gateway (port 3588) is the primary target. This integration is built on Multica: Eluvix talks to a separately deployed Multica over its API/CLI and never bundles, vendors, or embeds it.
1. Mint a chat-scoped key
In the Scoped Keys tab above (admin role required), mint an elx_... key with the chat scope and a maxDailySpendUsd cap — that cap is what bounds what Multica runs can spend. The key is shown once on creation.
2. Add the provider on the daemon machine
Add this block to ~/.config/opencode/opencode.json on the machine that runs the Multica daemon. Use the exact model ids from GET /api/v1/models (the example uses qwen2.5-coder from the default local Ollama upstream). Put the key in the daemon environment as ELUVIX_API_KEY — never in the JSON file or in git.
{
"$schema": "https://opencode.ai/config.json",
"providers": {
"eluvix": {
"name": "Eluvix",
"env": ["ELUVIX_API_KEY"],
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "http://127.0.0.1:3588/api/v1"
},
"models": {
"qwen2.5-coder": { "name": "Qwen 2.5 Coder (via Eluvix)" }
}
}
}
}
The desktop server is the alternative target: baseURL http://127.0.0.1:3001/v1 with the per-install chat desktop token from ~/.config/eluvix/desktop-token as the credential (inference + read-only discovery only; admin routes need the admin token in desktop-admin-token — send it as Authorization: Bearer or the x-eluvix-desktop-token header). Both servers are verified for the OpenCode path: streaming SSE with tool_calls, non-streaming JSON, model discovery (GET /v1/models lists configured models plus auto), and the 401 auth envelope — including SSE synthesis when an upstream answers JSON to a stream: true request.
3. Wire the provider into Multica
Per-agent delivery uses Multica's own env injection:
# At agent creation
multica agent create --custom-env-file ./eluvix-env.json
# Or afterwards (replaces the whole set; keys set to **** keep their value)
multica agent env set <agent-id> --custom-env-stdin < ./eluvix-env.json
The model is then referenced as eluvix/qwen2.5-coder when creating the agent or picking a model, and Multica's picker lists the Eluvix-served models from the runtime catalog.
Topology
The Multica server runs in-cluster (VOW Helm install) while the Multica daemon and Eluvix run on the same operator machine, so OpenCode reaches Eluvix over loopback: http://127.0.0.1:3588/api/v1 — plain HTTP on loopback stays plain by design. Use https://127.0.0.1:3588/api/v1 with NODE_EXTRA_CA_CERTS="$HOME/.local/share/mkcert/rootCA.pem" only if the tool requires TLS. Runs execute on the daemon machine, not in the cluster — the cluster only hosts the Multica server.
Verify with opencode models Eluvix on the daemon machine, then assign a Multica issue to the agent and watch the run tokens flow through Eluvix routing, cost caps, and observability.