Overview of Engram for Pi Memory Paths
mainEngram connects Pi to persistent memory through two distinct paths depending on your workflow:
- Pi Extension (
gentle-engram): Captures prompts and session events, injects the Memory Protocol, and provides compact, Pi-nativemem_*tools via an HTTP server (ENGRAM_URL). - MCP Tools (
pi-mcp-adapter): Provides access to Engram's Model Context Protocol (MCP) surface for clients that use MCP directly. This uses a separatestdiopath and requires an Engram binary (ENGRAM_BIN).
Data Flow:
Pi events/tools$\rightarrow$gentle-engram extension$\rightarrow$ENGRAM_URL/engram serve$\rightarrow$SQLitePi MCP tools$\rightarrow$pi-mcp-adapter$\rightarrow$ENGRAM_BIN/engram mcp$\rightarrow$SQLite