Develop Iterative Refinement Logic

implementationChallengeOctober 30, 2025

Prompt Content

Enhance your CrewAI system to incorporate a feedback loop. Implement a 'Producer Agent' that receives the initial creative output, evaluates it against a given set of feedback, and instructs the Lyricist and Composer agents to refine their outputs. The refinement process should involve multiple turns of communication and tool usage. Ensure the Producer Agent explicitly states its reasoning for feedback.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations