Comment by catzapd

4 hours ago

Does memory for AI agents basically mean -

- Save everything to disk. Index it or store in vectorDB. - Search the storage for similarity based on the new prompt - include any finding with the new prompt as system/user prompt (or if you find the exact answer skip the llm call)

?

Or is there more to it ?

Different implementation details have different way to rank or “forget” or supersede facts but that’s pretty much it