LV.1
EXP 0/1000
โ—€ Playbook index
NO.19

๐Ÿง  Copilot Memory

In a nutshell

Copilot Memory is a mechanism for Code Review / Cloud Agent / CLI to remember and reuse knowledge learned in a repository.

No more repeating the same preamble every time โ€” the more you use it, the smarter Copilot becomes.

Scope and mechanics

Scope

  • ๐Ÿ“ฆ Per repository โ€” memories are tied to a repository and used only within it
  • ๐Ÿ‘ฅ Shared across users โ€” available in Copilot sessions for all users who have access to the repository
  • ๐Ÿ”€ Cross-feature โ€” knowledge learned by Cloud Agent is available to Code Review, and vice versa

How it works

  • ๐Ÿ” Each memory carries code citations that are verified against the current codebase when the memory is used
  • โณ Auto-deleted after 28 days โ€” refreshed and extended whenever the memory is used

Why it matters

No more repeating the same explanation in every prompt โ€” the more you use it, the deeper Copilotโ€™s understanding of the repository grows.

Where to configure it

ScopeSettings pathWhat you can do
RepositoryRepo โ†’ Settings โ†’ Code and automation โ†’ Copilot โ†’ MemoryView the list of saved memories and delete individual entries
OrganizationOrg โ†’ Settings โ†’ Code, planning, and automation โ†’ Copilot โ†’ Policies โ†’ Copilot MemoryEnable / Disable for the entire org
EnterpriseEnterprise โ†’ AI controls โ†’ Copilot โ†’ Copilot MemoryEnabled / Disabled / Let orgs decide for all orgs

๐Ÿ“˜ Official guide: Managing and curating Copilot Memory