Skip to Content
SWARMIXDocs
Policies

Crew templates, agent roles, profiles and traits

Define your organization's agents once, from instructions to crews, and decide whether members may create or change them.

Who can do this:Org admin

Your organization defines its agents in four linked records. Project admins then add agents and crews to their projects from them.

How the four records build on each other.
  • A trait is one piece of instruction: a persona, a skill, a constraint, a workflow or a hook.
  • A profile is the instruction set an agent works with: base instructions plus traits.
  • An agent role says what an agent may do: its profile, tools, folders and plugins.
  • A crew template is a set of agents, each with a role, and one of them the lead.

Open Agent Config

  1. In Studio, open Settings → Agent Config.
  2. Choose Crew templates, Agent Roles, Profiles or Traits.

Click Full View to open the same records in a tab, where you can compare several roles or profiles side by side and drag traits onto a profile. Both places edit the same records.

Members see these sections read-only, unless a policy lets them create or change records (see below).

Write traits and profiles

On Traits, click New Trait, give it a name, a Type and the instruction text. A skill or hook also takes a trigger, and a hook an event, such as the start of a session.

On Profiles, write the Base Instructions, set a language and tone, and attach traits. Compiled Output shows the instruction text that agents with this profile receive, with your organization's governance rules added.

Set up agent roles

An agent role gives an agent:

  • a name, a description of its responsibility and a remit;
  • a Profile;
  • Server Tools: the Swarmix tools it may call, or Disable All Tools for a chat-only role (the tools are listed under How agents use Swarmix tools);
  • Denied Tools: ready-made Security Policies, such as Protect credentials & secrets or Block all shell execution, and your own deny patterns;
  • a Path Policy: the folders it may reach;
  • Plugins: the plugins it gets.

A plugin stays off for a role until you switch it on, also when your organization installs the plugin later. A role carries no AI provider or model. A crew template, the project admin or the member sets those. See Set up an agent.

Build crew templates

A crew template needs at least two agents and a Lead: the agent that reads the member's messages and gives work to the others. For each agent, choose a role. Single Instance allows one such agent per project.

For the AI provider and model, choose one of two ways:

  • Default Provider: the template sets the AI provider, model and permission mode for its agents.
  • Let users choose provider: each member sets the AI provider and model on their computer.

Active makes the template available when a project admin adds a crew. Default suggests it for new projects. See Crews.

Let members create or change these records

By default only organization admins create and change crew templates, roles, profiles and traits. A policy can widen that. In a policy, open Agents → Crew Templates:

  • Browse Roles, Profiles, Traits lets members read them. It starts on.
  • Allow Creation lets members create them.
  • Allow Modification lets members change and delete them.
  • Disabled crew templates turns templates off for the members the policy reaches.

The member rights apply only when the organization's Enforcement is Audit or Enforced. See How policies work.

Limit agents in projects

  • Agents → Agent Slots → Allow Manual Slot Creation: when off, project admins add crews only, not single agents.
  • Allow AI provider/Model Override, Allow Permission Mode Override, Allow Tool Override and Allow Working Directory Override, in the same category, decide what members may change on a crew's agents.
  • Max agents per project, in the web dashboard under Policies → Settings, caps the agents in each project. Swarmix sets an upper limit of its own, 50 by default.

FAQ

On this page