fn agent_ref_of(node: &FlowNode) -> Result<AgentRef, String>
The node’s agent_ref: its identity and memory, or a blank agent when it has none.
agent_ref