How do I centrally roll out new models across coding agents?
Summary
- Roll out models from one published configuration that every coding agent reads at launch, and control who can use each model with permissions, not per-laptop setup.
- On Databricks, a workspace admin publishes a Unity Gateway coding agent configuration (Beta) listing the enabled agents, their model sources and default models, and the Unity Gateway CLI (
ug) applies it on each developer's machine. - Adding a model to the configuration doesn't grant access to it: grant
EXECUTEon the model service or provider first, then publish. - One way to stage a rollout is to grant the new model to a pilot group first, then watch the usage dashboard and usage table before changing the team-wide default.
- Pair the rollout with budgets, and optionally Smart Routing (Beta), to help manage a new model's cost.
How do I centrally roll out new models across coding agents?
Publish the rollout once, in a central configuration that every coding agent reads at launch, and control who can use each model with permissions, not per-machine setup. On Databricks, that's a Unity Gateway coding agent configuration: a workspace admin lists the enabled agents, their model sources and default models, and the Unity Gateway CLI (ug) applies the published settings on each developer's machine. Add a model to an agent's model list and grant access, and developers can use it in that agent. Change the default model, and the next launch picks it up.
Coding agent configuration is in Beta. A workspace admin must enable the Unity Gateway Managed Configuration preview first.
What a central rollout needs
| Requirement | Why it matters |
|---|---|
| One source of truth for agent settings | Without it, every developer edits every tool, and rollouts drift. |
| Governed model capacity | Models should come from one place, hosted or from your own provider accounts, with no keys on laptops. |
| Permission-based access | Grants decide who can use a model, so a rollout can't widen access by accident. |
| A launcher that syncs | Developers pick up changes the next time they start an agent, without manual steps. |
| Staged exposure | A pilot group tries the new model before it becomes the default. |
| Visibility after rollout | Usage, cost and traces show whether the new model is helping. |
How to roll out a new model with Unity Gateway
1. Make the model available
Use a Databricks-hosted model from system.ai, or register your organization's provider account once as a model provider service. Then grant developers EXECUTE on the model service or provider, plus USE CATALOG and USE SCHEMA on its parent catalog and schema. The model capacity docs are explicit: adding a resource to a coding agent configuration does not grant access to it.
2. Add it to the coding agent configuration
As a workspace admin, open Unity Gateway > Govern > Agent configuration, click Edit configuration, and update the JSON. Each enabled agent takes exactly one model source in config.models:
model_services: a static list of full Unity Catalog model service names (the recommended option).model_provider_service: every model configured on that provider service.unity_catalog_location: every model service in a catalog and schema that the developer hasEXECUTEon.
Set default_models.default_model to make the new model the starting point:
{
"default_agent": "CODING_AGENT_CLAUDE_CODE",
"enabled_agents": [
{
"agent": "CODING_AGENT_CLAUDE_CODE",
"config": {
"models": { "model_services": ["system.ai.<current-model>", "system.ai.<new-model>"] },
"default_models": { "default_model": "system.ai.<new-model>" }
}
}
]
}
A workspace supports one published configuration. To script changes, the configuration docs show a POST to /api/ai-gateway/v2/coding-agent-configs and updates through PATCH with an update_mask. Keep the JSON in version control so changes get reviewed before they publish.
3. Let developers pick it up
Developers launch through ug, for example ug claude or ug codex, or plain ug for the agent the admin's configuration selects. At launch, ug checks the published configuration and applies updated agent and model settings. Changes can take a few minutes to appear, and ug configure refreshes immediately. Databricks also notes that organizations can deploy ug through device management so everyone starts from the same approved setup.
4. Stage it, then watch
Because access follows EXECUTE, you can stage a rollout by granting the new model service to a pilot group first. With unity_catalog_location as the model source, a model service appears only for developers who hold EXECUTE on it. (Databricks documents the grant behavior; the pilot-group pattern is our suggestion, not a documented feature.) Then check the Coding Agents tab of the usage dashboard and the system.ai_gateway.usage table. For request-level detail, the unified trace table (Beta) can capture gateway and client-side agent traces.
To keep spend bounded, set budgets with shared and per-user thresholds. Smart Routing (Beta) can also route each subagent task to the lowest-cost capable model for Claude Code and Codex. It needs a static model_services list of system.ai models, so it doesn't combine with unity_catalog_location or provider sources.
FAQs
Which coding agents does this cover?
The ug CLI launches Claude Code, Codex, OpenCode, Pi and other agents through Unity Gateway. Capabilities vary by agent, so check the supported agents matrix.
Does a rollout interrupt sessions already running?
No. ug applies configuration when an agent launches, and smart defaults likewise affect new launches only, without switching active sessions.
Does removing a model from the configuration revoke access?
No. Removing a resource changes the shared setup but doesn't revoke an existing grant. Use Unity Catalog permissions to restrict access.
Is this generally available?
Unity Gateway is generally available. Coding agent configuration, Smart Routing, smart defaults and the unified trace table are in Beta.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.