Skip to content

Is compiled graph thread-safe in Langgraph? #23630

Answered by JoshuaC215
zhaidarbek asked this question in Q&A
Discussion options

You must be logged in to vote

From here:

"It is entirely safe to share a graph between executions, whether they happen concurrently or not, whether in same thread or not. No state is ever stored on the graph instance, and the graph instance isn't ever mutated in any way during any execution of the graph"

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rsgrewal-aws
Comment options

@JoshuaC215
Comment options

Answer selected by zhaidarbek
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants