Hi, I have one main Workflow as the entry point of the app and which uses 2 agent in the flow, one after another and few maps in between. I have a storage option set while creating an instance of mastra, i.e.,
new Mastra({..., storage: .... })
new Mastra({..., storage: .... })
. I have NOT set memory options on any agents. Now few questions around it:
1. Each and every run on my main workflow will be stored in the storage right? 2. How to retrieve those workflow memory objects of each run? 3. How to set Resource and Thread in a Workflow for a particular User? 4. How to use Resource and ThreadId to give context to the agents while being called by the main workflow?