#1725·OpenMAIC

[RFC] Providers, capability slots and server-side model configuration (tracking)

Author: wyucCreated Sep 29, 2026Updated Sep 30, 2026
Labelsstatus:in-progresstype:rfcarea:providers

Tracking issue for the RFC in Discussion #1701 (providers, capability slots and server-side model configuration). Design discussion happens there; this issue tracks the phased work.

Development lands on the integration/provider-config branch. Pull requests for each phase target that branch, and the branch merges to main once it is releasable.

Server persistence (#1658, landed in #1710) was the prerequisite for P1 and is in place.

P0: model and resolution (server only, no behavior change)

  • Finalize the slot inventory (#1726): map every current call site to exactly one slot, including the 21 stage keys, generate-classroom, director and the fallback paths added in #1614
  • Types for provider / slot / assignment, and the openmaic.yml schema with startup validation (#1727)
  • resolveSlot: walk-up resolution, explicit null, requirements, source and lock state (#1729)
  • Translate the existing provider variables, server-providers.yml, DEFAULT_MODEL and MODEL_FALLBACK into the new structure, with deprecation notices (#1731, narrowed in #1732); MODEL_ROUTES is not translated and must be rewritten as slots
  • Wire loadDeploymentLayer into startup together with the route switch, so MODEL_ROUTES without openmaic.yml fails at boot (#1735)

P1: server-side configuration

  • Workspace configuration table with keys encrypted at rest (OPENMAIC_SECRET_KEY) (#1733), resolved per request and job owner (#1734)
  • Default assignments for the media, search and document roots from the legacy default provider selection (#1737)
  • Retries follow the slot's fallback at every call site: callLLM (#1735) and streaming calls (#1739)
  • Route every provider call through resolveSlot (LLM: #1735; media and tools: #1737); x-api-key, x-base-url, x-model, x-model-routes and x-*-provider enter deprecation (honoured only while the slot is unassigned)
  • Browserless outlines (/api/generate-classroom) resolve through course.outline instead of reusing the generate-classroom model (#1735)
  • Decide on pbl-chat and maic-agent, which no call site resolves today: removed (#1735)

P2: settings UI and migration

  • Settings API (#1740) and UI (#1741): the course model diagram with lock state, edit on the card
  • Split registry metadata into client-safe data modules The settings API serves the preset catalogue and each provider's models, so the client imports no registry; only the preset id tables moved to a client-safe module (#1740)
  • First-run wizard (add a provider, fill the slots it covers) (#1741)
  • Remove the browser provider state and token plan enrollment; import browser settings through the legacy browser importer (#1744; provider options in openmaic.yml restores the VoxCPM backend)
  • Documentation: openmaic.yml, slots, migration, the model settings (#1742)
  • Fallbacks only on language-model slots (#1743); policy.allowWorkspaceProviders: false also stops using providers workspaces added before (#1750)

Follow-ups found during P2

  • PBL image captions: hasVision consults only the built-in catalogue, so models of an OpenAI-compatible provider never enable captions
  • Settings a browser kept that have no server equivalent yet: Baidu search sub-sources, per-call thinking settings (assignments can carry thinking), VoxCPM backend for env-only deployments (options.backend needs openmaic.yml)
  • A staged browser settings import that another owner's binding keeps refusing stays in the browser; consider an expiry

P3: cleanup

  • Remove the deprecated environment variables, server-providers.yml and request headers (two minor versions after P2)

In parallel

  • Registry dispatch instead of switch for capability execution (TTS and web search first)

Related: #1658, #1614