privacy-and-security.md

 1---
 2title: AI Privacy and Security - Zed
 3description: Zed's approach to AI privacy: opt-in data sharing by default, zero-data retention with providers, and full open-source transparency.
 4---
 5
 6# Privacy and Security
 7
 8## Philosophy
 9
10Zed aims to collect only the minimum data necessary to serve and improve our product.
11
12Data sharing is opt-in by default. Privacy is not a setting to toggle—it's the baseline.
13
14As an open-source product, we believe in maximal transparency, and invite you to examine our codebase. If you find issues, we encourage you to share them with us.
15
16Zed, including AI features, works without sharing data with us and without authentication.
17
18## Documentation
19
20- [Tool Permissions](./tool-permissions.md): Configure granular rules to control which agent actions are auto-approved, blocked, or require confirmation.
21
22- [Worktree trust](../worktree-trust.md): How Zed opens files and directories in restricted mode.
23
24- [Telemetry](../telemetry.md): How Zed collects general telemetry data.
25
26- [AI Improvement](./ai-improvement.md): Zed's opt-in-only approach to data collection for AI improvement, whether our Agentic offering or Edit Predictions.
27
28- [Accounts](../authentication.md): When and why you'd need to authenticate into Zed, how to do so, and what scope we need from you.
29
30- [Collab](https://zed.dev/faq#data-and-privacy): How Zed's live collaboration works, and how data flows to provide the experience (we don't store your code!).
31
32## Legal Links
33
34- [Terms of Service](https://zed.dev/terms-of-service)
35- [Terms of Use](https://zed.dev/terms)
36- [Privacy Policy](https://zed.dev/privacy-policy)
37- [Zed's Contributor License and Feedback Agreement](https://zed.dev/cla)
38- [Subprocessors](https://zed.dev/subprocessors)