Add model providers

Aegis needs at least one model provider before agents can run. You can use local models, hosted providers, or both.

Choose A Provider Strategy

Use local providers when:

Use hosted providers when:

Add Provider Credentials

  1. Open settings.
  2. Go to model/provider settings or secrets.
  3. Add the provider key.
  4. Set the provider name and expected environment variable when needed.
  5. Save the secret.
  6. Check the secret status.

Provider keys are stored as local secret material. API responses should show metadata and redacted previews, not raw values.

Configure Local Models

For Ollama or another local runtime:

  1. Install the runtime.
  2. Pull the model you want to use.
  3. Start the local model service.
  4. Confirm it responds from the terminal.
  5. Open Aegis provider settings.
  6. Select the local provider and model.
  7. Run a health check or provider smoke check.

Example:

ollama list

Configure Hosted Models

For hosted providers:

  1. Create or locate the provider API key.
  2. Add it to Aegis secrets.
  3. Choose the provider in model settings.
  4. Select a default model for coordinator and worker roles.
  5. Run a health check.
  6. Run a small workflow.

Use Model Routing

Model routing controls which provider/model Aegis chooses for a role or task.

Start simple:

Verify The Provider

Run a provider smoke check after adding or changing providers:

npm run smoke:providers

Also use the provider smoke runbook when a provider fails in a real workflow.