~/distillery setup → roo-code
Roo Code inherits VS Code's env — set ANTHROPIC_BASE_URL before launching and The Distillery intercepts automatically.
Overview
Roo Code is a VSCode fork of Cline with extended agentic capabilities. It uses the `@anthropic-ai/sdk` client and supports a custom Anthropic base URL via the `roo-cline.anthropicBaseUrl` VSCode setting, the same pattern as Cline but under the `roo-cline` extension namespace. Once set, Roo Code routes all Claude requests through The Distillery where they are deduplicated and distilled before reaching Anthropic.
Prerequisites
You have The Distillery installed and running locally on port 3080. See the main install guide if you have not done this yet. Roo Code 3.0 or newer is required.
$ install
step 01 / 03Install Roo Code from the VSCode marketplace: search for 'Roo Code' by RooVetGit, or install from the command line.
code --install-extension RooVetGit.roo-clinecode --install-extension RooVetGit.roo-cline$ configure
step 02 / 03Open your VSCode user settings.json and add the `roo-cline.anthropicBaseUrl` key. This is the Roo Code equivalent of Cline's `cline.anthropicBaseUrl`; the extension ID prefix differs because Roo Code is a fork.
{
"roo-cline.anthropicBaseUrl": "http://localhost:3080"
}~/Library/Application Support/Code/User/settings.json%USERPROFILE%\AppData\Roaming\Code\User\settings.json$ verify
step 03 / 03thedistillery statsEvaluating other Claude Code cost-reduction approaches alongside Roo Code? See how The Distillery compares to Claude Code Router (model-routing approach), Compresr (YC W26), or browse alternatives to Claude Code Router for the full landscape.
Pricing breakdown: thedistillery.com/pricing.