Overview
Cline is a VS Code extension that gives you an autonomous coding agent: it creates files, runs terminal commands and completes multi-step tasks. Pointed at Eden AI’s OpenAI-compatible endpoint, it can use 500+ models from OpenAI, Anthropic, Google and more with one API key, and you switch models without leaving VS Code.Prerequisites
- VS Code installed
- Cline installed in VS Code
- Eden AI API key from https://app.edenai.run
Setup
Step 1: Open Cline
- Click the Cline icon in the VS Code activity bar.
- On the onboarding screen, select Bring my own API key (“Use Cline with your provider of choice”) and click Continue.
Step 2: Configure your provider
In the API Provider dropdown, select “OpenAI Compatible”. Fill in the following fields:
Click Continue.
Model naming
Cline sends the Model ID as you write it, so use the fullprovider/model id. Aliases ending in -latest follow the newest model of a family. Examples that support function calling:
anthropic/claude-sonnet-latestvertex/gemini-flash-latestopenai/gpt-mini-latest
Switching models
Open the Cline settings and change the Model ID under the OpenAI Compatible provider. Settings apply as you edit; click Done to close the view. The Base URL and API key stay the same.Expert Models as Tools (MCP)
Eden AI also hosts an MCP server that exposes the expert model catalog (OCR, web search, speech, translation and more) as tools. Click the MCP Servers icon in the Cline panel toolbar, open the Configure tab, and click Configure MCP Servers. This openscline_mcp_settings.json; add the server under mcpServers:
Troubleshooting
Authentication Errors (401)
- Confirm your Eden AI API key is correct: copy it from app.edenai.run under API Keys.
- Make sure there are no leading or trailing spaces in the key.
- A 401 with
Invalid API keymeans thesk-eden-...key is wrong or revoked;Invalid tokenmeans the credential is not an Eden AI key at all.
Connection Issues
- Verify the base URL is exactly:
https://api.edenai.run/v3 - Check Eden AI status: https://app-edenai.instatus.com
The agent ignores edits or fails to call tools
Cline sends tool definitions with every request. Choose a model that supports function calling, such as the ones under Model naming.Next Steps
- Kilo Code - Another VS Code coding agent on Eden AI
- Continue - Inline AI code assistant for VS Code and JetBrains
- Claude Code - Official Claude CLI