graph.compile(checkpointer=checkpointer or MemorySaver())