VS Code

Use APIClaw with VS Code through Continue, GitHub Copilot Chat custom endpoints, or dedicated extensions.

Prerequisites

  1. Create an API key in the API Keys dashboard.
  2. Copy a full model ID from the model hub.

Install Continue from the marketplace, then edit ~/.continue/config.yaml (Windows: %USERPROFILE%\.continue\config.yaml):

yaml
name: APIClaw config
version: 1.0.0
schema: v1
models:
  - name: APIClaw
    provider: openai
    model: YOUR_MODEL_ID
    apiBase: https://apiclaw.biz/v1
    apiKey: sk-your-apiclaw-key
    capabilities:
      - tool_use
      - image_input
    roles:
      - chat
      - edit

capabilities overrides Continue's autodetection, which keys off model names it recognises; tool_use is what Agent mode needs, and add apply to roles if Edit does nothing.

Continue's IDE extensions cannot read shell environment variables. Put the key in ~/.continue/.env as APICLAW_API_KEY=sk-your-apiclaw-key, reference it as apiKey: ${{ secrets.APICLAW_API_KEY }}, and restart the IDE afterwards.

Option B: GitHub Copilot Chat custom endpoint

  1. Open Manage Language Models from the model picker's gear icon, or run Chat: Manage Language Models from the Command Palette.
  2. Choose the Custom Endpoint provider. (The older "OpenAI Compatible" provider is deprecated.)
  3. Paste the full URL including the path:
text
https://apiclaw.biz/v1/chat/completions
SettingValue
URLhttps://apiclaw.biz/v1/chat/completions
API typeChat Completions (or Responses with https://apiclaw.biz/v1/responses)
API KeyYour APIClaw API key
ModelFull model ID from the model hub

Bring-your-own-key is enabled by default on Copilot Business and Enterprise, though an admin can switch it off by policy. It covers chat and agent mode, not inline completions or embeddings, which stay on your Copilot plan.

Option C: Dedicated extensions

For Claude Code, Kilo Code, or Cline, follow those guides instead.

Verify

Send a test prompt from the chosen extension, then confirm logs.