AI coding assistants may send prompts, selected code, surrounding files, and technical metadata to a provider’s servers; the exact data depends on the product, feature, and settings. To reduce exposure, turn off code or chat collection for model improvement, avoid sending sensitive material, and use local or enterprise-controlled options when your requirements demand it.
What may leave your computer
A coding assistant needs context to answer. For a cloud-based service, that context can travel from your editor or command-line tool to a remote model and back. It may include more than the text you deliberately type, but it is not accurate to assume that every tool uploads your entire computer or repository. Check the provider’s current documentation for the specific product and feature.
- Your prompt: Questions, instructions, pasted code, error messages, and text selected in the editor may be sent for processing.
- Code context: The assistant may include the current file, nearby lines, open tabs, relevant project files, or search results from the workspace. Context selection varies by tool and configuration.
- Conversation history: Follow-up requests may use earlier turns. Some tools retain chat history in an account or workspace; others provide controls for clearing it.
- Tool and account data: Requests can be associated with account identifiers, subscription or organization details, timestamps, and diagnostic information. This is distinct from source code, but can still be sensitive.
- Files or actions you approve: Some assistants can read files, run commands, or use connected services. Their access depends on permissions and the actions you authorize.
Sending data for inference is not the same as using it to train a model. A provider may process a prompt to produce an answer while applying a separate policy to retention, human review, or model improvement. Those terms may differ between consumer, business, and API plans.
How cloud requests work
Most assistants combine an editor extension or application with a model service. The local component gathers a request and whatever context its features require; a cloud service processes it and returns a suggestion. Autocomplete may send a short code prefix and surrounding context, while a chat request can contain a longer explanation and attached files. Agent-style features may make repeated requests as they inspect a project or perform an approved task.
Some products offer models that run on your computer, but “local” should be verified rather than inferred from a setting label. A local model can keep inference on-device, yet the surrounding application may still contact servers for sign-in, updates, telemetry, extensions, or other functions. Likewise, an assistant that indexes a repository locally may still send selected excerpts when you ask a cloud model a question.
Encryption in transit helps protect requests as they travel over a network. It does not by itself prevent the service provider from processing request contents, nor does it determine how long data is retained. These are separate questions to check in the product’s privacy documentation and organizational terms.
Settings to review or turn off
Names and locations vary, so look in the assistant’s settings, account privacy controls, and organization policy. Review controls for each product separately; disabling one feature does not necessarily change another.
- Model training or product improvement: Disable use of prompts, code, and feedback to improve models if you do not want them used for that purpose. Confirm whether the setting applies to all data, or only future activity.
- Chat history and retention: Turn off history or choose a shorter retention option if available. Check whether disabling history also changes service retention; it may only hide conversations from your account.
- Telemetry and diagnostics: Reduce optional usage analytics or diagnostic uploads if they are not needed. These settings may not control the content sent to generate an answer.
- Workspace context and indexing: Exclude sensitive folders, generated files, secrets, and unrelated repositories. Inspect ignore-file and workspace rules, then verify how the assistant treats them.
- Automatic actions: Require approval before file edits, terminal commands, or external tool calls. Limit access to the project and integrations actually needed.
- Feedback and bug reports: Review attachments before submitting. A report can include prompts, code snippets, logs, or screenshots even when ordinary telemetry is limited.
Never paste passwords, access tokens, private keys, customer records, or unreleased proprietary code into a service unless your organization has explicitly approved that use and the service’s terms support it. Secret-scanning tools and repository rules can help, but they do not guarantee that every credential or confidential detail is detected.
Choosing an appropriate setup
Start with the sensitivity of the work, not a blanket claim that one category of assistant is private. For public examples and personal experiments, a cloud assistant with suitable privacy settings may be acceptable. For company code, use only a service and account approved by the organization; business plans may offer different retention or training terms, but the details must be verified rather than assumed.
If code cannot be sent to an outside provider, consider a genuinely local model and application configuration, or do not use an assistant on that material. A local setup can require more storage, computing resources, and maintenance, and may provide different capabilities. Confirm network behavior and disable unnecessary integrations. In regulated or contract-bound environments, consult the organization’s security and privacy owners before enabling a tool.
Also check whether a feature uses a different provider or policy from the assistant’s main chat. An editor extension may offer several model choices, and an agent may invoke external search or other services. The label “AI assistant” alone does not tell you where each request goes.
Common privacy misconceptions
“It only sees what I highlight.” Not necessarily. The product may include nearby code, project context, or previous conversation turns. Check context controls and the product’s explanation of what is sent.
“Not used for training means not stored.” These are different promises. A provider may exclude content from model training while retaining it temporarily for service delivery, abuse prevention, or other stated purposes. Read retention terms separately.
“An ignore file guarantees the file stays private.” Ignore rules can limit indexing or context, but behavior differs by tool and feature. They are not a substitute for keeping secrets out of the workspace or verifying actual settings.
“A suggestion is safe because it is generated privately.” Privacy and code correctness are separate. Review generated code, especially commands, dependency changes, and security-sensitive logic, before using it.
Frequently Asked Questions
Does an AI coding assistant upload my whole repository?
Usually, a request sends selected context rather than automatically uploading every file, but the selection varies. Indexing and agent features can access more of a workspace. Check the tool’s documentation and exclude sensitive directories.
Can the provider use my code to train its models?
That depends on the provider, plan, settings, and applicable terms. Look specifically for rules about prompts, code, feedback, and model improvement; do not assume consumer and business accounts have identical policies.
Does turning off chat history stop data retention?
Not necessarily. It may stop conversations appearing in your account without changing temporary service retention. Read the retention policy and the setting’s description.
Is a local AI coding assistant completely private?
Not automatically. Model inference may be local, while the application can still use online services for account access, updates, telemetry, or integrations. Verify network connections and configure the surrounding software too.
What should I turn off first?
Disable model-improvement use if unwanted, limit chat retention and optional telemetry, exclude sensitive workspace files, and require approval for commands and edits. Then verify those controls apply to the exact plan and features you use.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Best Silent Mouse: Quiet Picks for Work and Travel
- Best Anonymous Browsers: Privacy Picks for Every Need
- Recover Pocket 4 Videos on Mac: What to Try
- Optimize Product and Service Pages for Google AI Overviews
- Best OTT Streaming Platforms: What to Choose
- Military Tycoon Codes: Current Roblox Code Guide