Connecting records can help AI find answers that no single document contains.
A software project carries the history of its decisions, failures and discoveries. Making that history usable could help AI assistants understand how a project fits together and recognize when their knowledge needs to change.
Imagine an AI assistant asked to simplify a payment system. It finds a check that appears unnecessary and removes it. The revised code passes its tests. But the check was added after a delayed response caused a customer to be charged twice, a failure documented in an incident report months earlier. The assistant could read the code. What it lacked was a connection between the code and the experience that had shaped it. Understanding the project required knowing why something apparently redundant was still there.
That gap exposes a difficult problem for artificial intelligence. A software project contains more than its current files. It also contains decisions, abandoned approaches and assumptions whose consequences may surface long after anyone remembers making them. Giving an AI access to those records helps, but access does not ensure that it will retrieve the right information. In the experiments reported in the 2024 study “Lost in the Middle,” language models often struggled when relevant material appeared deep inside their input. More available text did not consistently produce better use of that text.
The engineering challenge is therefore to make a project’s history usable. A capable assistant needs to connect observations with decisions, identify which conditions still hold and find evidence that could change its answer. This suggests a different way to think about AI memory. Instead of treating it as an expanding archive, developers can organize it as an environment of related facts and possible actions. Research into biological memory offers clues about how such an environment might work.
Biological memory faces two demands that pull in different directions. It must capture a new experience quickly while preserving knowledge accumulated over many experiences. The complementary learning systems framework gives this tension a computational explanation. It describes interacting systems with different learning properties: the hippocampal system rapidly acquires distinct experiences, while the neocortex gradually learns shared patterns. This influential theory offers a division of labor that computer scientists can investigate without assuming that a database and a brain operate identically.
Consider an assistant helping maintain an online booking service. During a particular outage, increasing a timeout restores service. That event deserves to be remembered, including the circumstances and the observed result. But turning it immediately into a standing instruction to increase timeouts would be a mistake. The broader lesson might emerge only after several incidents reveal a slow dependency. A useful memory architecture would preserve the individual event while treating any general explanation as a separate claim requiring additional evidence.
For AI systems, this distinction suggests separating a record of experiences from a more stable account of how a project works. New observations could enter quickly; durable guidance would change through a more deliberate process of comparison and verification. Updating these external records need not involve retraining the language model itself. The practical benefit is that an assistant can acquire new project knowledge without treating every recent event as a rule. Evolution provides the inspiration, while evidence from software tasks must determine whether the design earns its complexity.
An archive becomes more useful when its contents can lead to one another. HippoRAG, introduced in 2024 by a team at Ohio State and Stanford, explores this principle through a system inspired by hippocampal indexing theory. A language model extracts entities and relationships from documents, assembling a knowledge graph. When a question arrives, a ranking algorithm starts from relevant concepts and distributes relevance through their connections. The resulting retrieval can bring together information that no individual document contains in full. The team reported improvements on questions requiring several connected facts.
Suppose an assistant needs to establish whether a software library can be upgraded. One document records the proposed version. Another identifies a service that depends on the library. A third explains that the service relies on behavior the newer version removes. Searching for passages that resemble the upgrade question might retrieve only part of that evidence. Explicit connections between the library, the service and the compatibility requirement give the assistant a route through the scattered records. The answer depends on following that route and reading what it reveals.
This combination illustrates a practical neurosymbolic approach. Neural models interpret language and identify possible connections; explicit symbols and relationships make those connections available for structured operations. Yet a graph is only as trustworthy as the information used to build it. Extracted relationships can be mistaken, and compression can discard context. The HippoRAG 2 study also identified a tradeoff in earlier structured retrieval systems: stronger associative retrieval could accompany weaker performance on straightforward factual questions. Memory needs connections, but it must preserve access to the original evidence.
Connected evidence makes a project’s history usable. A reliable memory preserves its sources and changes when new observations challenge old assumptions.
Connections become especially valuable when their structure remains recognizable in unfamiliar surroundings. In a 2020 study published in Cell, a team at Oxford and University College London developed a computational model that separates relational structure from the particular observations associated with it. The work links spatial navigation with relational memory, showing how learned structure can support generalization across environments. For computer science, the intriguing possibility is that an AI could learn something reusable about the organization of a task without tying that knowledge entirely to its surface details.
An assistant moving between two unfamiliar codebases might encounter completely different names for components that perform the same roles. In both projects, a request passes through an authorization check before reaching protected data. Recognizing that relationship could help the assistant decide where to investigate a reported access problem. It would still need to inspect the actual implementation. The shared pattern supplies an informed starting point, while the project’s specific evidence determines whether the pattern applies.
To make such knowledge useful, a software environment must connect remembered relationships to actions the assistant can perform. A study presented at NeurIPS in 2024 found that interfaces designed for language model agents improved their ability to inspect repositories, edit files and run tests. Memory and tools consequently belong in the same architectural discussion. The memory helps identify what deserves attention; the tools reveal whether an interpretation survives contact with the running system. Reliable navigation requires both.
A project with persistent memory also inherits a new responsibility: distinguishing what was true from what remains true. A stored explanation can outlive the conditions that justified it. A practical design should therefore record where consequential claims came from, which version of the project they describe and whether later evidence has superseded them. An observed result should remain distinguishable from an assistant’s conjecture. These are engineering proposals for making memory accountable, rather than capabilities established by the retrieval experiments alone.
Consider a project whose documentation says a database cannot accept a particular kind of query. After an upgrade, that restriction disappears. An assistant that retrieves the old guidance without its version information may preserve an unnecessary workaround indefinitely. A better memory system would connect the restriction to the earlier database version, retain the explanation as history and direct the assistant toward checking current behavior. Correcting the memory would mean changing its authority and scope while preserving the evidence needed to understand the earlier decision.
Whether such an architecture helps must be measured through actual work. Researchers could hold the underlying model fixed, compare structured memory with simpler search, and test whether assistants reject obsolete guidance while completing tasks accurately and efficiently. Better recall alone would be an incomplete result. The larger ambition is continuity: an AI that can return to a project, recover the reasoning behind its present form and revise that reasoning when the evidence changes. A project becomes navigable when its past helps the assistant determine what to examine next.
Key references: Lost in the Middle: How Language Models Use Long Contexts. Transactions of the Association for Computational Linguistics, 2024. Complementary learning systems in the hippocampus and neocortex. Psychological Review, 1995. HippoRAG: Neurobiologically Inspired Memory for Large Language Models. 2024. From RAG to Memory: Continual Learning for Large Language Models. 2025. Unifying space and relational memory through generalization. Cell, 2020. Agent interfaces for automated software engineering. NeurIPS, 2024.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.