What is Engram?
Engram is an intelligence layer for AI agents that stores, learns, and surfaces memories—going beyond simple storage by consolidating patterns, detecting contradictions, and providing context you didn’t ask for. It integrates as an MCP server (for Claude Code, Cursor, or any MCP client), a REST API, and a TypeScript SDK.
How to use Engram?
Install globally with npm install -g engram-sdk, then run engram init to set up a local SQLite vault. For MCP clients, use the same command; for a REST API, run npx engram-serve after setting your GEMINI_API_KEY. Use the CLI, SDK, or HTTP endpoints to store and recall memories.
Key features of Engram
- Three memory tiers: explicit, implicit, and synthesized.
- Entity-aware recall and bi-temporal fact tracking.
- LLM-powered consolidation and contradiction detection.
- Works with Gemini, OpenAI, Ollama, and any OpenAI-compatible provider.
- Zero‑infrastructure: SQLite, no Docker, no external services.
- CLI, REST API, TypeScript SDK, and MCP server with 10 tools.
Use cases of Engram
- Persist user preferences and conversation context across sessions.
- Detect behavioral patterns from how users work (implicit memory).
- Surface relevant context automatically via spreading activation.
- Run enterprise‑grade memory benchmarks (LOCOMO, Letta, codebase navigation).
- Build agents that learn and adapt without manual memory management.
Comments