A system that learns from agent failures and automatically improves prompts by analyzing what went wrong.