How to Separate Conversation Histories in OpenAI Agents SDK?

Hi everyone,

I’m working on a multi-agent application using the OpenAI Agents SDK and have a question about managing conversation histories. Specifically, I want to handle multiple separate conversations with different users or contexts.

  • Is there a conversation ID or a built-in mechanism to distinguish between different conversation threads?
  • In a single conversation, I understand I can use result.to_input_list() to include the history and maintain context. However, how can I separate and manage multiple conversation histories to ensure they don’t mix up?

I have the same question
Does anyone know how to solve this?