Important
Beginning September 12, 2025, knowledge bases will be retired and fully replaced by Copilot Spaces. Spaces let you combine code and free-text content—like transcripts or specs—and can be created by any Copilot user, not just organization owners. They’re a good option for more focused or task-specific use cases. See About organizing and sharing context with GitHub Copilot Spaces.
About knowledge bases
Organization owners can create knowledge bases, bringing together Markdown documentation across one or more repositories. Organization members can then specify that knowledge base as the context for Copilot Chat in GitHub, Copilot Chat in Visual Studio Code, and Copilot Chat in Visual Studio.
When you ask a question in Copilot Chat with a knowledge base selected, Copilot will search the knowledge base for relevant information and synthesize a response.
Next steps
- To learn how to create and manage knowledge bases, see Creating and managing GitHub Copilot knowledge bases.
- To learn how to use knowledge bases, see Using knowledge bases.