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

DOC: <Please write a comprehensive title after the 'DOC: ' prefix>How to add prompt to every react_agent in every team? #1764

Open
guapia233 opened this issue Sep 19, 2024 · 0 comments

Comments

@guapia233
Copy link

Issue with current documentation:

hierarchical_agent_teams.ipynb
link:https://github.com/langchain-ai/langgraph/blob/main/docs/docs/tutorials/multi_agent/hierarchical_agent_teams.ipynb

Idea or request for content:

I had been working on this example code for a long time in the field of penetration testing (although it was constantly being changed by the authorities) and started to notice a problem. For example, now there is a scan team consisting of a supervisor and two agents, each equipped with a tool. A team is given a task to be completed in two steps, which requires the cooperation of two agents to complete step by step, but often the task will be stuck in the cycle of the first agent, even if the first part of the task has been completed, and many times the team will not realize the existence of the second tool during the execution (the definition is correct, a separate test can succeed). I would like to know how this is caused and how it can be improved. In the example code, only the supervisor has prompts.How would you add a prompt to each agent, perhaps to solve this problem? I would be grateful if you could answer!

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

1 participant