Skip to Content
SWARMIXDocs

Hive on each computer

What Hive, the local service beside Studio, does on each computer, where it listens, and what it checks before agents act.

Hive is a local service that runs beside Studio on each computer, and inside each Web Studio pod. Studio and the agents it starts reach the outside through Hive, so the checks, the masking and the records happen on the computer, before anything leaves it.

What Hive does

  • Checks agent actions. Before an agent's tool call runs, Hive checks it against the agent's role, your organization's policies and the person's own rules, asks the person where your organization wants, and records the decision. See How Hive checks agent actions.
  • Masks data. Hive runs Data Shield: sensitive values become tokens before they reach an AI provider.
  • Carries model traffic. Each agent's requests to its AI provider go through a local proxy that Hive runs for that provider.
  • Seals the person's data. Hive encrypts chats, settings and keys on the computer with the person's key. See Encryption and keys.
  • Records the audit trail. Hive stores audit events on the computer, masks them, then uploads them to Swarmix Core in order, with the signed-in account's token only.
  • Syncs. Hive carries the person's chats and project files to your organization's storage, sealed, and add-in sessions through the Hub, encrypted end to end.

Where Hive listens

Hive opens its local ports on 127.0.0.1 only, so other computers on the network can't connect to it. Studio and the agents talk to it on the same computer. In a Web Studio pod, its web listener serves the pod's own network.

What Hive connects to

Each connection Hive opens leaves through the computer's proxy settings:

  • Swarmix Core: the API, live updates, the agents' Swarmix tools and the audit upload;
  • your organization's storage;
  • the Hub, when your organization uses add-ins;
  • the AI providers your agents use;
  • the external MCP servers your organization adds;
  • downloads Swarmix Core names: app and plugin updates, Data Shield's model.

The full list and what each connection carries: What the computer sends out.

Hive between Studio, the agents and the outside.

How Hive applies your policies

Hive receives your organization's policies from Swarmix Core and applies them to each tool call. It records the version and hash of each policy it applied, so an audit can tell which rules were in force. See How policies work.

How Hive is built

Hive is written in Rust, and unsafe code is forbidden in its source. It keeps keys in memory, drops a person's storage key when they sign out, and seals what it stores on disk.

FAQ

On this page