Nlm Memory
БесплатноПоддерживаетсяLocal-first non-linear memory operating system for AI operators.
Описание
Local-first non-linear memory operating system for AI operators.
README
Memory for agents that work across tools and projects
NLM indexes AI sessions into a local searchable store. Recover an earlier decision, inspect the source conversation, and mark outdated reasoning as superseded. An agent using one runtime can retrieve work captured from another.
Local-first. Source-backed. Correctable. SQLite is the default; PostgreSQL with pgvector is also supported. No NLM account is required for local use. Classification and embedding providers are configurable: choosing a remote provider sends relevant content to it. See data flow and security.
Install · Demo · Runtimes · API · Evidence · Roadmap
Release status
| Channel | What you can use |
|---|---|
| Stable npm: 0.21.20 | Cross-runtime session capture, bounded session/context recall, source expansion and an editable timeline. Release notes. |
| Public prerelease: 0.21.21-rc.1 | Canonical property catalogs, explicit fact/session associations, repository-origin session references and property-filtered recall. Install explicitly with npm install -g nlm-memory@next. Stable npm does not contain these features. Prerelease notes. |
| Experimental, disabled by default | Automatic fact ownership and entity-name session associations. Evaluation found wrong-project matches; neither a subject label nor a project name inside a quote reliably proves ownership. |
Full status and upgrade notes. Source availability is not a promise that an experimental feature has passed its evaluation gate.
Install
Node.js 22 or newer and an embedding/classification provider are required. The setup wizard helps configure providers and the runtimes you use.
npm install -g nlm-memory
nlm setup
nlm recall "why did we change the database?"
Open http://localhost:3940/ui to browse the timeline and search. macOS and Linux support managed daemon setup; Windows currently uses manual nlm start.
If you use local Ollama, make the configured classifier and embedding models available before indexing. A cloud classifier is optional, and receives session content. Configuration · Security.
What an agent can do
| Need | Tool or behavior |
|---|---|
| “What did we decide last time?” | recall_sessions returns compact session summaries and continuation pointers. |
| “Show me the evidence.” | get_session retrieves matching passages or bounded original transcript pages. |
| “What is the current value, and is there disagreement?” | recall_context, recall_facts and get_fact_history expose structured facts, provenance and history. Inspect partial-coverage indicators. |
| “That earlier decision is obsolete.” | mark_superseded records the replacement relationship; history remains inspectable. |
| “Only show memories associated with this project.” | The prerelease accepts canonical property filters. Explicit assignments and repository relevance are separate from inferred fact ownership. |
MCP over the local daemon's /mcp endpoint is the default connection. Automatic hooks depend on the runtime; capture support does not imply hook support. Per-prompt ambient recall is off by default on fresh installs. Runtime matrix and hooks · MCP/HTTP reference.
Try a safe demo
The project-memory demo runs on a disposable SQLite database using fictional Atlas and Beacon sessions. It demonstrates cross-runtime evidence, a superseded decision, a property filter, and an explicit ownership correction.
git clone https://github.com/pbmagnet4/nlm-memory.git
cd nlm-memory
npm ci
npm run demo:memory
No classifier, embedding provider, daemon or real transcript is used. The demo calls the storage APIs directly; it is a behavior walkthrough, not an end-to-end capture or answer-quality benchmark.
What has been measured?
| Evidence | What it establishes | Limits |
|---|---|---|
| Historical LongMemEval-S run: 97.2% R@5, 500 queries | Retrieval of annotated source sessions on that benchmark/configuration. | Not generated-answer accuracy or a guarantee for another model/corpus. |
| Historical personal-corpus baseline: 36/40 queries retrieved within five hits | Recovery on a small curated query set. | Private corpus; small and selected sample. |
| Property attribution evaluation | Subject-only and quote-name matching produced wrong-owner assignments. | Automatic ownership remains gated; coverage is not precision. |
| SQLite/PostgreSQL contracts and CI | Regression checks for source integrity, property isolation and transport behavior. | Passing tests do not establish retrieval usefulness. |
Methods, dates, configuration and limitations: evaluation guide. Older measurements describe their recorded versions, not an assumed score for current main.
Documentation
- Runtime integrations and hooks
- MCP tools and HTTP API
- Context retrieval and response budgets
- Editable timeline
- Canonical memory properties — prerelease
- Configuration
- Signals and optional code exemplars
- Digest and UI
- Security and vulnerability reporting
- Roadmap and contribution priorities
Development
npm ci
npm run typecheck
npm test
npm run build
npm run verify:codex-release -- --check-packed
dist/ is generated and not tracked. The packed package contains the distributable and plugin assets. PostgreSQL contracts are opt-in locally through NLM_PG_TEST_URL; GitHub CI provides pgvector and runs that suite.
Keep examples synthetic and never include a real memory database, provider credentials or private transcripts in an issue or pull request. Contribution guide.
Apache 2.0 — LICENSE.
Установить Nlm Memory в Claude Desktop, Claude Code, Cursor
unyly install nlm-memoryСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add nlm-memory -- npx -y nlm-memoryПошаговые гайды: как установить Nlm Memory
FAQ
Nlm Memory MCP бесплатный?
Да, Nlm Memory MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Nlm Memory?
Нет, Nlm Memory работает без API-ключей и переменных окружения.
Nlm Memory — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Nlm Memory в Claude Desktop, Claude Code или Cursor?
Открой Nlm Memory на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoGpt Image 2 Mcp
RunAPI GPT Image 2 MCP server for image generation: create tasks, poll results, and check pricing across 1 model from Claude Code, Codex, Cursor, and VS Code.
автор: runapi-aiTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectSupabase
Database, auth and storage
автор: SupabaseCompare Nlm Memory with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
