Getting started
Quickstart
Install, connect your agent, and store your first memory — under five minutes.
1
Install
npm global install + API key
2
Connect
Setup wizard or MCP config
3
Test
Store and recall a memory
Install
1
Install and start the server
Terminal
npm install -g @raajvamsy/memorylayer
memorylayer --key sk-ml-your-key-hereFirst run downloads the embedding model once (~130MB). Every run after boots in under a second.
Connect your agent
2
Wire up your IDE in one command
Terminal
memorylayer setupAuto-detects Claude Code, Cursor, Windsurf, and Antigravity. Toggle hooks, rules, and skills before anything is written.
3
Point any agent at the server
~/.claude/settings.json — SSE
{
"mcpServers": {
"memorylayer": {
"url": "http://localhost:7400/sse"
}
}
}Note
SSE mode needs the server running first. Stdio spawns
memorylayer --stdio directly — see Shared across agents.4
Verify it's running
Terminal
curl http://localhost:7400/health
# → {"status":"ok","transport":"sse",...}First memory
5
Store and recall
"Remember: my preferred style is TypeScript strict mode.
Store it as a skill."
# From a different agent on the same endpoint:
"What's my preferred coding style?"Agents use remember and recall automatically when rules are installed.
Tip
Index a codebase with
code(ingest), then ask code questions via recall(answer) — one call, one bundle. See Search & recall.