Skip to Content
SWARMIXDocs

Data Shield

Where Data Shield masks sensitive values before they reach an AI provider, where it doesn't, and what your organization controls.

Data Shield replaces sensitive values, such as email addresses, phone numbers, IBANs or API keys, with tokens on the person's computer. The AI provider receives the tokens. The person sees the real values in Studio, and plugins and servers receive them when an agent calls their tools. For the settings a person and your organization choose, see Data Shield in Settings.

Where it masks

WhatWhere it is masked
A message the person types to an agentIn Studio, before the agent receives it
Tool results in an agent's request to its AI providerIn Hive's local proxy, before the request leaves the computer
What a plugin, the terminal, Swarmix Core or an external server returnsIn Hive, before the agent sees it
Studio's assistants: Start a task, the Home assistant, the Knowledge Assistant, chat summariesIn Studio, before the model call
Audit eventsIn Hive, before each event is recorded

When Hive can't mask a tool result, it refuses to send the request.

What Data Shield masks on the way to the AI provider.

Where it doesn't mask

  • The agent's instructions, including the project brief built from approved timeline items. The AI provider reads them as written.
  • Text the model writes. The model's answer can quote tokens; Studio shows the real values to the person.
  • A file the agent reads, when the person chooses to send it unmasked. Studio asks first.

How tokens and real values flow

  • The agent and its AI provider work with tokens, such as «email:3f2a». Studio tells the agent what tokens are, so it writes the token where the value belongs.
  • When the agent calls a tool, Hive puts the real values back into the call's arguments, so the plugin or server receives what it needs.
  • The table of tokens and real values for each chat, the vault, stays on the person's computer, sealed. It syncs to the person's other devices sealed with their key.

What your organization controls

  • An organization admin can lock Data Shield's settings for members: what it looks for, the detection model on the computer, values to leave unmasked.
  • The Knowledge Assistant and chat summaries don't call a model when Data Shield isn't available.

FAQ

On this page