With Privatemode and Zed, you can use state-of-the-art cloud AI models confidentially, powering Zed’s Agent Panel, Inline Assistant, and Text Threads without exposing your code.
Introduction
Zed users value performance and control. But using cloud AI features like the Agent Panel or Inline Assistant means sending code context to third-party providers. Privatemode removes that trade-off by providing an OpenAI-compatible, end-to-end encrypted service that never exposes your code to cloud or service providers.
Privacy-conscious developers have turned to forks like Zedless that strip AI features entirely. With Privatemode, you keep Zed’s full AI capabilities (Agent Panel, Inline Assistant, Text Threads) while ensuring your code stays encrypted end-to-end.
Based on confidential computing, Privatemode gives Zed users access to state-of-the-art models while keeping all code context always encrypted, even during inference. Your prompts, code snippets, and AI responses are never visible to anyone.
Benefits
Integrating Privatemode into Zed brings cloud-AI capabilities to your editor while keeping your code confidential through end-to-end encryption and confidential computing. Your code context, prompts, and AI responses are encrypted before they leave your machine.
With Privatemode, you can choose from state-of-the-art LLMs to power Zed’s Agent Panel, Inline Assistant, and Text Threads — all running confidentially.
Zed has built-in support for OpenAI-compatible endpoints. Just add Privatemode to your settings.json and all AI features work instantly — no extensions or workarounds required.
How to get started
If you don’t have a Privatemode API key yet, you can generate one for free here.
docker run -p 8080:8080 \
ghcr.io/edgelesssys/privatemode/privatemode-proxy:latest \
--apiKey <your-api-key>
The proxy verifies the integrity of the Privatemode service using confidential computing-based remote attestation. The proxy also encrypts all data before sending and decrypts data it receives.
Open Zed and go to Settings (Cmd+,). Zed natively supports OpenAI-compatible endpoints, so add Privatemode as a custom provider in your settings.json under language_models > openai_compatible. Set the api_url to your Privatemode proxy’s /v1 endpoint.
FAQ
All of them. Since Privatemode uses the OpenAI-compatible endpoint that Zed natively supports, the Agent Panel, Inline Assistant, and Text Threads all work out of the box. You configure Privatemode once in settings.json and every AI feature routes through it automatically.
Integration
n8n
Add cloud-grade AI to your n8n workflows while keeping all data encrypted end-to-end through confidential computing.
Integration
PrivateGPT
Use Privatemode's encrypted AI API with PrivateGPT to chat with your documents without exposing sensitive files to any cloud provider.

Want to look for yourself?