Skip to main content
Opper integrates with AI-powered code editors through its OpenAI-compatible endpoint and markdown documentation files. This lets you use any model available on Opper directly from your editor of choice.
You can configure your editor manually using the instructions below, or run npx @opperai/setup to set up OpenCode and Continue.dev automatically.

OpenCode

OpenCode is a terminal-based AI coding assistant. Opper works as a provider through OpenCode’s OpenAI-compatible provider support.

Automated setup

Run npx @opperai/setup and select OpenCode to configure it automatically.

Manual setup

  1. Download the OpenCode config file from the setup repository and save it to ~/.config/opencode/opencode.json:
mkdir -p ~/.config/opencode
curl -o ~/.config/opencode/opencode.json https://raw.githubusercontent.com/opper-ai/setup/main/data/opencode.json
  1. Set your Opper API key as an environment variable:
export OPPER_API_KEY=your-api-key
You can get your API key from the Opper platform.
  1. Start OpenCode — Opper will appear as a provider with all available models.
The config includes a curated set of popular models with pre-configured context and output limits. Any model available on Opper can be used — just add it to the models section in the config file using the same format.

Continue.dev

Continue.dev is an open-source AI code assistant for VS Code and JetBrains. Opper works as an OpenAI-compatible provider.

Automated setup

Run npx @opperai/setup and select Continue to configure it automatically.

Manual setup

  1. Edit ~/.continue/config.yaml and add an Opper model to the models list:
models:
  - name: Gemini 2.5 Flash (EU)
    provider: openai
    model: gcp/gemini-2.5-flash-eu
    apiKey: your-api-key
    apiBase: https://api.opper.ai/v2/openai
    roles:
      - chat
      - edit
  1. Restart your editor. Opper will appear as a model option in Continue.
The example above uses a single model, but you can add as many as you like. Any model available on Opper can be used — just change the model and name fields.

Cursor

Opper provides markdown rules files that give Cursor context about how to use the Opper SDKs. When attached as rules, Cursor will use the Opper SDK correctly when generating code.

Setup

  1. Download the .mdc file for your language:
  2. Place it in your project at .cursor/rules/opper.mdc.
  3. In Cursor, make sure the rule is set to Always (or your preferred activation mode).
Once configured, Cursor will use the Opper SDK patterns when writing code in your project. Try it out:
  • “Build me a simple console-based chat app”
  • “Index the website https://docs.opper.ai and allow me to ask questions on it”

Cline

Cline supports both OpenAI-compatible providers and skills.

Using Opper as a provider

Cline can use Opper’s OpenAI-compatible endpoint for model access. This is configured through the Cline UI:
  1. Open the Cline settings panel in VS Code.
  2. Select OpenAI Compatible as the API Provider.
  3. Set the Base URL to https://api.opper.ai/v2/openai.
  4. Enter your Opper API key (get one at platform.opper.ai).
  5. Set the Model ID to any model available on Opper (e.g. gcp/gemini-2.5-flash-eu).

Installing skills

Cline supports skills through its experimental Skills feature. Enable it in Cline settings, then install Opper skills to .cline/skills/:
git clone https://github.com/opper-ai/opper-skills.git
ln -s $(pwd)/opper-skills/opper-python-sdk ~/.cline/skills/opper-python-sdk
See the Skills page for more details on available skills and installation options.