awslabs / multi-agent-orchestrator

Flexible and powerful framework for managing multiple AI agents and handling complex conversations
https://awslabs.github.io/multi-agent-orchestrator/
Apache License 2.0
1.75k stars 117 forks source link

Feature request: Support for Bedrock Agent sessionAttributes and promptSessionAttributes #81

Open yhou-uk opened 1 week ago

yhou-uk commented 1 week ago

Use case

In the invoke_agent method, the sessionAttributes parameter allows us to pass contextual information such as user IDs, JWT etc.. This feature enables the subsequent transmission of these attributes to Lambda functions within the agent's action group. By using sessionAttributes in this manner, we can use the provided data as credentials to interact with customer business APIs.

Solution/User Experience

The user provides user ID and JWT data in AmazonBedrockAgentOptions. Subsequently, this data is passed to the Bedrock agent invocation and then to the action group Lambda functions.

Alternative solutions

No response