News

VS Code Previews AI Topic Experts for Copilot Chat Called 'Agents'

The GitHub Copilot "AI pair programmer" in Visual Studio Code is getting new functionality including artificial topic experts called "Agents" who can help answer Chat questions with their specialized knowledge.

The new preview capabilities were detailed in the company's announcement of the regular monthly update, for October 2023, bringing the super-popular code editor to v1.84.

"This iteration, we built a new way to interact with Copilot Chat: agents," the post said. "Agents are like experts who have a specialty that they can help you with, and you can talk to them in the chat by mentioning them with the @ symbol."

In this early stage, there are only two agents:

  • @workspace has context about the code in a workspace and can help devs navigate it, finding relevant files or classes.
  • @vscode knows about commands and features in the VS Code editor itself, and can help devs use them.

In the new scheme, the agents replace some slash commands -- such as /createWorkspace and /createNotebook -- that were enacted with the / symbol, so while developers previously might have enacted the /explain command, they can now fire off a @workspace /explain command.

Developers can just type / to see a list of completions that will automatically expand to the full agent and command.

[Click on image for larger view.] Slash Command Menu (source: Microsoft).

Other Copilot functionality being previewed includes several improvements to the Terminal and others affecting streaming inline chat, commit message generation, import grouping, improved /explain context, persistent chat view state and several more.

Beyond the work on Copilot, the update sees these improvements, with links for more information:

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube