Agent DLC: When Retrieval Precision is Perfect but the Agent Can't Answer, How Should the Evaluation Framework Be Designed?
The AWS engineering team proposes the Agent DLC framework, using a practical case of HR policy Q&A to demonstrate that chunk-level retrieval precision of 1.00 can mask a knowledge coverage gap where fact-level precision is only 0.09. The framework divides agent evaluation into an inner loop (improving the agent under fixed standards) and an outer loop (revising the standards themselves), defining five quality dimensions and three constraint levels to prevent teams from using prompt modifications to solve problems that should be addressed by supplementing knowledge sources.
An internal HR policy assistant answers three questions: performance reviews, benefits enrollment, and sick-leave certificates. Chunk-level retrieval precision—which measures whether each retrieved document block as a whole is relevant to the question—scores a perfect 1.00 for all three questions. If the release threshold relies solely on this metric, all three answers would pass.
However, when each document block is broken down into individual facts and their necessity is checked one by one, the fact-level precision scores are 0.59, 0.53, and 0.09 respectively. The third question indicates that roughly nine out of ten specific facts in the retrieved material are irrelevant to what was asked. Chunk-level precision only asks 'is this passage on topic'; it does not measure 'how much of this passage is actually useful.'
In a blog post, the AWS engineering team uses this measured case to introduce the core argument of the Agent Development Lifecycle (Agent DLC) framework: traditional unit testing and CI/CD remain necessary for agents, but they are insufficient due to three characteristics. First, agents are non-deterministic; identical inputs can produce different outputs and execution paths. Second, changes to prompts, tool descriptions, retrieval settings, or memory configuration can alter behavior in ways undetectable by text review alone. Third, model endpoints, knowledge bases, and external APIs can change independently of the code repository and affect agent behavior.