Review AG2 agent code for common issues: prompt quality, tool contracts, error handling, and security