Workflow short term memory across multiple runs

Do workflows have a short-term memory with threads?

Coming from LangGraph : you don't distinguish workflows and agents. So basically when you use short term memory it applies to both.

Say that you want to craft a travel recommender. There are 2 patterns :
  • A simple workflow with a big prompt, and you run the workflow multiple times with a persistent state to refine the response => I get how to implement it as an agent but not a workflow
  • A more complex workflow with human-in-the-loop interruption, that works in a single run => I get this part but this makes up convoluted workflow, not suited for a chatbot
My understanding is that I would be expected to show the workflow into an agent and benefit from the agent's state memorization, right?
Was this page helpful?