Dynamic research workflow management with self-reflection and backtracking
When managing a research project, follow this adaptive workflow:
Literature Review → Understand the field
dispatch_agent(role="literature", task="...")literature/notes/, BibTeX in referencesResearch Proposal → Define the research question
dispatch_agent(role="proposer", task="...")proposal/ideas/Experiments → Validate the hypothesis
dispatch_agent(role="experimenter", task="...")experiments/code/experiments/results/Manuscript → Write the paper
dispatch_agent(role="writer", task="...")manuscript/main.texPeer Review → Quality check
dispatch_agent(role="reviewer", task="...")After each agent completes, reflect on:
If issues are found, you have three options:
ask_user to get human guidance