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 collects minimal data necessary to serve and improve our product. Features that could share data, like AI and telemetry, are either opt-in or can be disabled.
11
12- **Telemetry**: Zed collects only the data necessary to understand usage and fix issues. Client-side telemetry can be disabled in settings.
13
14- **AI**: Data sharing for AI improvement is opt-in, and each share is a one-time action; it does not grant permission for future data collection. You can use Zed's AI features without sharing any data with Zed and without authenticating.
15
16- **Open-Source**: Zed's codebase is public. You can inspect exactly what data is collected and how it's handled. If you find issues, we encourage you to report them.
17
18- **Secure-by-default**: Designing Zed and our Service with "secure-by-default" as an objective is of utmost importance to us. We take your security and ours very seriously and strive to follow industry best-practice in order to uphold that principle.
19
20## Related Documentation
21
22- [Tool Permissions](./tool-permissions.md): Configure granular rules to control which agent actions are auto-approved, blocked, or require confirmation.
23
24- [Worktree trust](../worktree-trust.md): How Zed opens files and directories in restricted mode.
25
26- [Telemetry](../telemetry.md): How Zed collects general telemetry data.
27
28- [Zed AI Features and Privacy](./ai-improvement.md): An overview of Zed's AI features, your data when using AI in Zed, and how to opt-in and help Zed improve these features.
29
30- [Accounts](../authentication.md): When and why you'd need to authenticate into Zed, how to do so, and what scope we need from you.
31
32- [Collab](https://zed.dev/faq#data-and-privacy): How Zed's live collaboration works and how data flows. Zed does not store your code.
33
34## Legal Links
35
36- [Terms of Service](https://zed.dev/terms)
37- [Privacy Policy](https://zed.dev/privacy-policy)
38- [Zed's Contributor License and Feedback Agreement](https://zed.dev/cla)
39- [Subprocessors](https://zed.dev/subprocessors)