Microsoft has announced two new APIs for using the language models of GitHub Copilot in VS Code: a chat API and a language model API. The extensions mean developers can add extensions that use the APIs for Copilot to build custom chat participants that users can interact with in the GitHub Copilot Chat view in VS Code.
Copilot is GitHub's AI-powered "pair programmer" which suggests code and entire functions in real-time from your editor.
A chat extension is a VS Code extension that uses the Chat extension API by contributing a Chat participant.Chat participants are domain experts that can answer user queries within a specific domain. Participants use several approaches to process a user query, including using AI to interpret the request and generate a response; forwarding the user request to a backend service; and using procedural logic and local resources.
[フレーム]
With the latest release, developers can now build their own chat participant for their VS Code extensions, allowing them to provide domain knowledge to Copilot that would be relevant to their users.
The extensions let developers create a chat participant with the Chat API, and use the Language Model API to process natural language and formulate a response to the user query.
The Language Model API lets developers directly access and make use of LLMs (large language models) contributed by GitHub Copilot in their own extensions by specifying prompts, relevant context, and how requests should be sent to the model. Microsoft says developers can use this API to enhance developer experiences beyond the Copilot Chat view.
The suggested examples include AI-powered rename suggestions, that allow you to dynamically rename symbols in your C++ code. These will automatically invoke suggestions when you go to rename a symbol in VS code when you have the Copilot Chat extension installed.
The VS Code team says several related features are expected later this year, including a Variable Resolving API that will ket extensions contribute chat variables, which provide context from the extension's domain; and a Tools API that converts natural language into tool calling with arguments, allowing extensions to register tools that can be called by other participants.
GitHub Copilot extensions for VS Code are available now.
More Information
Build session on the new extensibility
Related Articles
Microsoft And GitHub Announce Copilot Extensions At Build 2024
Microsoft Launches Copilot Pro
Copilot Chat Improves Confidence and Enjoyment
GitHub Announces AI-Powered Changes
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
XAML.io 0.5 Adds Multi-File Project Editing
20/10/2025
Userware has released XAML.io Preview v0.5 with improvements including multi-file project editing. The team says this is an important step toward enabling visual .NET development directly in the brows [ ... ]
Microsoft Announces GitHub Copilot App For Java And .NET
27/10/2025
GitHub Copilot has been updated with app modernization features for Java and .NET applications. The news was announced by Microsoft at last month's Migrate and Modernize Summit, alongside new ag [ ... ]
- AI Improves Devs Skills, Enhances Their Roles
- IBM Launches Granite Version 4.0 and Granite-Docling
- Exploring The Microsoft Agent Framework
- DH2i Launches DxEnterprise For SQL Server 2025
- TestSprite 2.0 Sees User Growth
- Mico - A Personality For Copilot
- W3C Adopts A New Logo
- C# Could Overtake Java in TIOBE Index
- Edera Open Sources Sprout
- The Pico Gets Zephyr And Rust Support
- George Boole, Boolean Logic and Computing
- .NET 10, C# 14 and F# 10 Released Alongside Visual Studio 2026
- Epic Settles With Google - Abandons The Rest Of Us
Comments
or email your comment to: comments@i-programmer.info