LangGraph 1 · Running and streaming

Run the graph

Run it to completion and get the final state.

result = graph.invoke({"messages": [{"role": "user", "content": "Hello"}]})

Official LangGraph 1 documentation

More running and streaming commands

All running and streaming commands · LangGraph 1 cheatsheet

Was this page helpful?