Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messaging between the agents #66

Open
amitschendel opened this issue Jan 24, 2025 · 2 comments
Open

Messaging between the agents #66

amitschendel opened this issue Jan 24, 2025 · 2 comments

Comments

@amitschendel
Copy link

One thing that is currently a bit missing is a way to route messages between the agents without manually setting this up.
I would love to have a system where we can set "sender" and "receiver" and the system will know how to route it to the correct agent.
Currently this needs to be implemented by the user but it would be nice if there was a way to wrap it so it will be a "no brainer" task.

@KennyVaneetvelde
Copy link
Member

Hmm I personally don't see a way to make it easier without losing verbosity

Any suggestions in how you'd expect to use it?

@OnlyC
Copy link

OnlyC commented Mar 6, 2025

I create OutputSchema with action field and tell agent to fill it in prompt, indicate next agent, or tool's name and in the while loop use simple if else through a list of agents & tools, last one is agent_answer:
if response.action == "agent_x":

I still feel something wrong about it but not yet have another solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants