# engrim

> Engrim is a self-hosted, open-source episodic memory engine that lets AI coding agents share project context across sessions via a local SQLite database.

- **Category:** Developer Tools
- **Licence:** MIT
- **Latest version:** v1.4.11
- **Open source:** oss
- **Languages:** Python
- **Platforms:** pip
- **Tags:** SQLite, Mcp, Ai Agents, Local First, LLM, Rag, Memory, Developer Tools, Codex, Model Context Protocol, Cursor, Github Copilot, Claude code, Opencode, Antigravity, Windsurf, Copilot, Codex cli, Context Management, Copilot CLI, Episodic Memory

## Description

Engrim is a local-first memory layer for AI coding assistants that stores project decisions and context in a SQLite database on your machine. It works with several popular tools by injecting a compact memory pack at the start of each session. This lets you clear chat history without losing architectural knowledge. The system uses hybrid search combining full-text and vector embeddings for fast recall, tracks which agent created each memory, and provides an MCP server so agents can read and write memories directly. A doctor command checks database health and fixes broken hook paths automatically. All data remains local with strict file permissions and no telemetry. Installation is a single pip command requiring Python 3.10 or newer.

## Links

- [Homepage](https://github.com/timgordontg/engrim)
- [Website](https://engrim.dev)
- [GitHub Repository](https://github.com/timgordontg/engrim)
- [PyPI Package](https://pypi.org/project/engrim/)

---
Source: https://selfhost.directory/project/engrim