Microsoft is rolling out Bring Your Own Model (BYOM) in preview for Visual Studio, enabled by default across Community, Professional, and Enterprise SKUs. BYOM lets developers connect to Microsoft Foundry deployments or use their own API keys from OpenAI, Anthropic, or Ollama in Agent Mode, with or without a GitHub sign-in. The feature is available now in Visual Studio 18.10 Insiders and requires the new Agent (Preview) built on the GitHub Copilot SDK harness; previously added BYOM models under the old Ask/Agent modes are no longer supported and must be re-added. Upcoming work includes an ADMX policy to disable BYOM for enterprises, centralized model management, and more granular model controls.
Questions this post answers
How do I enable Bring Your Own Model (BYOM) in Visual Studio Agent mode?
Install the Visual Studio 18.10 Insiders release, then open the model picker in Chat and choose 'Add a model' or 'Manage models', click 'Add model provider', and connect to a supported provider before starting work in Agent (Preview) mode. Supported providers include Microsoft Foundry, OpenAI, Anthropic, and Ollama, with custom URL support for OpenAI and Ollama. daily.dev helps developers track new Visual Studio AI capabilities like BYOM as they roll out.
Why did my previously configured BYOM models stop working in Visual Studio?
The old Bring Your Own Model setup from the earlier Ask and Agent modes is no longer supported because BYOM now depends on the new Agent (Preview) built on the GitHub Copilot SDK-powered harness. Anyone who had models configured under the previous experience must re-add them after updating to Visual Studio 18.10 Insiders. Developers migrating AI tooling setups can follow breaking changes like this one on daily.dev.
Do I need to sign in to GitHub to use my own AI model in Visual Studio?
No, Bring Your Own Model works in Agent mode whether or not a developer is signed in to GitHub. It supports connecting to a Microsoft Foundry deployment or using an API key from another supported provider such as OpenAI, Anthropic, or Ollama. daily.dev keeps developers choosing among AI coding providers informed on new flexibility options.