Copilot 代理 are custom tools embedded in Copilot 扩展. They integrate with Copilot Chat to provide additional functionalities tailored to specific needs. Copilot 代理 can perform various tasks such as querying documentation, retrieving data, executing specific actions, or providing AI-assisted coding suggestions. They enhance the capabilities of GitHub Copilot by allowing developers to build and integrate custom features directly into the Copilot Chat interface.
To use a Copilot 代理 in Copilot Chat, it must be associated with a GitHub App. This combination of a GitHub App and a Copilot 代理 is what we refer to as a GitHub Copilot 扩展. For more information on Copilot 扩展, see About building Copilot Extensions.
Any GitHub user can create a Copilot 扩展 by building a Copilot 代理 and associating it with a GitHub App. For more information on creating a Copilot 扩展, see Setting up Copilot Extensions.