
VS Code gets its AI from extensions, and each one brings its own model connection. Privatemode sits behind Copilot Chat and Cline alike: instead of the cloud models they normally call, they run on open-weight models, so your code is encrypted before it leaves and stays encrypted in memory while it is processed.

Copilot Chat and Cline both read your code and send it to the model provider they are configured for. With conventional providers, that code is processed in plaintext on their servers, once per extension.
The Privatemode extension registers open-weight models inside Copilot's own model picker, so Copilot Chat runs on them instead of the GPT, Claude, Gemini, and other models Copilot offers, without leaving its interface. Cline reaches the same local proxy by base URL, and that proxy is what verifies the service and encrypts each request.
Two extensions are officially supported: GitHub Copilot Chat for AI chat, editing, and agent mode, and Cline for agentic coding. The Privatemode VS Code extension handles the Copilot integration. Cline connects directly via the OpenAI-compatible API. Continue, which used to be the third option, was acquired by Cursor and discontinued in June 2026.
