New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@nuzo/memory

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuzo/memory

Unified Nuzo package for local memory, MCP server integration, and host lifecycle hooks.

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

@nuzo/memory

Nuzo 1.2.0 is the final planned release. This package remains available, but no ongoing fixes, security response, or compatibility updates are promised. See the repository's end-of-maintenance notice.

The official Nuzo runtime package for local, inspectable agent memory.

It installs:

  • nuzo, the local memory administration CLI;
  • nuzo-mcp-server, the stdio MCP server;
  • nuzo-memory-hook, the bounded read-only lifecycle hook runner used by Codex and Claude Code integrations.

Nuzo stores memory locally, keeps inferred writes behind confirmation, and lets Codex, Claude Code, CLI workflows, and generic MCP hosts use the same memory contract.

Install Once

npm install --global @nuzo/memory@1.2.0
nuzo setup

nuzo setup detects supported local hosts. When both Codex and Claude Code are available, it lets you choose Codex, Claude Code, or both, then shows the planned plugin changes and asks before changing host configuration. After setup, open your host, confirm Nuzo is enabled, trust the two read-only recall hooks, and start a new session.

For package upgrades, update the global package. Nuzo automatically refreshes host plugins that were already installed through nuzo setup:

npm install --global @nuzo/memory@latest

If npm lifecycle scripts are disabled or the automatic refresh needs attention, run nuzo update --yes as the recovery path.

Manage Memory

nuzo memory init
nuzo memory doctor
nuzo memory manage

Store and recall safe test data:

nuzo memory remember "The demo project uses SQLite." --kind project_decision --tag demo
nuzo memory recall "demo storage"

Verify Memory Across Sessions

In a new Codex or Claude Code session, say:

Save this in Nuzo memory: My installation test marker is NUZO-OK.

Review and confirm the draft. Start another new session and ask:

What is my Nuzo installation test marker?

The answer should use NUZO-OK.

Safety Boundary

DefaultMeaning
Local SQLite storageMemory stays under ~/.nuzo/memory/ unless configured otherwise.
Read-only recall hooksLifecycle hooks retrieve context but do not write memory.
Confirmed writesSuggested memories remain drafts until the user confirms them.
No telemetryNuzo does not enable telemetry or remote embeddings by default.

Generic MCP Host

Configure this package as a stdio MCP server:

npm exec --yes --package=@nuzo/memory -- nuzo-mcp-server

Included Binaries

BinaryPurpose
nuzoInspect and administer local memory.
nuzo-mcp-serverExpose Nuzo memory tools over MCP stdio.
nuzo-memory-hookProvide bounded read-only host recall hooks.

Runtime Configuration

The CLI, MCP server, and hook runner share these optional overrides:

VariablePurpose
NUZO_MEMORY_STORESelect the SQLite store path.
NUZO_MEMORY_SCOPESelect the default scope; project:auto resolves from the active project path.
NUZO_PROJECT_ROOTSelect the active project root; otherwise Nuzo discovers the nearest ancestor project config.
NUZO_AUTHORIZATION_MODESelect restricted or administrator host authorization.
NUZO_AUTHORIZED_SCOPESRestrict MCP/hook access to a comma-separated scope allowlist.

Optional local hybrid retrieval is available through an explicitly installed @huggingface/transformers@4.2.0 peer and separately provisioned model. See the optional semantics guide.

Use @nuzo/memory-core only for library-level integrations.

Documentation: https://nuzo.com.br/

License: Apache-2.0

Keywords

ai-agents

FAQs

Package last updated on 14 Aug 2026

Related posts