A local-first episodic memory engine for AI models.
Project details
Engrim is a versatile SQLite memory engine designed for seamless project management across multiple AI models. By maintaining project-specific contextual data, it prevents costly context loss and allows developers to switch freely among different environments. Enhance your AI development experience with curated episodic memory that adapts to your project's needs.
engrim is a groundbreaking local-first, project-scoped SQLite memory engine designed for seamless integration with various AI models, including Google Antigravity, Claude Code, Cursor MCP, and Windsurf. This repository offers a universal approach to managing episodic memory across multiple environments, enabling developers to maintain continuity in their projects without being locked into any single vendor's ecosystem.
In an era where context windows are expanding to over a million tokens, developers contend with attention dilution—a scenario where reasoning suffers and costs increase with every interaction. engrim mitigates this issue by providing 4,000 characters of curated episodic working memory, ensuring that the architectural decisions and user constraints remain intact across model transitions.
In extensive testing across 105 sessions on a complex algorithmic trading system, engrim demonstrated its reliability:
The architecture consists of a core engine that interfaces with various agent environments, ensuring effective memory management through:
Setting up engrim is straightforward. Use the following command to automatically configure the engine with detected environments:
engrim setup
Maintaining the integrity of project memory is crucial. engrim captures the source of every memory entry, allowing for clarity in decision-making. This functionality enhances collaboration across multiple agents working on the same codebase, making it easy to track contributions and changes.
engrim prioritizes user data security:
In summary, engrim offers a sophisticated and flexible solution for managing episodic memory across various AI platforms, enhancing productivity while safeguarding user data and architectural decisions.
Comments
0Start the conversation
Share the first comment.