Disposes of the history for an agent, optionally clearing all data.
Iterates over history messages for an agent.
Removes and returns the last message from the history for an agent.
Adds a new message to the history for an agent.
Initializes the history for an agent, loading initial data if needed.
Interface defining methods for a history instance implementation.