Customize agent for your use case
After you have set up your agent, you can further customize its behavior with the following features:
-
Advanced prompts let you modify prompt templates to determine the prompt that is sent to the agent at each step of runtime.
-
Session state is a field that contains attributes that you can define during build-time when sending a CreateAgent request or that you can send at runtime with an InvokeAgent request. You can use these attributes to provide and manage context in a conversation between users and the agent.
-
Amazon Bedrock Agents offers options to choose different flows that can optimize on latency for simpler use cases in which agents have a single knowledge base. To learn more, refer to the performance optimization topic.
Select a topic to learn more about that feature.
Topics
Note
The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.