VS Code Extension: AI Memory in Your Editor

The REM Labs VS Code extension brings persistent AI memory directly into your editor. Store architecture decisions, project conventions, and debugging context -- then recall it all from the command palette or inline. No context window wasted re-explaining your codebase.

Why Memory in VS Code

Every time you open a new Copilot chat or start a fresh AI session, you lose context. The AI forgets your architecture, your conventions, your past debugging sessions. The REM Labs extension solves this by giving your editor a persistent memory layer that survives across sessions, projects, and even machines.

Install the Extension

Search for REM Labs in the VS Code Extensions marketplace, or install from the terminal:

code --install-extension remlabs.rem-labs-memory

After installation, open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and run REM Labs: Set API Key. Paste your key from remlabs.ai/console.

Store Memories from Your Editor

Select any text in your editor, right-click, and choose REM Labs: Remember Selection. Or use the command palette:

# Command palette commands: REM Labs: Remember Selection — store highlighted text REM Labs: Remember Note — type a free-form memory REM Labs: Recall — search your memories REM Labs: Recall for File — get memories relevant to current file

You can also store memories programmatically using the extension API in your VS Code tasks or scripts:

// In a VS Code extension or task const remlabs = vscode.extensions.getExtension('remlabs.rem-labs-memory'); const api = remlabs.exports; // Store a memory await api.remember({ content: "Auth service uses JWT with RS256, rotated weekly", tags: ["auth", "security", "jwt"] }); // Search memories const results = await api.recall("authentication setup"); console.log(results.memories);

Automatic Context Injection

Enable Auto-Context in the extension settings, and REM Labs will automatically inject relevant memories into your Copilot Chat context. When you ask Copilot about your database setup, it checks your REM Labs memories and includes the relevant ones as context -- no manual searching required.

// settings.json { "remlabs.autoContext": true, "remlabs.maxContextMemories": 5, "remlabs.namespace": "my-project" }

Workspace-Scoped Memory

Use namespaces to keep memories organized per project. Set remlabs.namespace in your workspace settings, and all memories stored from that workspace are automatically scoped. When you switch projects, you get a different memory context.

Tip: Add the namespace config to your .vscode/settings.json and commit it to version control. Every team member gets the same memory namespace automatically.

Keyboard Shortcuts

All shortcuts are customizable in VS Code's keyboard settings.

Give your editor a memory

Free tier. Install in seconds. Memories persist forever.

Get started free →