Idea: long-term memory for the agent across restarts

#1
by Corbenic - opened

The Translation Agent WebUI is a nice implementation of the Andrew Ng idea: first a draft translation, then a reflection, then a final refine, and you can even pick Ollama (with llama3) as the local provider, or use a second endpoint only for the reflection step. After that local engine restart, the long translation instructions and the three-step context have to be computed again from the beginning. Galahad is a long-term memory for the agent: it save and restore the KV cache byte-for-byte across restarts, so the agent skip recomputation and keep memory between sessions. In our tests, restore 2.8 to 4.3x faster than recompute. If you would be open to try it on the Ollama path, or want help integrating, I am happy to help โ€” https://github.com/corbenicai/galahad

Sietse

Sign up or log in to comment