Skip to content

Cline

Cline is an open-source AI coding agent that runs as a VS Code / Cursor extension. All config happens inside the IDE plugin UI — platform-independent.

Get an API key first — see Common setup.

Install the extension

In VS Code / Cursor:

  1. Open Extensions (Cmd/Ctrl + Shift + X)
  2. Search cline
  3. Install Cline (prev. Claude Dev)

Configure PrimeRouter

  1. Open the Cline sidebar (robot icon on the left)

  2. Top-right ⚙️ → Settings

  3. API ProviderOpenAI Compatible

  4. Fill:

    Base URL:  https://primerouter.ai/v1
    API Key:   sk-your-primerouter-key
    Model ID:  claude-sonnet-4-6
  5. Enable "Enable streaming"

  6. Enable tool-use related toggles for agent behavior

  7. Save

Plan / Act with different models

Cline supports separate Plan and Act models:

ModeModelWhy
Planclaude-opus-4-7complex reasoning + long context, worth the tokens
Actclaude-sonnet-4-6fast and cheap, single-step actions

Context window

Cline defaults to 200K, which works fine for the Claude family.

Custom Instructions

Use Cline's Custom Instructions to add project-level rules ("tests use jest", "frontend uses Semi") so you don't repeat yourself.

Built for transparent, auditable, crypto-native AI inference. About · Terms · Privacy