What is data sovereignty for an AI coding assistant?
It means your source code, prompts, context, outputs and logs stay in accounts and Regions you control, under your own policies, and you know who operates every system they pass through.
Guide
An AI coding assistant sees your source code, your prompts and the context around them. Data sovereignty asks where all of that goes, whose account it lands in and who controls it. This guide explains what is involved, how Topsoil answers it on Amazon Bedrock, and what to ask any vendor.
Data sovereignty is the principle that data stays under the control, and the rules, of the organisation that owns it. Two related terms are often used alongside it:
| Term | The question it answers |
|---|---|
| Data residency | Where, physically, is the data stored and processed? For cloud services that usually means which Region. |
| Data sovereignty | Whose accounts, policies and rules govern the data, and who operates every system it passes through? |
| Data privacy | Who is allowed to see the data, and for what purpose? |
For an AI coding assistant, residency is not enough on its own. A tool can run its models in the right Region and still route every prompt through a service its vendor operates, keep a copy of your conversations, or send usage data home. Sovereignty means knowing every hop, and owning as many of them as possible.
| Data | Examples | Why it matters |
|---|---|---|
| Source code | The repository, including files the assistant reads to understand a change | Often the most valuable and most sensitive asset a team has |
| Prompts | What people type: questions, task descriptions, pasted errors | Prompts routinely contain code, customer names, hostnames and plans |
| Context | Attached files, documents, issue text, editor selections, command and test output | Context is sent to the model with the prompt, so it travels wherever the prompt does |
| Outputs | Generated code, diffs, reviews, reports and documents | Outputs describe your code and are often as sensitive as the input |
| Logs and history | Chat history, session files, model invocation logs, telemetry | History and logs keep data long after the task is finished |
| Identity and credentials | Who signed in, with what keys or tokens | Decides who can use the models, and whose policies apply |
Topsoil is a client that runs on your machines and calls Amazon Bedrock in your own AWS account, in the Region you choose. There is no Thazen service in the request path, no Thazen prompt store, and no telemetry, analytics or crash reporter sending anything to Thazen.
| Data | Where it lives | Under whose control |
|---|---|---|
| Source code and working files | On the developer’s machine and in your own git repository and forge | Yours |
| Prompts and attached context | Sent only to the Bedrock, custom HTTPS or gateway endpoint you configure, in your AWS account and Region | Your account, served by Amazon Bedrock |
| Model outputs | Returned to the machine that asked. Files land in your working folder; a handed-over task comes back as a branch and pull request in your repository | Yours |
| Context library | Your own S3 bucket, in your configured Region by default, under per-user prefixes that IAM enforces | Your account and IAM policy |
| Chats, sessions and credentials | On the machine that runs them. The desktop app keeps credentials in the operating system’s keychain | The user, under your device policy |
| Logs | Written locally, with anything that can hold a key, token or session redacted first. Bedrock invocation logs exist only if your account turns them on, and then they are in your account | Yours |
| Shared projects and channels (optional) | A DynamoDB table and a Lambda function deployed in your AWS account | Your account |
On the model side, AWS states that with Amazon Bedrock, inputs and outputs are never shared with model providers or used to train base models, and that model providers have no access to customer prompts and completions. Read AWS’s own pages for the details and for your side of the shared-responsibility model.
Residency starts with the Region. Topsoil signs every model request for the Region you configure, and its context-library bucket is created in that Region unless you name another. Topsoil ships IAM policies for both the commercial AWS partition and AWS GovCloud (US), and runs the same way in either.
us-gov profiles span both GovCloud Regions. Where residency is a rule, choose a model ID whose routing fits it. Topsoil lists the models and inference profiles your account can call, so the choice stays yours.AWS notes that cross-Region inference requests are logged in CloudTrail in your source Region, with the Region that processed each request.
A few features reach beyond your AWS account, and each one is off until you set it up and points only where you point it:
Topsoil’s answers are on the deployment and security pages. Your own legal and compliance teams decide what your rules require; this guide is not legal advice.
Questions
It means your source code, prompts, context, outputs and logs stay in accounts and Regions you control, under your own policies, and you know who operates every system they pass through.
On Amazon Bedrock in your own AWS account, in the Region you configure, commercial or AWS GovCloud (US). Topsoil is a client, and Thazen operates no service in the request path.
It can if you choose a cross-Region inference profile. AWS documents that geographic profiles route within their geography and global profiles route across commercial Regions. Choose a model ID whose routing fits your residency rules.
No. There is no Thazen prompt store, telemetry stream or crash reporter. Prompts go from your machine to the endpoint you configure.
A pilot runs in your own AWS account, with your models and your material, and ends with findings you can act on.