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
  • Claude Code
  • Cursor

Learn

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

Reference

  • MCP tools
  • Agent rules
  • Bookmarks
    1. Pin something
    2. Find them again
    3. Loaded every session
  • Registry & CLI

Help

  • FAQ
← Agent rulesRegistry & CLI →
Docs home

Getting started

  • Quickstart
  • Claude Code
  • Cursor

Learn

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

Reference

  • MCP tools
  • Agent rules
  • Bookmarks
    1. Pin something
    2. Find them again
    3. Loaded every session
  • Registry & CLI

Help

  • FAQ

Docs/Reference

Reference

Bookmarks

A bookmark is an ordinary memory with the bookmarktag and a priority of 8–10. There's no special tool.

Pin something

a preference, and a spot in the code
remember({content: "Always give concise answers. No bullet overload.",namespace: "user",tags: ["bookmark", "preference"],priority: 9,}) remember({content: "AuthProvider is the root auth wrapper — see src/auth/AuthProvider.tsx",namespace: "my-project",tags: ["bookmark", "auth"],priority: 10,metadata: { file_path: "src/auth/AuthProvider.tsx", line: 1 }})

Find them again

recall
recall({ tags: ["bookmark"], namespace: "my-project" })                        // all of themrecall({ query: "auth wrapper", tags: ["bookmark"], namespace: "my-project" })  // search within them

In ordinary searches the high priority nudges a bookmark ahead of equally relevant results — it never beats a better answer (how ranking works).

Loaded every session

bookmark alone isn't loaded automatically. Also tag it rule, constraint or guide, and the Claude Code and Cursor hooks put it in front of the agent at the start of every session, from any namespace.

← PreviousAgent rulesNext →Registry & CLI

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