Abmind is a standalone, local AI agent memory system for Node.js (requires Node >=22.0.0). It uses SQLite with FTS5 for full-text search and supports embeddings for semantic similarity, offering a 4-layer recall system (immediate, working, long-term, archival) and a unique sleep maintenance mechanism for consolidation. Current version 0.1.7 is in early active development with weekly releases. Compared to other agent memory libraries, abmind is minimal and dependency-light, relying only on @sinclair/typebox for runtime type validation. It ships TypeScript types and is designed primarily for TypeScript users.
npm install abmindNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create an Abmind instance, initialize, store a memory, recall with layer options, consolidate, and cleanly shut down.
Update to Node 22+ or use an older version of abmind (none available).
Provide valid embeddingApiKey or set OPENAI_API_KEY (or other) in environment.
Use sleep() for now, but plan to migrate to maintenance() after upgrade.
Ensure better-sqlite3 is built with FTS5 support; use a prebuilt binary that includes it.
Install abmind: npm install abmind. Ensure your project is ESM (type: module in package.json or .mjs extension).
Use new Abmind({...}) or use the named import: import { Abmind } from 'abmind'.Reinstall better-sqlite3 with FTS5 support: npm rebuild better-sqlite3 --build-from-source or use a compatible binary.
Implement retry logic or reduce batch size. Set maxRetries option in Abmind constructor.