[AG-UI] [.NET] Workflow AsAgent and Unintended state sharing #3755
Unanswered
ecc-parity-check
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Adding @javiercn |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As currently the way to use AG-UI on the server side is to initialize it on app startup with
this means we need to have a single instance of a Workflow as Agent for the entire lifetime of the app's instance.
But in the documentation we have a warning about doing so:
https://learn.microsoft.com/en-us/agent-framework/user-guide/workflows/state-isolation?pivots=programming-language-csharp
So could you clarify, is it safe to use Workflows with AG-UI or it's better to avoid it?
Beta Was this translation helpful? Give feedback.
All reactions