Back to Prompt Library
planning

Optimization Workflow & A2A Communication

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Multi-Agent Dev Team for Performance Optimization

Format
Text-first
Lines
1
Sections
1
Linked challenge
Multi-Agent Dev Team for Performance Optimization

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
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.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.