the default thinking here when it comes to speaking with agents is that your conversation or chat history with a agent is a set of messages but i think the better way of thinking about chat history and interactions is not to think of them as chat history or interactions the better way is to think about this as a sequence of events this sequence of events does not need to be user assistant user assistant and when we think more about these as events it becomes much more obvious that an agent is more of a workflow execution engine that goes and performs different tasks based on particular triggers those triggers might be a user sending a message but it could be something else so it's best to think about the interactions with a agent as being more a log of events