What is Roo Code?
Roo Code is a VS Code extension that gives you a dev team of AI agents directly in your editor. Built as a fork of Cline, it extends the original with additional modes, deeper customization, and a multi-agent architecture that can plan, write code, run terminal commands, and browse the web. Each agent mode (Code, Architect, Ask, Debug) has a different persona and system prompt, letting you switch between focused, task-specific agents without leaving your IDE.
Roo Code supports custom OpenAI-compatible base URLs, which makes it straightforward to connect to EUrouter. Set the base URL and API key in the extension settings, and every request Roo Code makes routes through EU infrastructure. Your code context, prompts, and completions never touch US servers.
Quick to integrate
A few lines of code is all it takes. Swap your base URL and you are routed through EUrouter.
1// .vscode/settings.json or User Settings
2{
3 "roo-cline.apiProvider": "openai-compatible",
4 "roo-cline.openAiBaseUrl": "https://api.eurouter.ai/v1",
5 "roo-cline.openAiApiKey": "eur-...",
6 "roo-cline.openAiModelId": "gpt-4o"
7}Get started in minutes
Follow these steps to connect your application to EUrouter.
Install Roo Code
Install the Roo Code extension from the VS Code marketplace. Search for "Roo Code" in the Extensions panel.
Open Roo Code settings
Click the Roo Code icon in the Activity Bar, then open Settings. Set the API Provider to "OpenAI Compatible" to enable a custom base URL.
Set your API key and base URL
Enter your EUrouter API key and set the base URL to https://api.eurouter.ai/v1. Choose any model available through EUrouter as your default.
Start a task
Open the Roo Code panel and describe a coding task. All agent requests now route through EU infrastructure.
Why use Roo Code with EUrouter
Full agent team through EU servers
Roo Code sends your code, terminal output, and browser context to the model with every agent turn. That is sensitive proprietary data leaving your machine. With EUrouter, all of it routes through EU-based servers regardless of which agent mode you use.
- Code, Architect, Ask, and Debug agent modes all route through EUrouter
- File reads, terminal commands, and browser actions stay GDPR-compliant
- Every agent turn, including multi-step autonomous tasks, uses EU infrastructure
- Works with all Roo Code features: code generation, refactoring, debugging, and planning
Any model for any mode
Through EUrouter, you can point Roo Code at any supported model: GPT-4o for deep reasoning, Claude for long-context refactors, Mistral for fast completions. One API key covers them all. Switch models by changing a single setting.
- Access OpenAI, Anthropic, Mistral, and more through one EUrouter key
- Switch models per task without leaving VS Code
- One bill for all model usage across every agent mode
- Try newer models as they become available on EUrouter without reconfiguring
Budget control for autonomous agents
Roo Code's agents can run many turns autonomously, which means token consumption adds up. EUrouter lets you set per-key spending limits, so you can cap how much any single developer or automation can spend. The usage dashboard gives you a full audit trail.
- Set monthly spend limits per API key to prevent runaway agent costs
- Usage dashboard shows token consumption broken down by model and time
- Issue separate keys per developer or project for granular cost tracking
- Useful for teams running long autonomous coding tasks where costs can spike