New:Socket for Asana Is Now Available.Learn more
Get Started

@cafitac/agent-memory

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cafitac/agent-memory

Thin npm launcher for the cafitac-agent-memory Python CLI

Source
npmnpm
Version
0.1.156
Version published
Weekly downloads
4
-97.58%
Maintainers
1
Weekly downloads
 
Created
Source

agent-memory

CI npm License: MIT

Local-first memory for AI agents.

agent-memory gives CLI agents a small SQLite-backed memory layer for storing approved facts, procedures, and other durable context locally. The default setup keeps your memory database on your machine at ~/.agent-memory/memory.db.

Install

Recommended npm install:

npm install -g @cafitac/agent-memory

Initialize the local database and check that the CLI works:

agent-memory bootstrap
agent-memory doctor

That is enough for the default local setup.

One-shot usage without global install

If you do not want to install globally, run the CLI through npm:

npm exec --yes --package @cafitac/agent-memory -- agent-memory doctor

Basic example

DB=~/.agent-memory/memory.db

agent-memory init "$DB"
agent-memory create-fact "$DB" "agent-memory" "install" "npm install -g @cafitac/agent-memory" "user:default"
agent-memory approve-fact "$DB" 1
agent-memory retrieve "$DB" "How do I install agent-memory?" --preferred-scope user:default

Normal retrieval uses approved memories by default. Candidate or disputed memories stay out of normal prompt context unless you explicitly review or request them.

Hermes integration

For Hermes users, bootstrap creates or updates the local Hermes hook config so Hermes can retrieve bounded memory context before model calls:

agent-memory bootstrap
hermes hooks doctor

Existing Hermes hooks are preserved when possible.

Local-first privacy model

By default, agent-memory stores data in your local SQLite database. It is not a hosted service and does not upload your memory database for you.

Be careful when sharing:

  • ~/.agent-memory/memory.db
  • backup bundles
  • exported graph/report files
  • dogfood or debug artifacts

More docs

License

MIT

FAQs

Package last updated on 14 May 2026

Related posts