Skip to content

AI MEMORY FOR AGENTS · VS CODE

Bring what you learned into Copilot.

We give Copilot a way to search your saved knowledge and keep the decisions worth remembering. Find the reason behind a fix, inspect the original memory, and save a new decision for the next session.

KNOWLEDGE YOU CAN USE AGAIN

Keep the lesson. Move the work forward.

Find the reason behind a fix

We give Copilot a searchable memory beyond the current conversation. Ask about a recorded decision and find the knowledge that helps you move forward.

Read the evidence before you act

Retrieve selected observations after searching. Inspect the saved details instead of treating a plausible answer as proof.

Keep the next decision

Ask Copilot to save a useful note with an explicit project name. Give the next session a concrete decision it can find again.

AI memory in production

70 days of work. One searchable memory.

Alessandro used our open-source engine across three machines for 70 days. His customized deployment captured the decisions, fixes and discoveries behind the work—and published the data.

Observations captured
22,718
Bug fixes recorded
1,262
Decisions recorded
757

See how he made that knowledge searchable. Then give your own agents a memory to build on.

Claude-Mem’s mascot files a note in a shared card catalogue connected to three computers.
Alessandro’s published field study · March–May 2026

ILLUSTRATIVE WORKFLOW

A new conversation can find yesterday’s decision.

You decided to retry a background job rather than block sign-in. Save the reason once, then ask Copilot for it when you revisit the code.

  1. 01 · Keep

    Save the decision

    save_memory

    Ask for an explicit note in project “memory-practice”: retry the background job so sign-in can finish.

  2. 02 · Find

    Start a new session

    search

    Search for the retry decision using the same project name. Inspect which memories came back.

  3. 03 · Read

    Open the source

    get_observations

    Retrieve the selected IDs. Read the saved reason before deciding what to change next.

A suggested practice exercise, not an executed benchmark or a promise of a particular answer.

CONNECT YOUR MEMORY

Give Copilot a place to remember.

Use VS Code’s Copilot harness with an account and organization policy that allow MCP servers. Install Node.js and complete Claude-Mem’s worker setup where the harness runs.

npx claude-mem install --ide copilot-vscode
  1. Read the installer result. It adds the local memory server to your Copilot user configuration, preserving other server entries.
  2. Start the worker with npx claude-mem start if it is stopped. Restart VS Code, select Copilot, and confirm the Claude-Mem tools appear.
  3. Try the practice exercise above. Review the save request before allowing it; then inspect the returned record in a new session. A connected server alone does not verify a successful save or recall.

The connection supports recall and explicit saves. Automatic Copilot conversation capture and automatic context injection are not installed by this setup.

TAKE YOUR KNOWLEDGE FURTHER

Your next tool can build on the same knowledge.

Start with local memory. Add CMEM Pro when you want Cloud Sync and supported access from other places. Bring the discoveries your agents save into more of your work.

Before you connect

Do I need Pro?

Local MCP recall and explicit saving connect to your running Claude-Mem worker. Pro is optional for Cloud Sync and supported remote access. Copilot plan and organization requirements still apply, and observation providers have their own usage terms.

Does this automatically capture Copilot conversations?

This Copilot integration provides memory tools. It does not install automatic Copilot capture or context injection. Use explicit save_memory for new notes, or search existing memories from supported capture integrations.

Where does the installer put the connection?

It adds claude-mem under mcpServers in ~/.copilot/mcp-config.json, or the directory named by COPILOT_HOME. It preserves other servers and enables the memory tools. New Copilot configurations use this native format; do not substitute the deprecated .vscode/mcp.json format.

What if no memory tools appear?

Restart VS Code, select the Copilot harness and inspect its MCP server list. Confirm the worker is running, Node.js is available, and your organization permits MCP. Read server output and the actual tool result before retrying.

What changes in a remote workspace or container?

Configure the server and its runtime where the Copilot harness runs. A local user configuration is not automatically forwarded to another host. Use the current VS Code configuration reference for your environment.

How do I control saving and disconnect?

Review the requested tool action before allowing it. A skipped save does not run. To disconnect only Copilot, remove the claude-mem entry from its MCP configuration while preserving other servers. The full Claude-Mem uninstall command also removes other integrations; it is not a Copilot-only disconnect.

Follow the source

Source reviewed November 19, 2026. Our integration guide records Windows tool-call and explicit-save checks; this page does not claim a new cross-platform runtime test.

Make the next conversation more useful.

Give Copilot the saved knowledge behind your next decision.