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.
- In the web dashboard, open Policies, then the Settings tab.
- Under Distribution Mode, choose Managed.
- Under Enforcement, choose Audit or Enforced.
- Click Save Changes.
| Setting | What it does |
|---|---|
| Direct (the default) | No policy reaches anyone. |
| Managed | Each member's active policies reach their Hive. |
| None (the default) | Policy rules have no effect. You can still prepare and test policies. |
| Audit | Hive checks each rule and records it in the audit log, and lets the action run. |
| Enforced | Swarmix 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
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
- In Studio, open Settings → Organization → Policies.
- Click New Policy.
- Enter a Policy Name and keep Full.
- Set the rules in the tabs: General, Agents, Chat & Sessions, Security and, when the policy adds plugins, Plugins.
- On Targeting, choose who the policy reaches (next section).
- 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.
- On the version's row, click Publish and confirm. You can no longer edit it.
- 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
| Group | Examples | More |
|---|---|---|
| General | Appearance, feature switches, updates | |
| Agents | AI providers and models, agent settings, tools, external MCP servers, external agents, crew templates | Crew templates, agent roles, profiles and traits, Tools and external services |
| Chat & Sessions | File attachments, effort levels, turns, cost and idle time per session | |
| Security | Data Shield, Risk & Audit, restrictions, desktop automation, Hub, connections | Tools 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
The organization is still on Direct or on Enforcement None. Change both in the web dashboard, under Policies → Settings.
You can delete drafts only. Swarmix Core also keeps a version that members' computers downloaded. Archive it instead.
Web Studio shows policies view only. Change them in the Studio desktop app or in the web dashboard.