Plan, search, verify, synthesize.
PromptGraph("researcher", nodes=[ PlanNode("plan", is_entry=True), PromptNode("search", inject_tools=True), ObserveNode("observe"), ValidateNode("verify", criteria=["Sources agree", "No contradictions"], on_fail="search"), # loop back if invalid SynthesizeNode("report", is_terminal=True),])