MemoryLayer
  • How it works
  • Arena
  • Benchmarks
  • Registry
  • Pricing
  • Docs
Log inGet started free
  • 01Arena
  • 02Benchmarks
  • 03Registry
  • 04Pricing
  • 05Docs
Log inGet started free

Docs

Docs home

Getting started

  • Quickstart
    1. Install and save your key
    2. Wire up your agent
    3. Try it
  • Claude Code
  • Cursor

Learn

  • How memory works
  • Search & recall
  • Shared across agents
  • Grounded facts

Reference

  • MCP tools
  • Agent rules
  • Bookmarks
  • Registry & CLI

Help

  • FAQ
Claude Code →
Docs home

Getting started

  • Quickstart
    1. Install and save your key
    2. Wire up your agent
    3. Try it
  • Claude Code
  • Cursor

Learn

  • How memory works
  • Search & recall
  • Shared across agents
  • Grounded facts

Reference

  • MCP tools
  • Agent rules
  • Bookmarks
  • Registry & CLI

Help

  • FAQ

Docs/Getting started

Getting started

Quickstart

Three commands, then ask your agent to remember something.

  1. 1
    Install and save your key
    Terminal
    npm i -g @raajvamsy/memorylayermemorylayer --key sk-ml-your-key-here

    Needs Node 18–22; use 22 LTS, especially on Windows, where older versions need C++ build tools. No key yet? Get one free.

  2. 2
    Wire up your agent
    Terminal
    memorylayer setup

    It finds Claude Code, Cursor, Windsurf, Zed, VS Code and Antigravity, shows every file it will touch, and waits for a yes. Your agent starts MemoryLayer by itself from then on — nothing to keep running. The first start downloads the embedding model once (~130MB).

    Terminalscripted
    memorylayer setup --ide claude --yes      # one IDE, no promptsmemorylayer setup --ide all --yes         # every IDE foundmemorylayer setup --ide cursor --no-hooks # rules and skill onlymemorylayer setup --ide all --remove --yes
  3. 3
    Try it
    Say to your agent
    Remember: I use TypeScript strict mode. # later — even in a different agent:What's my preferred TypeScript setup?

    The rules setup installed tell the agent to call remember and recall on its own. Want several agents on one always-on server instead? See Shared across agents.

Next →Claude Code

Something missing or wrong? Email support@memorylayer.in or open an issue.