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
- Open VS Code.
- Go to the Extensions panel.
- Search for Cline and install it.

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
-
Open the Cline tab.
-
On first launch, you'll be prompted to choose an account type. Select Bring my own API key and click Continue.

Cline setup in the VSCode interface
-
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.
-
-
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
-
-
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.