Skip to Content
SWARMIXDocs
Use cases

Each agent on its own model

Run each agent of a crew on the AI provider and model that fits its work, including a model your company hosts.

Who can do this:Org adminProject admin

The agents in a crew don't need to share one model. A contract analyst can run on the model your company hosts for confidential documents, while the lead and a compliance checker run on a model from a public AI provider. This page follows the legal team's "Contract review" crew from A crew reviews a contract and sets a model for each of its agents.

One crew, two AI providers. Each agent's model comes from the crew template.

Before you start

You need the organization admin role for the crew template and your own AI provider, and the Swarmix Studio desktop app. A project admin sets the models of single agents in a project.

Add your company's model

If your company hosts a model, add it as your organization's own AI provider:

  1. Open Settings → AI providers and click Admin.
  2. Under Organization AI providers, click + Add AI provider.
  3. Choose a Base Template, enter a Name, such as "Nutanix GPT", and the Base URL of your endpoint.
  4. Add the models and mark one as Default. Click Create AI provider.
  5. Enter the key once in the AI provider's Settings for all members, so members use it without seeing it.

See Your own AI providers and models and Keys and settings for all members.

Give each agent its model in the crew template

  1. Open Settings → Agent Config → Crew templates, choose "Contract review" and click Edit.
  2. Under Default Provider, choose the AI provider and model for the agents that don't set their own, for example Claude API.
  3. Find the contract analyst. In its Provider section, choose Nutanix GPT under AI provider and a model under Model.
  4. Leave the lead and the compliance checker on Inherit from crew template.
  5. Click Save.

With Default Provider, the template fixes the models: each agent runs on its own setting, or on the template's default, and members can't change them. See Crew templates, agent roles, profiles and traits.

Let members choose instead

Choose Let users choose provider in the template when members should pick. The agents then show "Configured by user". Each member sets the AI provider and model for each agent in the crew's Crew settings, under Agents. The template's values serve as defaults.

Check it in the crew's chat

When a member starts the crew, the chat shows the AI providers in use, the lead and each agent. In the chat's + menu, Agents shows each agent's AI provider and model.

If a member's computer can't run an agent's model, a fixed crew doesn't start. Studio names the agent and what it needs, for example "This crew needs the model "…" (for …), which … does not offer. Ask your admin to change the crew template."

Know what each AI provider sees

Each agent sends its own work to its own AI provider. The lead reads the crew's chat and the agents' results, so the analyst's answers also reach the lead's AI provider. A message or file you send to the whole crew goes to the lead first.

For a document that only your company's model may see, give it to a solo agent that runs on that model. Data Shield masks names, IBANs and other sensitive data before any AI provider receives them. See Data Shield.

Set the model of a single agent

For a solo agent in a project, the project admin decides:

  1. In the agent's settings, under For Every Member, choose the AI provider, model and permission mode.
  2. Turn on Block changes by members when each member must use these values.

Members then see the values as Set by Your Admin. See Set up an agent.

Limit models with a policy

A policy can allow an AI provider and model for a group and leave others out. Under Enforced, Swarmix replaces a crew agent's AI provider that the policy doesn't allow with an allowed one. Check a new rule under Audit first: Swarmix records what it would change and leaves the members' agents as they are. See How an agent's AI provider and model are chosen.

Best practices

  • Set a model only where an agent needs its own. Leave the other agents on Inherit from crew template, so one change to Default Provider moves each of them.
  • Fix the models when results must match. With Default Provider, each member's crew runs the same models.
  • Give members the key. With a key in Settings for all members, a fixed crew starts on each member's computer without set-up.

FAQ

On this page