Skip to main content

Memanto for Visual Studio Code

Visual Studio Code The Memanto extension puts your agents’ memory inside the editor. Look up what Claude Code, Cursor or Codex already decided without leaving your code, save a decision straight from a selection, and let GitHub Copilot check that memory on its own before it writes anything.

Chat sidebar

Recall lists matching memories with type, confidence and provenance. Answer writes a reply grounded in them.

Copilot tools

Copilot’s agent mode can recall and ask Memanto by itself, so the code it writes matches past decisions.

@memanto in chat

Ask from the Copilot Chat panel with @memanto, plus /recall, /recent and /remember.

Zero configuration

Reads the key and agent the Memanto CLI already stored, and runs its own server. Nothing to set up if the CLI works.

How It Works

The extension talks only to a Memanto server on your own machine. The first time you use Memanto in a window it starts one with the memanto executable on your PATH, and stops it when the window closes. A memanto serve you run yourself is never used or stopped, and each window gets its own server.

Prerequisites

  • VS Code 1.95+
  • The Memanto CLI, which needs Python 3.10+
  • A Moorcheh API key (free tier: 100K ops/month), or an on-prem backend with no key
  • GitHub Copilot Chat only if you want the @memanto participant and the Copilot tools. The sidebar works without it.

Install

1

Set up the Memanto CLI

Skip this if memanto status already works.
2

Install the extension

Search for Memanto in the Extensions view, or run:
3

Open the chat

Click the Memanto icon in the activity bar. The extension picks up your active agent and starts its server.
The extension never installs anything for you. If the CLI is missing, Memanto: Setup steps in the command palette shows each command with a copy button.

Chat sidebar

Pick an agent at the top, then choose a mode:
Lists the memories that match what you type, each with its type, confidence, provenance and date. The options row also offers the most recent memories, memories as of a date, and what changed since a date, plus a filter for the 13 memory types.
Any result can be copied, inserted into the file you’re editing, or opened as a read-only tab. The Memories view below the chat lists an agent’s memories by type, loading each type when you expand it.

Using Memanto with Copilot

Ask with @memanto

In the Copilot Chat panel:
Each memory in a reply is a link that opens it as a tab.

Let Copilot look things up itself

The extension registers three tools that Copilot’s agent mode calls when it needs them: Ask Copilot to add a feature and it can check what your team already decided, then write code that matches. Use the # reference to point it at a tool explicitly. memanto_answer runs a model over your memories, so it is slower and uses your Memanto quota; Copilot is told to prefer memanto_recall for single lookups.
Saving always asks for confirmation. Memories are shared with every agent using that Memanto agent, so a model should not add to them on its own judgement.

Save from the editor

Select code or text, right-click, and choose Memanto: Remember selection. Pick a memory type and every agent sharing that Memanto agent can recall it. Memanto: Export memories to a folder writes an agent’s memories as Markdown with frontmatter, in the Open Knowledge Format.

Commands

Settings

Sessions

Memanto keeps one session per agent, and starting a new one signs out every other client using that agent, including the CLI and your coding agents. The extension reuses the agent’s current session and only starts one when the agent has none, so your terminal and your coding agents stay signed in while you work.

Privacy

  • The extension connects only to a Memanto server on 127.0.0.1.
  • Your API key is read from ~/.memanto/.env. It is never written to your workspace or settings, and never reaches the sidebar’s webview.
  • Nothing is sent to Memanto unless you ask: what you type into the chat, and text you choose to remember.
With the cloud backend your memories are stored by Moorcheh. With on-prem, nothing leaves your machine.

Next Steps