Documentation
Browse documentation

Start here

Quick start

Install MemIndex, do one small task in your agent, and find it again in the next session. It takes about five minutes.

Before you start

You need Node.js 20.12 or newer and a supported agent that is already installed. MemIndex can install Bun and uv for you if they are missing. See Install for every requirement.

1. Install

npx memindex@latest install

The installer asks which agent you use, then who should write your notes. Choose Worker for memory on this computer. If a person or a script cannot answer questions, add --yes to take every default:

npx memindex install --ide claude-code --yes --no-auto-start

This is what the end of a no-prompt run looks like:

  Runtime ready OK
  Claude Code: plugin registered OK
  Claude Code: leaving native auto-memory enabled unless you explicitly opt in to disabling it.
  Choices made without prompts: agent claude-code, provider claude (default), runtime worker.
  The worker will not start (--no-auto-start or the server runtime).

  Installation Complete
  IDEs:        claude-code
  Auto-memory: left enabled (native Claude Code memory preserved)

  Memory injection starts on your second session in a project.
  Your memory stays in ~/.memindex on this machine.

Restart your agent when the installer finishes.

2. Start the service and check it

npx memindex start
npx memindex status
MemIndex is running.

Next, ask MemIndex to check everything:

npx memindex doctor
  ✓ Plugin installed       ~/.claude/plugins/cache/memindex/…
  ✓ Search by meaning      built in, model cached; no Python or uv needed
  ✓ Marketplace manifest   ~/.claude/plugins/marketplaces/memindex/…
  ✓ Worker daemon          healthy at http://127.0.0.1:<port>
  ✓ Note writer            claude

These are the rows that matter most. Your list has a few more, such as Bun and Chroma, and the note writer row names the service you chose. Every row should show a check mark. A failed Note writer row means MemIndex cannot turn your work into notes yet, so fix it before you go on. The row names what is missing, for example a Claude sign-in or an API key. Who writes your notes covers the choices.

3. Do one small task

Open your agent in a project and ask it to do something with a tool, such as reading a file and explaining it. Let the turn finish. MemIndex writes notes in the background, so they can take a short while to appear.

4. See the note

npx memindex viewer

This opens your memory in the browser. Look for a note from the task you just did. An empty list is normal until MemIndex has processed some work.

5. Find it in the next session

Start a new session in the same project. MemIndex puts recent notes in front of your agent at the start, from your second session on. Ask the agent to search:

Search MemIndex for what we did with that file.

You can search from the terminal too:

npx memindex search "login timeout"

If nothing appears, Troubleshooting starts with the checks above.

Next steps