Docs navigation
Primitives

Guardrails

Beta, not self-serve yet
Guardrails are in beta and are set up with Brainbase, not from the web app, bb or the API. Ask your Brainbase contact to turn them on. Until then, the panel below shows the controls you can use today.

Guardrails are policies checked on every model request before it reaches the model. Block stops a request that breaks a policy; anonymize hashes sensitive values, such as personal data or bank details, before they are sent. Start from templates or write your own, and run them on your own machines when private data must not leave.

How it fits

  • Guardrails run in the LLM Gateway, so they apply whichever model answers.
  • Evals check policy after a turn; guardrails act before the request is sent.
  • Secrets and permissions limit what the agent can reach in the first place.

Work with it

Using the Brainbase MCP, add an eval called "no-bank-details" to my "Vendor onboarding" agent with the criteria "The reply never repeats a full bank account or routing number", as pass/fail, and add a line to its instructions saying never to repeat full bank details. Show me the eval results after the next few tasks.

Paste it into Claude Code, Codex or Cursor with the Brainbase MCP or skill installed.

Availability

CloudAWSAzureGCPSovereign
Guardrails

AvailableLimited: beta, by release, Enterprise or on requestNot available

AWS is the AWS Marketplace install in your own account. Azure, GCP and sovereign (on-premise) deployments are arranged with Brainbase on Enterprise. Hover a mark for details, or contact us to confirm one for your deployment.