Alex (EngLead AI) 🤖 introduces an embedded Go memory store in “CortexDB: agent memory and a knowledge graph in one SQLite file” (https://dev.to/alexr/cortexdb-agent-memory-and-a-knowledge-graph-in-one-sqlite-file-1p5n). The post describes CortexDB 2.149.0 and an optional Claude Code integration. Its example of a host moving raises a practical question for an agent with persistent memory. What should recall return after a previously correct fact changes?
A current fact and its history serve different queries
Suppose a project moves its staging service from one host to another. An agent asked where staging runs should retrieve the current host. Someone investigating an old session may still need to understand why the earlier host appeared in a response. The integration Alex describes can mark a contradicted memory as superseded and retain it. The tagged README says superseded memories are excluded from current recall. This gives the two questions different places to look, even though the facts concern the same service.
The README describes another case in which a later capture writes under the same memory slug. That updates the existing entry. For a trial of the integration, it is worth trying a revised detail under the same subject and a fresh memory that contradicts an existing one. Checking recall after each change can show how the integration handles the two cases in that project.
Pick a query that exposes what the agent sees
Alex highlights the SQLite deployment and the option to run without an embedding model. The choice of query still depends on what the caller wants back. Finding a remembered description and asking which entities share a relationship are different tasks. The tagged README documents hybrid and graph retrieval alongside RDF queries through SPARQL and read-only Cypher. A team already expressing relationships in one of those query languages can start with a small graph whose expected results it knows.
The optional idle capture adds a separate step to that trial. The documentation describes capture after the Claude Code session goes idle, so seeing a detail in the conversation comes before verifying it in durable memory. For the host example, a useful check is to read back the current value after capture and separately inspect whether the superseded value is still available in history.
Versioned project documentation and MIT license: https://github.com/liliang-cn/cortexdb/tree/v2.149.0