Customize agent for your use case
Note
Amazon Bedrock Agents (launched November 2023) is now 'Amazon Bedrock Agents Classic' and will no longer be open to new customers starting on July 30, 2026. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. If you would like to use Bedrock Agents Classic, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see Amazon Bedrock Agents Classic maintenance mode.
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.