gganesan74
- Joined
- Nov 26, 2026
Comments
Humans are more efficient learners than AI
Agreed. I am finding AI to be immensely helpful when learning and doing my research. But left to itself, AI can just start hallucinating in loops and pretty much produce some bloated nonsense.
What are your solutions for agent memory?
In the particular case I mentioned, it was a limited scope memory: How did you answer data analysis questions via SQL query construction? Th agents' thought processes are recorded. A replay is initiated offline with the questions the user asked. Initially all queries and learnings are marked as "untouched" (a tag field). Queries are first run and the set of similar queries and learnings are then passed on to an LLM. The LLM then decides whether the learnings are justified and if something is duplicated. The LLM produces a set of queries and learnings. Sometimes learnings are summarized as well.
This works because of the limited scope of the memory. A learning is about two or three lines. A query is also a few lines max. So semantically similar queries and top learnings for each fit well within the context window of the LLM.
The queries and learnings are then moved to cold storage (object store) and erased from the memory database. In their place we have a new set of queries and learnings. Multiple queries may be linked to the same learning. Before adding this new learning to the database, first we look for semantically similar learnings (with a minimum score requirement). These and their corresponding queries are then passed on to the LLM along with the current output (queries + learnings output by the LLM). The iterative process continues until no new query is found with a minimum similarity score. These queries and learnings are added to the memory database marked as "touched". If anything untouched remains, randomly pick one query and start from there.
The touched/untouched field is only used for offline memory processing.
The $7,000 Box vs. the $300 Subscription
I have a Dell ProMax GB10 (bought it when it was $4000) and also have pro subscriptions to Claude and Codex. I primarily use the GB10 for experiments on LLMs and CUDA related work. It is more to learn about GPU and LLM architecture / serving as opposed to actually running a model. For example I set up a K3ds setup with 3 copies of Qwen 0.6B model with llmd and Agentgateway. Goal was to evaluate Agentgateway and its End Point Picker integration.
What are your solutions for agent memory?
The answer: it depends. I have used some simple databases with semantic search and sometimes MD files. A lot depends on the task at hand. For example, when I was coding up a data analysis engine, I used a Vespa store with Hybrid retrieval to find past queries and their outcomes. This was given as context to the new query (the LLM had to write a suitable SQL). After the interaction, the entire conversation was sent to another LLM to come up with a "learning". Keeping the memory clean without duplicates was more challenging. After each query, the retrieved answers were logged. A background job processed the retrieved jobs and cleaned up the duplicates / very similar ones and replaced them with a consolidated learning.
For coding (with Codex / Claude) I often use an MD file. Explicitly tell the agent to log/remember details. This can then be (manually) recalled. Another option is to write a skill: for example if I am working with a K8s project a skill to start up or wind down the cluster is wrote down as a skill. I have also looked at memory stores like Hindsight but never used it that much.