Integration Guide

Continue.dev + AI Privacy Gateway

Open-source AI code assistant with built-in privacy protection

TL;DR: Continue.dev is the leading open-source AI code assistant. Configure it to route through AI Privacy Gateway for automatic PII and secret masking in all AI interactions..
Integration = one config change. No SDK changes needed.

Why Add PII Masking to Continue.dev?

Continue.dev is the leading open-source AI code assistant. Configure it to route through AI Privacy Gateway for automatic PII and secret masking in all AI interactions.

How It Works

Your App + Continue.dev
Privacy Gateway
(masks PII locally)
AI API
(receives clean data)
✓ PII masked before leaving your machine ✓ Zero code changes in your Continue.dev integration

Benefits

Open source + open source — full transparency
Works with any model provider in Continue
Protects code, comments, and config files

Setup: Connect Continue.dev to AI Privacy Gateway

Configuration — Change One Line
// In continue config.json
{
  "models": [{
    "title": "GPT-4 (Privacy Protected)",
    "provider": "openai",
    "model": "gpt-4o",
    "apiBase": "http://localhost:9999/v1",  // Privacy gateway
    "apiKey": "your-api-key"
  }]
}

Step-by-Step Setup

  1. 1 Deploy the privacy gateway locally: docker run -d -p 9999:9999 ...
  2. 2 In Continue config, set "apiBase" to "http://localhost:9999/v1"
  3. 3 Continue.dev now sends masked code context to AI providers

Start Protecting Your Continue.dev Data

Deploy AI Privacy Gateway in 30 seconds. Free and open source.

Frequently Asked Questions

Does this work with the latest version of Continue.dev?

Yes. AI Privacy Gateway works at the HTTP layer as a transparent proxy. It is compatible with any version of Continue.dev that makes HTTP API calls.

Will this affect my Continue.dev performance?

The gateway adds less than 1ms per request. The PII detection engine is written in Rust for maximum throughput, so your Continue.dev application performance will not be noticeably affected.

Can I use this with multiple AI providers through Continue.dev?

Yes. Route all your AI API calls through the same gateway. It works transparently with any OpenAI-compatible API — just change the base URL.