Skip to content

Roo Code

Roo Code runs inside VS Code, so privyx run cannot launch it. Start the proxy yourself and point Roo Code at it.

PRIVYX_SESSION_STRATEGY=conversation privyx proxy --upstream https://api.anthropic.com

conversation keeps one session per conversation, so a value gets the same placeholder on every turn. Keep the terminal open while you use Roo Code.

Anthropic models

In Roo Code's settings, choose the Anthropic API provider, enter your key, tick Use custom base URL, and enter:

http://localhost:8000

OpenAI and OpenAI-compatible models

Start the proxy with that provider's URL as --upstream (for example https://api.openai.com), choose the OpenAI Compatible API provider, and set its Base URL to:

http://localhost:8000/v1

Roo Code keeps these settings per configuration profile, so a profile can go through Privyx while another goes direct.

Check it

Ask Roo Code something that names an email address, then run privyx audit tail: a session.transform event for the request shows that Privyx masked it.