Ability to pass session context via runtime between agents #4337
ashishsingla87
started this conversation in
Ideas
Replies: 2 comments 8 replies
-
At the Core API, you can define your message protocol to contain the session context as part of the messages between agents. Are you thinking of the AgentChat layer? |
Beta Was this translation helpful? Give feedback.
2 replies
-
So in a nutshell, when triggering a team.run method like roundrobinchat.run. I would like to pass a list of session variables which I would like my agent to have access to. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
The pieces I am trying to solve have this need to access specific things via session variables. For example, keys in global variable which I would like all of my agents to have access to. Or a pdf byte array which i can pass around. We can use s3 to save files and give ids for the file but I feel that is an inefficient way to solve the problem as if in case of hallucination, I would not have access to the variables which I can locate deterministically. If we have a thin layer of session variables as an added json on top of memory, that would be great to reduce these problems. Interested to hear thoughts of this community on this topic.
Beta Was this translation helpful? Give feedback.
All reactions