Skip to main content

What is Cline

Cline is an open-source coding agent for the terminal and for VS Code. Its OpenAI Compatible provider sends model requests to Capriole AI through Chat Completions.

Prerequisites

Before you begin, make sure you have:

Installation

Install the Cline CLI with npm:
Verify the install:

Configuration

Model validation

Cline CLI 3.0.73 passes a file-read, file-write, and final-answer check through Capriole AI with every model in Supported models, using the configuration below. Save Capriole AI as the provider:
What each setting does:
  • -p openai-compatible uses Cline’s OpenAI Compatible provider, which sends the key as a Bearer token.
  • -b is the base URL. It includes /v1, because Cline adds /chat/completions itself.
  • -m is the default model.
Cline saves these values in ~/.cline, so you run cline auth once. In the VS Code extension, open Cline’s settings, choose OpenAI Compatible, and enter the same base URL, API key, and model ID.

Run Cline

Start Cline from your project directory:
For a one-off task, pass the prompt. Use -m to pick another model for that run:

Supported models

All models use Chat Completions. openai-latest and claude-latest always point to our latest flagship in each family. GET https://api.caprioletech.com/v1/models lists every model ID.

Troubleshooting

Why does Cline return an authentication error?

Run cline auth again with your current Capriole AI API key.

Why does a Claude model fail with Unsupported chat model_key?

On Chat Completions, use the anthropic/-prefixed Claude IDs, such as anthropic/claude-opus-5-5. The bare IDs, such as claude-opus-5-5, are for Anthropic Messages.

Why do requests fail with endpoint errors?

Confirm that the base URL is https://api.caprioletech.com/v1.

Notes

Last modified on October 20, 2026