# Privacy and data flow

> What RaptorCode sends, to whom, and what it keeps on your machine. No telemetry and no RaptorCode server.

RaptorCode has **no telemetry** and **no RaptorCode server**. The program talks to one service, the DeepSeek API, under your own key.

## What leaves your machine

| Request | When | What is sent |
|---|---|---|
| `POST https://api.deepseek.com/chat/completions` | Every model step | The conversation: your messages and, for agents, the tool results they asked for |
| `GET https://api.deepseek.com/models` | The `/model` picker and the startup key check | Your key only |
| `GET https://api.deepseek.com/user/balance` | `/balance` and the first-run key check | Your key only |

What an agent reads while it works, such as file contents and command output, becomes part of the conversation and is sent to DeepSeek. That is how the model sees your code. It is processed under your DeepSeek account and subject to [DeepSeek's terms](https://platform.deepseek.com/).

> **Note:** Reads are not limited to your repository: an agent can read any file your user can. Don't run agents with consent in a directory, or on a machine, where they could read secrets you would not send to DeepSeek.

### Paths that send less

- `raptor chat` sends only your message. It does not send repository contents, `.env` files, secrets, task metadata or worktree files.
- `raptor swarm` (planning) sends only the task id and description and the role's template.
- `raptor swarm implement` sends only the task description, the role and that role's plan.
- `review`, `diff`, `test`, `merge`, `task`, `tui`, `doctor`, `init`, `agent` and `provider` call no model at all.

## What stays on your machine

| Location | Contents |
|---|---|
| `~/.raptor/.credentials` | Your DeepSeek key, owner-only. Not created when the key comes from `DEEPSEEK_API_KEY`. |
| `~/.raptor/model` | The model you chose with `/model`. |
| `<repository>/.raptor/` | Task, swarm and agent metadata, and the agents' worktrees. Excluded from git through `.git/info/exclude`. |
| `<repository>/raptor.toml` | Provider enablement written by `raptor init`. Never keys. |

RaptorCode keeps the conversation in memory while it runs; DeepSeek's API is stateless, so the history is sent with each request. Nothing is uploaded anywhere else.

## The website

This documentation and the downloads are served by raptorcode.dev, which is separate from the program. What the website collects, such as privacy-first page analytics, download counts and answers to "Was this page helpful?", is described in the [website privacy policy](https://raptorcode.dev/legal/privacy).
