- Newest
- Most votes
- Most comments
Amazon Bedrock Agents use an orchestration strategy to determine how they accomplish tasks, which involves developing a plan and executing it to reach a final answer. By default, agents use a strategy called ReAct (Reason and Action) defined in the base default prompt templates.
You have two main options to customize and potentially view the orchestration logic:
-
Advanced Prompt Templates: You can modify the base prompt templates that control the agent's behavior during pre-processing, orchestration, knowledge base response generation, and post-processing. This allows you to override the default logic with your own configurations.
-
Custom Orchestration: For more control, you can create an AWS Lambda function that outlines your own orchestration logic. This gives you full control over how your agent handles multi-step tasks, makes decisions, and executes workflows. The Lambda function controls when and how to invoke the model, when to invoke action tools, and how to determine the final response.
Additionally, you can use traces to examine your agent's reasoning process at each step of its orchestration, which can help you understand the decision-making process.
While you can customize these components, the underlying system-level coordination logic that drives the agent's autonomy is not directly exposed as a single viewable "agent flow prompt." Instead, you interact with it through the customization options mentioned above, which allow you to influence how the agent makes decisions about tool usage and task completion.
Sources
How Amazon Bedrock Agents works - Amazon Bedrock
Customize your Amazon Bedrock Agent's behavior with custom orchestration - Amazon Bedrock
Automate tasks in your application using AI agents - Amazon Bedrock
Customize agent orchestration strategy - Amazon Bedrock
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
