Cline


Cline is a VS Code extension that lets you work with an AI model directly from your editor—ask questions about your project, edit code, and run terminal commands without switching context.

Cline can be used as an alternative to Roo Code, which is no longer supported.

Installing Cline
Copy link

  1. Open VS Code.
  2. Go to the Extensions panel.
  3. Search for Cline and install it.

6f7a56e6 9a66 433d 817a 0eecf7a51515.png

Cline page in the VSCode interface

Once installed, a Cline tab appears in the sidebar with a chat interface.

Connection Requirements
Copy link

You can connect either an AI agent or an AI Gateway to Cline.

To connect an AI agent, you'll need:

To connect AI Gateway, you'll need:

  • Base URL: https://ai-api.hostman.com/v1
  • An API key

Configuring the Connection
Copy link

  1. Open the Cline tab.

  2. On first launch, you'll be prompted to choose an account type. Select Bring my own API key and click Continue.

932b54a2 7593 4057 B680 55bf108120fd.png

Cline setup in the VSCode interface

  1. Enter your provider settings:

    • API Provider: OpenAI Compatible

    • Base URL: your base URL

    • API Key: your API key

    • Model: if you're using an AI agent, you can leave this blank or enter the model name from your agent settings. For AI Gateway, specify the model name—for example, openai/gpt-5-nano. You can find the correct model identifier in the AI Gateway Connection tab.

  2. Optionally, configure generation parameters. These apply only when using an AI Gateway connection. Expand Model configuration and set:

    • Context Window Size: the amount of conversation history included in each request

    • Max Output Tokens: the maximum number of tokens in the model's response

    • Temperature: controls how varied the model's responses are

  3. Click Done, then click the back arrow to return to the chat.

You can now send messages to your agent or model directly from the editor.