Semantic knowledge database CLI for storing, searching, and listing knowledge entries using SQLite + sqlite-vec + FTS5. Current stable version is 2.1.4. Release cadence is irregular, with the last update in 2025. Key differentiators: lightweight local-first solution with embeddings support, optimized for semantic search with vector similarity, and full-text search via FTS5. Requires Node.js >=24.0.0. Designed as a CLI tool for developers working with knowledge management, especially in AI-assisted coding environments like Claude Code. Supports custom embedding models and SQLite-backed persistence.
npm install aiknowledgedbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a KnowledgeBase, stores a sample entry, then performs a semantic search and logs results.
Upgrade Node.js to version >=24.0.0.
Use import syntax instead of require(). Ensure package.json contains "type": "module" if using in a CJS project.
Update code to handle new result shape: { id, title, content, score }.Always provide an apiKey via 'embeddingApiKey' option or set environment variable 'AIKNOWLEDGEDB_OPENAI_KEY'.
Use an absolute path for dbPath to avoid surprises: path.resolve('./knowledge.db').Run npm install aiknowledgedb@latest and ensure Node >=24. Use import instead of require.
Use import { KnowledgeBase } from 'aiknowledgedb' (not default import).Set AIKNOWLEDGEDB_OPENAI_KEY environment variable or pass apiKey in constructor.
No dependency data recorded yet.