Built on Amazon Bedrock

How Topsoil uses Amazon Bedrock models in your account

Topsoil calls the Amazon Bedrock models your own AWS account has enabled. This page is how that call works: which API, where tool use runs, and what lands on your AWS bill.

A complement to the AWS services you already use

Topsoil builds on Amazon Bedrock for models, IAM and IAM Identity Center for sign-in, Amazon S3 for the context library and budget policy, AWS PrivateLink for a private network path, and AWS Budgets for the spend backstop. Your spend on models stays on your AWS bill, and your existing AWS controls keep doing what they do.

The client is the Terminal on macOS, Windows and Linux, a VS Code bridge, or the desktop app on macOS and Windows. There is no Topsoil-hosted inference service in that path. Deployment is the picture of what leaves the machine.

How a model call is made

An engineering turn calls Amazon Bedrock Converse or ConverseStream on the endpoint you configured. The request is signed with the identity you already manage: IAM, a named profile, IAM Identity Center, or a gateway token. You pick the Region, commercial or AWS GovCloud (US), and the path you can reach: a public endpoint, custom HTTPS, or PrivateLink.

Topsoil lists what that account can call with ListFoundationModels and ListInferenceProfiles. Enable a model in the account and it shows up in topsoil models. The list differs by Region.

Piece of the callWhere it runs
Converse requestAmazon Bedrock in your AWS account, on your bill.
Tool use (read a file, edit, run a command)On your machine, after plan approval and your allowlist.
Guardrail, when you set oneAttached to the Converse request, evaluated by Bedrock.
On-device search embeddingsAmazon Titan Text Embeddings v2 in your account. The index stays local.
Chat history, credentials, raw tool outputOn the machine that runs Topsoil.

Bedrock tool use, on your machine

When the model supports tools, Topsoil sends their definitions on the Converse request, in toolConfig. The model can ask to read a file, propose an edit, or run a command. Topsoil runs that tool on your machine and sends the result back on the next request. The model call is the part that reaches Amazon Bedrock.

Plan mode stays read-only until you approve. In the default mode Topsoil asks before each file change, each command and each use of the network. A command runs only when it starts with an allow-listed prefix, and it runs without a shell. Those gates are written out in how engineering changes get approved.

The right model for each stage

A run goes through explore, design, plan, implement, verify, review and document, and each stage can be routed to a different Bedrock model. Review is more useful when it is independent, so the reviewing model can come from a different provider than the one that wrote the change. You set a default in Settings, override it per project, and change a stage from the Terminal with /workflow.

The files that work covers, from application source to pipeline YAML, are in software, infrastructure and pipeline work and in AI for DevSecOps and CI/CD pipelines.

Guardrails you configure

When you set a Bedrock guardrail identifier and version, Topsoil attaches that guardrail to Converse requests. Some model routes have nowhere to put a guardrail. Those drop out of the model list while one is set, so a turn is not sent down a path that would skip it.

Does Amazon Bedrock train on my prompts?

AWS states that with Amazon Bedrock, inputs and outputs are never shared with model providers or used to train base models. Topsoil adds no copy of its own: there is no Topsoil prompt store, and the request goes from your machine to the endpoint you configured. If your account turns on Bedrock model invocation logging, those logs live in your account under your retention policy.

Budgets on Bedrock spend

Monthly user and account budgets are checked before each model call, in the Terminal and the desktop app. Dollar figures are Topsoil’s own estimate; the AWS bill is the authority. Because a budget Topsoil enforces applies only to Topsoil’s own requests, Topsoil also ships a CloudFormation template for an AWS budget action that attaches a Bedrock deny policy to the Topsoil role when the budget trips. Budgeting guide.

What Topsoil uses from Bedrock, and what it leaves alone

Engineering turns use Converse and ConverseStream. On-device search uses Titan Text Embeddings v2 in your account. Topsoil does not use Bedrock Agents, Knowledge Bases, the Retrieve API, Flows or image generation.

Questions

Frequently asked questions

Which Bedrock models can Topsoil use?

The Amazon Bedrock models your account has enabled. The list differs by Region, including AWS GovCloud (US). AWS publishes which models are available. Topsoil shows the ones that account can call.

What is Bedrock tool use in Topsoil?

Topsoil sends tool definitions on the Converse request. The model can ask to read a file, edit one, or run a command. Topsoil runs the tool on your machine, after plan approval and your allowlist, and sends the result back.

Does Amazon Bedrock use our prompts 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 copy of its own.

Does Topsoil use the Bedrock Retrieve API?

No. On-device search calls Amazon Titan Text Embeddings v2 in your account and keeps the index local. Topsoil does not use Bedrock Agents, Knowledge Bases, the Retrieve API, Flows or image generation.

Is Topsoil an AWS product?

No. Topsoil builds on Amazon Bedrock and runs in your own AWS account.

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.