Evaluator-Optimizer Chat
AI SDK v5
Agent Pattern
Evaluator-Optimizer system demonstrates how AI agents can work together using ai sdk v5 . The Evaluator Tool assesses content quality and provides detailed feedback, while the Optimizer Tool improves content based on that feedback. The Orchestrator Agent coordinates between tools, managing the evaluation-optimization workflow until quality thresholds are met.