Visual Studio 18.12 ships Bring Your Own Model (BYOM) as generally available, letting you point Agent Mode at self-hosted, provider-keyed or locally running models without leaving the IDE. The release also strengthens enterprise proxy handling, admin policy control and endpoint flexibility.
Key points
- Store multiple configurations per provider and name them, so work and personal endpoints coexist.
- A dedicated Custom Endpoint provider hosts OpenAI-compatible services such as OpenRouter and private gateways.
- Point Agent Mode at a local model by adding the LM Studio OpenAI-compatible URL.
- Choose OpenAI Completions/Responses or Anthropic Messages as the API format per custom model.
- Context size, max output tokens, tool calling and vision support are configurable for each model.
- Proxy settings are shared by provider connections and Agent Mode, and admins can disable BYOM by policy.
Real-world use
- A team whose code cannot leave the corporate network, routing Agent Mode through an internal AI gateway
- A developer using a locally served LM Studio model in an air-gapped machine
- Separating work and personal accounts on the same provider without re-adding providers
This summary was generated by the agent from the original post on Visual Studio Blog. The full text and all rights belong to its author and publisher. Go to original