Home / Agents / Cline

Cline

Autonomous coding agent inside your IDE

Cline OpenAI-compatible VS CodeJetBrainsCLI

Cline is an open-source autonomous coding agent that runs as an IDE extension (VS Code / Cursor / JetBrains and more) or as a CLI. It reads files, writes code and runs commands with your approval on each step, and supports any OpenAI-compatible endpoint — good for engineers who want to bring their own model access inside their editor.

Base URL (root)https://quantoport.comPut this in each tool's base_url or *_BASE_URL setting.
OpenAI-compatible pathhttps://quantoport.com/v1Append /v1 for anything speaking the OpenAI wire (/v1/chat/completions).
Recommended modelsdeepseek-v4.1-flashclaude-sonnet-5glm-5.3Names published in our own catalogue — confirm the live list for your key with GET /v1/models.

Skip it — one-line setup

The script installs Cline from its official source, writes the gateway settings into the tool's own config file (backing up any existing one) and runs a live check. It asks for your gateway key, or take it from --key / --key-file. --uninstall restores exactly what it wrote.

shell
curl -fsSL https://quantoport.com/agents/cline/setup | bash

1 · Install

Install Cline from its own official source.

install
Install the "Cline" extension from the VS Code / Cursor / Windsurf / JetBrains marketplace; CLI route: npm install -g cline

2 · Configure — point it at QuantoPort

Gateway base URL https://quantoport.com; get your key from the console.

config
IDE extension: open Cline settings (gear icon) -> API Provider = "OpenAI Compatible" -> Base URL = https://quantoport.com/v1 -> API Key = your key -> Model = <model-id> -> click Verify.
CLI: cline auth -p openai-compatible -k "YOUR_API_KEY" -b "https://quantoport.com/v1" -m "<model-id>"
On the China endpoint use https://api.shinlinkai.com/v1 for the Base URL / -b (OpenAI wire only). Provider settings are stored in ~/.cline/data/settings/providers.json.

3 · Verify

One request proves you are on our channel.

verify
cline "reply with OK"

4 · Common pitfalls

  • Do not use the official https://api.openai.com/v1 as the Base URL, or requests will not hit our gateway.
  • The CLI needs Node.js 20+ (22 recommended); the provider id is openai-compatible (the default is cline).
  • If context length, images or tool calling misbehave, set Context Window, Image Support and Computer Use manually in Model Configuration.
  • Use CLINE_DIR (or --config) to relocate the config directory and CLINE_DATA_DIR to relocate the data directory.

Sources for the tool-side steps: docs.cline.bot/provider-config/openai-compatible docs.cline.bot/cli/cli-reference docs.cline.bot/getting-started/config docs.cline.bot/sdk/model-providers