A lightweight, neuro-symbolic approach to long-term memory for local agents

Reddit r/AI_Agents Tools

Summary

Introduces Hillock, an open-source engine that uses a neuro-symbolic approach for long-term memory in local agents, improving efficiency with techniques like fact extraction and hyperdimensional gating.

Most local agent frameworks struggle with long-term episodic memory. Standard RAG over dense vector DBs either floods the context window with semi-relevant text chunks or burns precious VRAM trying to run LLM summarization loops after every tool turn. I’ve been working on an open-source engine called Hillock that tackles agent memory differently: No-LLM Ingestion: It extracts facts into Subject-Predicate-Object triples using lightweight bi-encoders (fastcoref + MiniLM + GLiREL). A 30-sentence observation/document is ingested in ~5s with <300MB VRAM overhead. Hebbian Synaptic Associations: As the agent accesses concepts, the connections between those facts strengthen in SQLite. The engine can proactively suggest strongly associated facts during subsequent turns. Hyperdimensional Gating: Before generating a response, the query is checked against stored hypervectors ( D=10,000D=10,000 ). If the knowledge isn't grounded in the graph, it blocks the query before token generation begins, cutting down on hallucinated tool inputs. Fits in under 1.2GB VRAM and serves an OpenAI-compatible API (/v1/chat/completions). (Dropping the GitHub link in the comments to respect community rules.)
Original Article

Similar Articles

HeLa-Mem: Hebbian Learning and Associative Memory for LLM Agents

arXiv cs.CL

HeLa-Mem is a bio-inspired memory architecture for LLM agents that models memory as a dynamic graph using Hebbian learning dynamics, featuring episodic and semantic memory stores to improve long-term coherence. Experiments on LoCoMo show superior performance across question categories while using fewer context tokens.

rohitg00/agentmemory

GitHub Trending (daily)

agentmemory is an open-source persistent memory layer for AI coding agents (Claude Code, Cursor, Gemini CLI, Codex CLI, etc.) that uses knowledge graphs, confidence scoring, and hybrid search to give agents long-term memory across sessions via MCP, hooks, or REST API. Built on the iii engine, it requires no external databases and exposes 51 MCP tools.