Chat History

Persist and access conversation history for multi-turn interactions.

Chat History enables your agents, teams, and workflows to remember and reference previous conversations, creating intelligent and context-aware interactions.

Instead of starting fresh with each interaction, Chat History allows you to:

  • Maintain conversation continuity - Build on previous exchanges within a session
  • Provide personalized responses - Reference past interactions to tailor outputs
  • Avoid repetitive questions - Access previously provided information
  • Enable long-running conversations - Support multi-turn dialogues with persistent memory

Configure a database for durable history that survives restarts or can be loaded by another worker. An Agent with cache_session=True can retain history on that instance without a database, but that cache is process-local. See Database for durable setup.

Learn more