Idea: long-term memory for the agent across restarts

#2
by Corbenic - opened

Hello, I been reading about CUGA, the configurable generalist agent, and I like that it already can talk to an OpenAI-compatible endpoint through LiteLLM, so a self-hosted engine like vLLM or Ollama can be used also. For a generalist agent with many tools, the system prompt and tool schemas are large, and after a restart the model must recompute all of that. 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. We see 262,144/262,144 logits bit-identical after restart, and 8.8 to 12.3x less GPU energy for that step. If you would be open to try it, or want help integrating, I am happy to help โ€” https://github.com/corbenicai/galahad

Sietse

IBM Research org

Thanks for sharing, would be happy to discuss.

Sign up or log in to comment