> ## Documentation Index
> Fetch the complete documentation index at: https://docs.parsaa.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Privacy & Data Handling

> How Parsaa handles your code and data, and the controls you have

## You Control What Is Stored

Parsaa routes AI requests through its backend to your chosen model. You decide what — if anything — is retained, using the controls in **Settings → Preferences → Privacy & Data**.

<Info>
  Two modes set the baseline:

  * **Private Mode** — nothing is retained past the request and response.
  * **Training Mode** — data may be retained to improve the service, but only the categories you explicitly enable (see toggles below).
</Info>

## Privacy Controls

| Control                 | What it does                                                                                  |
| ----------------------- | --------------------------------------------------------------------------------------------- |
| **Privacy Mode**        | Switch between Private Mode (retain nothing) and Training Mode (retain per the toggles below) |
| **Store Chat Requests** | (Training Mode) Allow chat requests to be retained                                            |
| **Store Codebases**     | (Training Mode) Allow codebase content to be retained                                         |
| **Usage Analytics**     | Toggle anonymous product telemetry on or off                                                  |

<Note>
  In **Private Mode**, the retention toggles do not apply — nothing is stored past the request. Switch to Training Mode only if you want to opt in to retention.
</Note>

## Local Data

Some data is stored only on your Mac and never uploaded:

| Data            | Details                                                               |
| --------------- | --------------------------------------------------------------------- |
| Chat history    | Sessions are stored locally on your Mac                               |
| Code index      | The semantic search vector + FTS index is stored locally, per project |
| App preferences | Settings, model selections, and UI state                              |

<Tip>
  You can disable Code Indexing per project in **Settings → Project → Code Indexing**, and leave **Store Codebases** off in Training Mode.
</Tip>

## Maximum Privacy: Local Models

For fully on-device operation, use the **Local** provider with [LM Studio or Ollama](/providers/local-models). Inference runs entirely on your Mac with no network calls.

<CardGroup cols={2}>
  <Card title="On-device inference" icon="wifi-slash">
    Requests are processed locally — nothing is sent over the network.
  </Card>

  <Card title="Air-gapped operation" icon="lock">
    Suitable for proprietary codebases and regulated, data-residency environments.
  </Card>
</CardGroup>

## Account & Keys

* **API keys** you add via BYOK are stored in the **macOS Keychain** and sent directly to the provider — never to Parsaa's servers.
* **Account information** (email, name) is used for authentication and billing.

## Legal

See the [Privacy Policy](https://parsaa.app/privacy) and [Terms of Service](https://parsaa.app/terms). For privacy questions or data requests, contact **[privacy@parsaa.app](mailto:privacy@parsaa.app)**.
