- Newest
- Most votes
- Most comments
The issue you're experiencing with your Bedrock multi-agent communication setup appears to be related to how the supervisor agent is attempting to communicate with collaborator agents. Based on the error message, it seems your supervisor agent is trying to use an action group called "AgentCommunication" with a "sendMessage" function that doesn't exist.
This is likely happening because the supervisor agent is hallucinating or incorrectly attempting to use a communication method that isn't properly configured. When using Amazon Bedrock's multi-agent collaboration feature, agents don't communicate through action groups or Lambda functions - they communicate through a built-in mechanism that's part of the multi-agent collaboration architecture.
Here are some potential solutions:
-
Review your supervisor agent's orchestration prompt: Make sure it doesn't contain instructions that might lead it to believe it should use an "AgentCommunication" action group. The agent might be hallucinating this function based on how you've described the communication process.
-
Check your agent descriptions: The way you describe how the supervisor should use connected agents in the sub-agents' descriptions might be causing confusion. Instead of saying "Use this agent to obtain cost analysis data," you might want to be more explicit about the communication mechanism.
-
Ensure proper configuration: Verify that your multi-agent collaboration is properly set up in the Bedrock console, with the supervisor agent correctly linked to the collaborator agents.
-
Modify the supervisor's instructions: Explicitly instruct the supervisor agent on how to communicate with collaborator agents in the multi-agent collaboration framework, rather than through action groups.
-
Consider rate limits: If you're using Claude 3.5 models, be aware that there are request rate limits that could affect multi-agent communication. For example, if your account has a low quota for Anthropic Claude models (like 1 request per minute for Sonnet), this could cause issues in a multi-agent setup where multiple requests might be made in quick succession.
The persistent nature of this issue across different agent versions and configurations suggests it might be related to how the agent is interpreting its instructions rather than a configuration problem. Try simplifying your setup and being very explicit in your instructions about how the supervisor should delegate tasks to collaborator agents.
Sources
Bedrock multi-agent collaboration error | AWS re:Post
Issue Sharing State Across Agents in Amazon Bedrock | AWS re:Post
[Potential Bug] Amazon Multi-Agent Collaboration Routing | AWS re:Post
answered a year ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 7 months ago
