Skip to Content
SWARMIXDocs
Policies

How policies work

Write rules for your members' Studio and agents, choose who they reach, and roll them out with Audit before you enforce them.

Who can do this:Org admin

A policy is a set of rules for your organization's members: which AI providers and models they use, which tools and plugins they can't use, Data Shield and audit settings, the look of Studio, and more. Swarmix Core works out which policies reach each member, and Hive applies them on the member's computer.

Before you start

You need the organization admin role. You write policies in the Studio desktop app (Settings → Organization → Policies) or in the Swarmix web dashboard (Policies). Web Studio shows policies view only.

Turn policies on for your organization

Two settings decide whether policies do anything. Both are in the web dashboard, and both start at a value under which policies have no effect. Studio's policy editor doesn't show them.

  1. In the web dashboard, open Policies, then the Settings tab.
  2. Under Distribution Mode, choose Managed.
  3. Under Enforcement, choose Audit or Enforced.
  4. Click Save Changes.
SettingWhat it does
Direct (the default)No policy reaches anyone.
ManagedEach member's active policies reach their Hive.
None (the default)Policy rules have no effect. You can still prepare and test policies.
AuditHive checks each rule and records it in the audit log, and lets the action run.
EnforcedSwarmix refuses what the rules block: AI providers, models, tools, plugins, crew templates, connections and agent limits.

The same tab holds an IT Support Contact, which Studio shows to members who hit a policy restriction.

How a policy reaches members

Where a policy goes after you activate it.

Hive gets the member's policy with each sign-in refresh, about every 15 minutes, and at once when you publish, activate or archive a policy. Studio shows a value a policy sets as locked.

Create a policy

  1. In Studio, open Settings → Organization → Policies.
  2. Click New Policy.
  3. Enter a Policy Name and keep Full.
  4. Set the rules in the tabs: General, Agents, Chat & Sessions, Security and, when the policy adds plugins, Plugins.
  5. On Targeting, choose who the policy reaches (next section).
  6. Click Create. Studio saves the policy as a draft.

A field you leave unset keeps the member's own choice or Studio's default.

Choose who a policy reaches

On the Targeting tab:

  • Audience: All members, or Specific roles to pick groups of people. The tab calls the groups "roles". They are the groups you build on the Groups tab, described in Members.
  • Client Release: pin the policy to one Studio release, or leave it unpinned.
  • Priority: decides between policies that set different values (see below).

Who this reaches shows how many members the policy matches, and which other policies compete with it, marked wins, loses or tie.

Publish and activate a policy

A policy version moves through four states: draft, published, active, archived. Only active versions reach members.

  1. On the version's row, click Publish and confirm. You can no longer edit it.
  2. For the first version of a policy, click Activate.

When you publish a later version, it becomes active at once and archives the version that was active.

To change a published or active policy, click New Version. Studio copies it into a new draft. Edit it and publish it.

Archive stops the policy at each member's next update and can't be undone. You can delete drafts only.

Test a policy on your own Studio

Click Test on a draft or published version. Your own Hive applies it on top of your active policies for 15 minutes by default, as if the organization were Enforced, and the stricter value wins. Click Cancel Test to end it sooner.

When several policies reach a member

Swarmix Core combines a member's active policies into one:

  • A block, an off switch or a narrower list wins, whatever the priority. Block lists add up across policies.
  • For other values, such as a default model, a theme or a number, the policy with the higher priority wins.

Give each policy its own priority. With equal priority, Studio warns that the winner is undefined.

What a policy can set

GroupExamplesMore
GeneralAppearance, feature switches, updates
AgentsAI providers and models, agent settings, tools, external MCP servers, external agents, crew templatesCrew templates, agent roles, profiles and traits, Tools and external services
Chat & SessionsFile attachments, effort levels, turns, cost and idle time per session
SecurityData Shield, Risk & Audit, restrictions, desktop automation, Hub, connectionsTools and external services

Build policies from components

A component is a reusable piece of a policy, kept on the Components tab. A Composable policy binds components on its Bindings tab, each with a priority, and Preview Assembly shows the result. A change to a component changes each policy that binds it.

Best practices

  • Start with Audit. Read in the audit log what your policies would block, then switch to Enforced.
  • Keep one base policy for the whole organization at a low priority, and narrower policies for groups at higher priorities.

FAQ

On this page