Skip to Content
SWARMIXDocs
AI providers and models

How an agent's AI provider and model are chosen

See which setting decides the AI provider and model an agent runs on, who can change it, and what Swarmix does when a choice isn't allowed.

Who can do this:Org admin

Several people can have a say in which AI provider and model an agent uses: Swarmix, you as an organization admin, the crew template, the project admin and the member. This page shows who decides in which case, so you can set the defaults and limits you need.

Swarmix Core merges the shared settings and applies the policy. Studio adds the member's choice, and Hive checks the result when the agent starts.

Who sets what

  • Swarmix sets a default for the whole platform. It applies when no other setting chooses.
  • You set your organization's Default AI Provider and model in the AI Provider Catalog.
  • Your policies can set a default AI provider and model for a group and limit the providers and models its members may use. See AI provider and model rules in policies.
  • A crew template either sets the AI provider for its agents or lets each member choose. See Crew templates, agent roles, profiles and traits.
  • A project admin can set the AI provider, model and permission mode of a single agent in a project.
  • A member chooses on their computer where nobody locked the choice.

An agent role carries no AI provider or model.

Who picks in each case

AgentThe AI provider and model come fromThe member can change them
Crew agent, template with Default Providerthe template; if it sets none, the policy's default, then your organization's default, then Swarmix'sNo
Crew agent, template with Let users choose providerthe member's choice; if they set none, the defaults aboveYes, in the crew's settings
Single agent, project admin turned on Block changes by membersthe project admin's valuesOnly the fields the project admin left empty
Single agent, project admin left Block changes by members offthe member's choice; if they set none, the project admin's values, then the organization'sYes
Single agent, project admin set no valuesthe member's choiceYes

A fixed crew can't fall back on the member's computer. If its AI provider isn't installed there or doesn't offer its model, the crew doesn't start. Studio says which agents need what, for example "This crew needs the model "…" (for …), which … does not offer. Ask your admin to change the crew template."

What a policy changes

A policy follows a member's groups, so two members can get different results for the same agent. Under the organization's Enforced mode:

  • Crew agents: Swarmix replaces an AI provider the policy doesn't allow with the policy's default AI provider, or the first allowed one, and a model it doesn't allow with an allowed model.
  • Single agents: Swarmix leaves out an AI provider or model the policy doesn't allow, and the member chooses among the allowed ones.

Under Audit, the member sees no change. Swarmix records what it would have changed, so you can check a rule before you enforce it. Under None, policies don't apply. See How policies work.

When the agent starts

Studio works out the model in this order:

  1. the model chosen for the agent;
  2. the policy's default model, or your organization's default model;
  3. the Default Model in your settings for all members for that AI provider;
  4. the AI provider's own default model.

If the model isn't in the AI provider's catalog, Studio uses the provider's default model and tells the member which model it used instead. If the policy doesn't allow the model, Studio uses an allowed one and says so. Resuming an agent follows the same order.

Best practices

  • Set a Default AI Provider for your organization. Without one, and without Swarmix's default, members choose a provider each time they create an agent.
  • Use a policy for a department's limits, and the organization default for the rest.
  • Run new provider rules in Audit first, then enforce them once the records look right.

FAQ

On this page