Amazon Bedrock AgentCore now details how its system prompt optimizer rewrites agent instructions using an agentic reflector that reads entire trace corpora rather than summarized snippets. AWS describes the feature in a technical companion post to an earlier launch announcement about AgentCore optimization, a capability aimed at improving agent quality without manual trace review.
The reflector engine examines evaluated agent behavior recorded through AgentCore Observability, compares successful runs against failures, and proposes a revised system prompt along with an explanation of the reasoning behind each change. AWS says passing dozens of full traces into a single prompt would normally exceed a model's context window, so the optimizer avoids truncating or pre-summarizing that data before analysis.
For a sample market trends agent, the tool generates a side-by-side comparison of the original and revised prompts plus an explanation panel describing which trace patterns motivated the edits, letting a person review the reasoning before testing it. AWS also shares benchmark results comparing its Single Agent Reflector and an experimental, open source Sub-Agent Reflector against two existing optimization methods, GEPA and MIPROv2, on public benchmarks.
Proposed prompt changes are validated through offline batch evaluation and online A/B testing on live traffic before being promoted, according to AWS.
Source: Optimizing agent system prompts with Amazon Bedrock AgentCore | Artificial Intelligence.