🔥 3-day streak
Claude Certified Associate (Foundations)41 / 150
Question 41 of 150
A developer tools team is building a feature that generates SQL queries from natural-language requests. They have a validator that can run each generated query against a test schema and return specific errors (syntax problems, missing columns, wrong joins). The team wants the system to iteratively improve its output until the query passes validation, since a single generation attempt often contains fixable mistakes. Which agent pattern best fits this need?
Reviewed for accuracy · Report an issueNext question