Skip to main content

Copilot Agent mode is GA- What has changed?

Microsoft is celebrating its 50 year anniversary and there are giving away a lot of nice presents. One of them is the General Availability of GitHub Copilot Agent mode.

I don’t want to repeat everything I said from my preview post so let’s first look at what has changed.

Remark: As far as I’m aware Agent Mode is currently only available inside VSCode and not (yet) in Visual Studio

First (small) change is that the UI has changed and that the 3 modes are now available through the same dropdown:

The basic functionality of Agent Mode in Github Copilot remained the same. So nothing extra to mention there.

Remark: If you are in doubt when to use what mode in GitHub Copilot check out this post.

Use your own models

One new feature I noticed that is not directly related to Agent Mode but was available in the same release is the possibility to use your own models. This can be a hosted model from one of the AI providers or a local model through Ollama.

For example, if we want to use DeepSeek in Agent Mode that is now possible. Let me show you:

  • I assume you already have Ollama installed and running. (If not, check out my post here).
  • We download and install the DeepSeek R1 model locally

ollama pull deekseep-r1

  • Open up VS Code and go to the Copilot window.
  • Click on the dropdown where you can choose between the different models.

 

  • Click on Manage Models.

 

  • Select Ollama from the list of providers.

 

  • Check DeepSeek-R1 from the list of available models and click on OK.

 

  • Now this model is available in the list of available models:

 


Remark: I noticed that although the model became available in both Chat and Edit mode, it is not the case for Agent Mode. I don’t know if this is a bug on my machine or that is just not available yet.

Extend your Agent functionality through MCP

Another nice feature that was introduced is that we can now extend the GitHub Copilot Agent functionality through MCP(Model Context Protocol). This extends the reach of what an agent can do or what information it can use in a standardized way.

Let’s give it a try!

First we need local MCP server running. In this case I’m using an example MCP server from Laurent Kempe that you can find here; aiPlayground/MCPSSEServer at main · laurentkempe/aiPlayground

  • Download the example code and start the MCP server:

dotnet run

  • Now open the Copilot Chat window and switch to Agent mode

 

  • Click on the Select Tools… icon

 

  • You get a list of already available and active tools.

 

  • Scroll down to the bottom of the list and click on Add more tools

  • Choose the Add MCP server option from the dropdown

 

  • Choose HTTP (Server-sent events) from the list

 

  • Enter the server URL and hit enter

 

  • Enter the server id and hit enter

 

  • We want to store this configuration only for this project so choose Workspace Settings

  • Our local mcp.json file is shown and the new mcp server is added to the list:

 

  • Click on Start to activate the integration:

 

  • Let’s now try a prompt that could invoke the registered tool:

 

  • As you can see above, the agent asks to use the tool. After hitting continue the tool is called and the agent continues his work

 

Nice!

More information

GitHub Copilot Agent mode (Preview)

Introducing GitHub Copilot agent mode (preview)

Agent mode: available to all users and supports MCP

AI language models in VS Code

Laurent Kempé - SSE-Powered MCP Server with C# and .NET in 15.7MB executable

aiPlayground/MCPSSEServer at main · laurentkempe/aiPlayground


Popular posts from this blog

Kubernetes–Limit your environmental impact

Reducing the carbon footprint and CO2 emission of our (cloud) workloads, is a responsibility of all of us. If you are running a Kubernetes cluster, have a look at Kube-Green . kube-green is a simple Kubernetes operator that automatically shuts down (some of) your pods when you don't need them. A single pod produces about 11 Kg CO2eq per year( here the calculation). Reason enough to give it a try! Installing kube-green in your cluster The easiest way to install the operator in your cluster is through kubectl. We first need to install a cert-manager: kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager.yaml Remark: Wait a minute before you continue as it can take some time before the cert-manager is up & running inside your cluster. Now we can install the kube-green operator: kubectl apply -f https://github.com/kube-green/kube-green/releases/latest/download/kube-green.yaml Now in the namespace where we want t...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

DevToys–A swiss army knife for developers

As a developer there are a lot of small tasks you need to do as part of your coding, debugging and testing activities.  DevToys is an offline windows app that tries to help you with these tasks. Instead of using different websites you get a fully offline experience offering help for a large list of tasks. Many tools are available. Here is the current list: Converters JSON <> YAML Timestamp Number Base Cron Parser Encoders / Decoders HTML URL Base64 Text & Image GZip JWT Decoder Formatters JSON SQL XML Generators Hash (MD5, SHA1, SHA256, SHA512) UUID 1 and 4 Lorem Ipsum Checksum Text Escape / Unescape Inspector & Case Converter Regex Tester Text Comparer XML Validator Markdown Preview Graphic Col...