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
| What | Where it is masked |
|---|---|
| A message the person types to an agent | In Studio, before the agent receives it |
| Tool results in an agent's request to its AI provider | In Hive's local proxy, before the request leaves the computer |
| What a plugin, the terminal, Swarmix Core or an external server returns | In Hive, before the agent sees it |
| Studio's assistants: Start a task, the Home assistant, the Knowledge Assistant, chat summaries | In Studio, before the model call |
| Audit events | In Hive, before each event is recorded |
When Hive can't mask a tool result, it refuses to send the request.
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
Not when they come from tool results or what members type: Data Shield masks them first. An address written in an agent's instructions or in an approved project item goes as written.
On the person's computer, in Hive. The detection model also runs there.
Members change its settings unless your organization locks them. See Data Shield in Settings.