Persistent state stores? #6

Open
opened 2026-02-16 02:16:03 -05:00 by yindo · 1 comment
Owner

Originally created by @sirianni on GitHub (Jul 19, 2025).

Are there any plans to support persistent state stores? Currently it looks like InMemoryStateStore is hardcoded in the Context.

Originally created by @sirianni on GitHub (Jul 19, 2025). Are there any plans to support persistent state stores? Currently it looks like `InMemoryStateStore` is hardcoded in the `Context`.
yindo added the question label 2026-02-16 02:16:03 -05:00
Author
Owner

@logan-markewich commented on GitHub (Jul 19, 2025):

@sirianni perhaps at some point in the future. But also, its very easy to serialize and restore the context. With it serialized, you can throw it anywhere to store

ctx_dict = ctx.to_dict()
restored_ctx = Context.from_dict(workflow, ctx_dict)
@logan-markewich commented on GitHub (Jul 19, 2025): @sirianni perhaps at some point in the future. But also, its very easy to serialize and restore the context. With it serialized, you can throw it anywhere to store ``` ctx_dict = ctx.to_dict() restored_ctx = Context.from_dict(workflow, ctx_dict) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-py#6