Optimization Workflow & A2A Communication

planningChallenge

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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