> ## Documentation Index
> Fetch the complete documentation index at: https://a5eb32f-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://a5eb32f-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://a5eb32f-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://a5eb32f-docs-2.manicule.dev/.well-known/llms-manifest.json

# Check What Your AI Requests Share (/security/privacy)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 814 · updated: 2026-11-25 -->
Related: [Manage Connector Tokens and Project Secrets](/security/token-vault.md), [Know Where Your Code Runs](/security/sandboxing.md), [Review and Apply Database Migrations](/databases/migrations.md)

> See what BhaiCode sends with a model request, what it uses for training, and which retention terms apply.

Before you submit a task with private code, check what context the model needs and where the request will go. BhaiCode doesn't use your source code, prompts, schemas, or repository metadata to train or fine-tune public foundation models. That policy doesn't tell you whether a model provider retains a copy of a request.

## Check how your request is routed

| Where you work                     | What happens to the request                                                                                                                                                                          |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Desktop with your own provider key | Code analysis runs locally. When you submit a prompt, Desktop sends the prompt and task context to your configured provider under your own agreement. Check that provider's terms for retention.     |
| Desktop with a local model         | The request stays on your machine when the model also runs there. Use this route when the task context must not go to a remote model provider.                                                       |
| Cloud Studio                       | The deployed service routes inference through a single TokenHarbor model in the current test phase. Don't assume zero data retention or a switch to another provider when that route is unavailable. |

The router package can support multiple providers and zero-data-retention routes. Those capabilities aren't guarantees of the deployed Cloud Studio service. If your work requires a specific retention agreement, verify the actual route and terms before sending any code or data covered by that agreement.

## Review the context before sending

Desktop analyzes your workspace locally. A request carries the prompt and the files or other context named for the task rather than a bulk upload of the workspace. When a tool call names a file, its contents can become model context. The temporary context used to assemble a prompt is cleared after generation; that doesn't delete a copy held by an upstream provider.

<Warning>`.gitignore` isn't a privacy filter for model context. A file can be ignored by Git and still reach the model if you or a tool select it. Leave credentials and private data out of the files and excerpts you share.</Warning>

## Review sensitive writes separately

Desktop treats writes to sensitive paths such as `.env`, key material, and CI configuration as risky. Its safety checks can block protected writes, and your permission settings determine when other writes need approval. Check the target path and proposed change before approving. A write approval controls whether the edit can go ahead; it doesn't stop a file you already shared from reaching a model.

## Next

* [Configure a provider or a local model](/getting-started/models).
* [Review Desktop tool approvals](/desktop/transparency).
* [See how BhaiCode stores integration tokens](/security/token-vault).
