Note
This feature is currently in public preview and is subject to change.
Copilot Memory lets Copilot learn about your codebase and your personal preferences, helping Copilot agents work more effectively. For more information, see About GitHub Copilot Memory.
Copilot Memory is enabled for your account by default if:
- You are on a paid, individual Copilot plan.
- Your plan is managed by an enterprise or organization that has allowed you to use Copilot Memory.
In either case, you can disable or re-enable Copilot Memory at any time in your personal Copilot settings.
Disabling or enabling Copilot Memory
When enabled, Copilot Memory will be used in any repository in which you use a supported Copilot feature. Both repository-level facts and user-level preferences will be saved.
- In the upper-right corner of any page on GitHub, click your profile picture, then click Copilot settings.
- Under "Features", scroll down to the setting for Copilot Memory.
- Click the dropdown button and select Enabled or Disabled.
Selecting a default billing entity
If you receive Copilot access through multiple enterprises or organizations, you must select a default billing entity in order to generate user-level preferences with Copilot Memory. The billing entity determines which account "owns" (can manage and delete) preferences that are generated for your account. Do this in your account settings.
Viewing and deleting repository-level facts
As an owner of a repository in which Copilot Memory is in use, you can review the currently stored repository-level facts. If you think any are inappropriate, misleading, or incorrect, you can delete them.
-
On GitHub, navigate to the main page of the repository.
-
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
In the "Code & automation" section of the sidebar, click Copilot, then click Memory.
-
You will see a list of repository-level facts, which you can delete as needed.
Viewing and deleting your user-level preferences
Copilot Memory stores preferences for your personal use of Copilot.
- In the upper-right corner of any page on GitHub, click your profile picture, then click Copilot settings.
- In the sidebar, under Copilot, click Memory.
- You will see a list of your user-level preferences, which you can delete as needed.