Optimization Workflow & A2A Communication

planningChallengeNovember 19, 2025

Prompt Content

Design the graph-based workflow for code optimization within AutoGen. Describe how agents will communicate (A2A) to: 1) Generate initial code based on a problem, 2) Review it, 3) Test its performance, 4) Refactor, and 5) Re-test until a performance target is met. Focus on how the 'Performance Tester' provides actionable feedback to the 'Lead Developer' for iterative improvements.

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