messages is a very generic table name and a lot of setups might already be using a messages tables.. such as is the case for me. It would have been nicer if you had called it agent_messages to be in line with agent_memories and to reduce the risk of a table name conflict.
It would be nice if you made this change.. but if you would rather not.. then it would be nice to have it be configurable via the config file.
Many thanks!