selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

engrim logo

Self-host engrim

v1.4.11

Cross-agent episodic memory for AI coding assistants

ReleaseOpen SourceMIT
Updatedlast month
LanguagePython
Setup difficultyEasy
Stars
301
Requires
Python
Install with pip

What is engrim?

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.

Should you self-host engrim?

engrim scores 48/100 on selfhost.directory (how scoring works) and ranks #92 of 166 in Developer Tools. It has 301 GitHub stars.

It shipped 9 stable releases in the past year. The latest, v1.4.2, came out on 23 September 2026.

Setup is easy: most people get it running in one sitting. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is openhands (87/100, 92 086 stars). It scores higher overall, so compare the two before you pick. See engrim vs openhands side by side.

Features

  • 100% local and offline
  • Agent provenance tracking
  • Continue-As-Clear workflow
  • Cross-agent episodic memory
  • Flight recorder logging
  • Hybrid lexical + vector recall
  • MCP server for tool exposure
  • Memory merge and backup
  • Resume pointer workflow
  • Safe clear review
  • Self-healing hook diagnostics

engrim README

How to install engrim

Install engrim with pip

pip install engrim

Installs the engrim CLI and Python package from PyPI

engrim releases & version history

More in Local AI

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…