Want to StateManagement in GroupChat Orchestration #2572
Replies: 2 comments 3 replies
-
|
Hi @Saravanan123ghnsms, can you help us understand how you plan to use shared state as part of the group chat builder/pattern? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @moonbox3 , Thank you for your response. Let me clearly explain my scenario and how I am planning to use shared state with the Group Chat orchestration pattern. I have two agents: Agent 1 Has a single tool The tool returns a result, which may be either an object or a string Agent 2 Has a single tool The tool also returns a result, which may be either an object or a string Both agents are attached to a Group Chat orchestration. My requirement When Agent 1 executes its tool, the tool returns a structured result (for example, an object). The reason I want to do this programmatically is because relying purely on the LLM to interpret prior messages is not always reliable. The LLM may: Miss fields Change formats Hallucinate values Instead, I want Agent 2 to directly read Agent 1’s tool output from shared state, so it can safely use that data when invoking its own tool. Question Is it possible, when using Group Chat orchestration, to: Persist Agent 1’s tool result into a shared state Access that shared state directly inside Agent 2’s code (not via LLM reasoning) If this is supported, could you please explain the recommended approach? Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working in python,
I want to know whether it is possible to apply state management in group chat orchestration in agent framework.
I have tried in documentation . I didn't found any relevant documentation.
Note : In custom flows it is possbile by Shared State but I want to work on Inbuilt groupchat builder.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions