Spaces:
Runtime error

Idea: long-term memory for the agent across restarts

#1
by Corbenic - opened

The tool-use demo is a nice local loop: a Qwen2.5-7B model you fine-tuned with PPO, it write Python, and the Space actually execute that code and show the result. After a restart the 7B weights and the tool-use prompt are 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 tests, restore 2.8 to 4.3x faster than recompute, with 262,144/262,144 logits bit-identical after restart. If you are open to try it, or want help integrating, I am happy to help โ€” https://github.com/corbenicai/galahad

Sietse

Sign up or log in to comment