Developers Build Proxy Tool to Give CLI AI Agents Persistent Project Memory
A team called AI Alchemists built cliMEM, a lightweight proxy tool, during the WeMakeDevs hangover hackathon to solve a recurring frustration: CLI coding agents losing all project context when a terminal session ends. The tool sits between the user's CLI agent and their AI provider, logging conversations and extracting key facts — such as decisions, conventions, and unresolved threads — at session end using rule-based heuristics. These facts are stored in Cognee, a graph and vector memory engine scoped per project directory, and automatically injected into the system prompt at the start of each new session. Setup requires just two commands, and the tool supports agents like Claude, OpenCode, and Codex without altering their original configurations. During development, the team also debugged a tricky shutdown crash caused by Cognee's database schema not being initialized when a session produced no memorable facts.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in