Use case

AI coding for regulated industries

Regulated teams have to show where code goes and who approved each change. Topsoil keeps those answers inside infrastructure you already operate.

Topsoil reviewing its own change before a pull request: ready to open, 0 blocking, 2 suggestions and 1 follow-up, each anchored to a file and line.

What a reviewer will ask, and where the answer lives

QuestionAnswer
Where do prompts and code go?To the Amazon Bedrock, custom HTTPS or gateway endpoint you configure, in your own AWS account. No Topsoil service, prompt store or telemetry. Data flow
Does the model provider train on it?AWS states that Bedrock inputs and outputs are never shared with model providers or used to train base models.
Who approved this change?A person: plan approval, diffs for every edit, and a pull request reviewed by a human. Topsoil does not merge. Controls
Who can use it?The IAM or IAM Identity Center identities you grant, with a shipped least-privilege policy. Deployment
What stops spend?Monthly user and account budgets before each model call, and an AWS budget action backstop.

How a change gets made

Every piece of work starts in plan mode, which is read-only. The agent reads the repository and proposes a plan, and nothing changes until a person approves it. Edits arrive as diffs. Commands run without a shell, and only when they start with an allow-listed prefix, while protected paths stay off limits. Handed-over work runs on its own branch in an isolated git worktree and comes back as a pull request for a person to review. Topsoil does not approve or merge.

Proof that the fix works

The verify stage runs the changed test with the rest of the work reverted and requires it to fail first. A test that passes without the change does not count as done. A reviewer gets a concrete record that the change fixes the problem it claims to fix, in the same pull request as the code.

Spend that stays inside a limit

Each run has a budget, and an unattended run will not start without one. Your admin sets monthly user and account budgets in your own S3 bucket, and Topsoil checks them before each model call. An AWS budget action you deploy is the backstop: it denies Bedrock to the Topsoil role when the threshold is reached. A scheduled run that hits its budget exits with a code of its own, so a scheduler can tell a spend limit from a failed test. The budgeting guide goes into the detail.

Credentials and records

Bedrock calls use the AWS profile you configure, whatever else is exported in the shell. topsoil sessions scrub redacts secrets saved before redaction covered them. Invocation logs exist only if your account enables them, under your own retention rules.

Topsoil does not make a system compliant with any framework. It keeps the evidence your program needs in the places your program already examines. Building for government missions? See AI for defense and federal engineering teams and the export-controlled code guide.

Questions

Frequently asked questions

Does Topsoil make us compliant with a framework?

No. Topsoil keeps the path your code takes short and documented, and it keeps the evidence in places your program already examines. Your organisation decides what its rules require.

Are our prompts used to train models?

AWS states that Bedrock inputs and outputs are never shared with model providers or used to train base models. Topsoil keeps no prompt store of its own.

Try it on your own codebase

A pilot runs in your own AWS account, with your models and your material, and ends with findings you can act on.