Skip to Content
SWARMIXDocs
AI providers and models

Keys and settings for all members

Give your members an AI provider's key, sign-in token, address or model once, so their agents use your values without anyone setting them up.

Who can do this:Org admin

Instead of asking each member to sign in or paste a key, give the key once for your whole organization. You can also set the address, the program path, the model and environment variables that each AI provider uses on members' computers.

Before you start

You need the organization admin role and the Swarmix Studio desktop app. The web dashboard doesn't offer these settings.

Give a key or a sign-in to your members

  1. Open Settings → AI providers, then click Admin.
  2. In the AI Provider Catalog, expand the AI provider. This works for the AI providers Swarmix offers and for your own.
  3. Under Settings for all members, paste an API Key, or an OAuth Token for plan billing.
  4. Click Save.

Studio says "Settings for all members saved". On their AI providers page, members then see "Using your organization's key" or "Signed in by your organization", and their agents use your key.

Set other values

The same form holds:

  • Binary Path: where the AI provider's program sits, for providers that run a program.
  • API Base URL: another address for the AI provider's API, such as a company proxy.
  • Default Model: the model agents use when no other setting chooses one.
  • Environment Variables: one per line, as KEY=value.
  • CLI Version and SDK Version: see Installs and versions.

What members see

Members use your values and can't change them. They see which fields you set, but not the values. When you give the key or the token, Studio uses none of the member's own key, token, address, program path or environment variables for that AI provider.

Where you set an environment variable that a member also set, your value wins.

Swarmix Core keeps your values and sends them to each member's Hive. Hive passes them to the agent when it starts. Studio doesn't store them, and its window doesn't receive the key, the token or the environment variables.

Subscriptions in Web Studio

The checkbox "Members may use their subscription in their cloud Studio, where the platform allows it" decides whether members can sign in with their plan in Web Studio. Clear it, and Web Studio uses API keys only for that AI provider. The desktop app doesn't change.

Set other values for a group

A policy can give a group its own values, such as a department's own key.

  1. Open the policy and go to Agents → AI Providers.
  2. Expand the AI provider under Allowed AI providers & Models.
  3. Fill in its Settings and save the policy.

A field the policy sets wins over your settings for all members. Environment variables merge by name. See AI provider and model rules in policies.

Remove your values

Clear the fields and click Save. Studio says "Settings for all members removed", and members go back to their own sign-in or key. Discard undoes the changes you haven't saved.

Best practices

  • Give one key per AI provider for the organization, and a policy key only where a department pays separately.
  • Rotate keys in the AI provider's console, then paste the new key here. Members pick it up without doing anything.
  • Leave the address empty unless your company routes AI traffic through its own proxy.

FAQ

On this page