---
title: "Private Workspace"
description: "Private Workspace is an AgentDrive setting that makes the adrive CLI encrypt the session transcripts and files it syncs on your machine with AES-256-GCM before upload. MCP writes are not encrypted."
canonical: "https://agentdrive.sh/glossary/private-workspace"
---
# Private Workspace

> For the complete documentation index, see [llms.txt](https://agentdrive.sh/llms.txt). Every docs page is also served as markdown at its URL plus `.md`, and the full docs are in one file at [llms-full.txt](https://agentdrive.sh/llms-full.txt).

> Private Workspace is an AgentDrive setting that makes the `adrive` CLI encrypt the session transcripts and files it syncs on your machine with AES-256-GCM before upload. MCP writes are not encrypted.

Source: https://agentdrive.sh/glossary/private-workspace. Part of the AgentDrive glossary: https://agentdrive.sh/glossary.

The data key is generated locally and kept, wrapped, in the AgentDrive config directory, so the server stores those synced transcripts and files only as ciphertext. Synced session paths are hashed, so repository and file names do not appear in them, and run metadata leaves out the working directory, title and touched paths. Encrypted content is not searchable by meaning, and `drive_resume` asks the agent to run `adrive resume`, which decrypts locally.

## In AgentDrive

Private Workspace is included in every AgentDrive plan; switch it with `adrive privacy`. It does not cover every upload: `drive_write` and other MCP writes send plaintext, `adrive watch --no-encrypt` and `adrive push --plaintext` skip encryption, and version messages and other metadata stay readable. Changing the setting makes the next sync re-upload recent sessions.

## Related terms

- [Session sync](https://agentdrive.sh/glossary/session-sync/index.md): Session sync copies a coding-agent session from the machine it runs on into a shared workspace as it happens, so another agent or another machine can read and resume it.
- [Local mode](https://agentdrive.sh/glossary/local-mode/index.md): Local mode is AgentDrive without an account: the `adrive` CLI reads each agent's transcripts on your machine and builds the handoff brief there, so nothing is uploaded.

## Go deeper

- [Sessions: Private Workspace](https://agentdrive.sh/docs/concepts/sessions#private-workspace)
- [Security](https://agentdrive.sh/security)

