Editors and CLI Agents
Cursor, Continue, Cline, Aider and any OpenAI-compatible editor: change the base URL and reload the model list.
This is the largest group of clients and the one that needs no code at all. If an app offers an OpenAI-compatible or custom base URL setting, it already speaks our dialect.
What to enter
| Field | Value | Why |
|---|---|---|
| Base URL / API base | https://zyraxonai.lovable.app/api/public/zyraxon/v1 | |
| Model | zyraxon-codex | |
| API key | zyraxon |
Steps
- 01Find the provider or model settings in the app.
- 02Choose the OpenAI-compatible / custom option.
- 03Paste
https://zyraxonai.lovable.app/api/public/zyraxon/v1as the base URL andzyraxon-codexas the model. - 04Put
zyraxonin the key field if the app insists on one. - 05Reload the app so it re-fetches the model list.
Continue (config.json)
{
"models": [
{
"title": "ZYRAXON",
"provider": "openai",
"model": "zyraxon-codex",
"apiBase": "https://zyraxonai.lovable.app/api/public/zyraxon/v1",
"apiKey": "zyraxon"
}
]
}Aider
export OPENAI_API_BASE="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_KEY="zyraxon" aider --model openai/zyraxon-codex
Generic environment variables
Most command-line agents read one of these names. Setting all three is harmless and saves guessing which one your tool wants.
# Many CLIs read these directly. export OPENAI_BASE_URL="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_BASE="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_KEY="zyraxon"
VS Code: Cline, Roo Code, Kilo Code, Copilot Chat
The VS Code agent extensions expose the same OpenAI-compatible provider, so the same two values work in all of them.
// Cline / Roo Code / Kilo Code (VS Code settings.json)
// These extensions expose an "OpenAI Compatible" provider.
{
"cline.apiProvider": "openai",
"cline.openAiBaseUrl": "https://zyraxonai.lovable.app/api/public/zyraxon/v1",
"cline.openAiApiKey": "zyraxon",
"cline.openAiModelId": "zyraxon-codex"
}// VS Code + GitHub Copilot Chat, "Bring your own model" style providers, // or any extension that reads the OpenAI base URL from the environment. export OPENAI_BASE_URL="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_BASE="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_KEY="zyraxon" # Then start VS Code from that shell so it inherits the variables. code .
Zed
// Zed — settings.json
{
"language_models": {
"openai": {
"api_url": "https://zyraxonai.lovable.app/api/public/zyraxon/v1",
"available_models": [
{ "name": "zyraxon-codex", "max_tokens": 16000 }
]
}
}
}Ollama-style and LocalAI-style clients
A client that expects a local model server on localhost can be pointed at us instead — it speaks the same dialect.
# Any client that speaks "Ollama" or "LocalAI" over an OpenAI-compatible # /v1 base works too — point it at us instead of localhost. export OLLAMA_HOST="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_BASE_URL="https://zyraxonai.lovable.app/api/public/zyraxon/v1" export OPENAI_API_KEY="zyraxon" # Verify the same way any OpenAI client would: curl -s "https://zyraxonai.lovable.app/api/public/zyraxon/v1/models" | jq -r '.data[].id'
MCP servers and agent tool hosts
An MCP server or any agent framework can use ZYRAXON as its model and keep its own tools; they travel in the request and come back as real tool calls.
// An MCP server, or any agent tool host, can call ZYRAXON as its model.
// The tool definitions travel in the request; the model returns real calls.
{
"model": "zyraxon-codex",
"messages": [{ "role": "user", "content": "Read package.json and summarise it." }],
"tools": [
{
"type": "function",
"function": {
"name": "read_file",
"description": "Read a file from the working directory.",
"parameters": {
"type": "object",
"properties": { "path": { "type": "string" } },
"required": ["path"]
}
}
}
]
}Notes
- ▸Some editors cache the model list at install time. Reload after changing the base URL, or the old list keeps being offered.
- ▸If an editor only accepts a fixed set of model names, pick the closest ZYRAXON id — the model id is a name, not a capability gate.