@wooden-umbrella-84098 We're looking for a memory mechanism because of the context length limitations of the current LLM models. With OpenHands agent, we often reach 1-2M token count very easily. By the way we're experimenting with AgentSDK to build a Hardware Architecture Agent system, which would include two foundational Agents with highly specialised skills(One Architect and one researcher). With agent delegation we were able to work out this design to some extend. But context length and chat history compression seems to be the next bottleneck we've to solve. We've also prepared a tool for reading structured PDF documents(like datasheet) which works well with OpenHands agent, but add too much content to the chat history.
So long story short, for now, the location where we store this persistent memory data is less of a concern. We see this memory file as a highly compressed knowledge base of the agent, more like a journal book of a researcher. It would be nice to have multiple backend support, but we prefer to use simple text file to store the data.
@limited-student-10747 Interesting to hear someone is already working on that. @dry-spoon-69117 It would be great if we could discuss the persistent memory architectures you are planning for the TOM agent. We've already started conceptualization of a simple implementation, where persistent memory is treated as a simple file, updation is handled using a dedicated tool, and content of the persistent memory is always integrated into the LLMConvertible event stream as the 3rd last message.