@@ -537,23 +537,27 @@ Based on successful OpenEvolve implementations, system messages are best created
537537<summary><b>🔄 Step-by-Step Process</b></summary>
538538
539539**Phase 1: Initial Draft**
540+
5405411. Start with a basic system message describing your goal
5415422. Run 20-50 evolution iterations to observe behavior
5425433. Note where the system gets "stuck" or makes poor choices
543544
544545**Phase 2: Refinement**
546+
5455474. Add specific guidance based on observed issues
5465485. Include domain-specific terminology and concepts
5475496. Define clear constraints and optimization targets
5485507. Run another batch of iterations
549551
550552**Phase 3: Specialization**
553+
5515548. Add detailed examples of good vs bad approaches
5525559. Include specific library/framework guidance
55355610. Add error avoidance patterns you've observed
55455711. Fine-tune based on artifact feedback
555558
556559**Phase 4: Optimization**
560+
55756112. Consider using OpenEvolve itself to optimize your prompt
55856213. Measure improvements using combined score metrics
559563
@@ -626,13 +630,15 @@ prompt:
626630<summary><b>🎨 Prompt Engineering Patterns</b></summary>
627631
628632**Structure Your Message:**
633+
629634- Start with role definition ("You are an expert...")
630635- Define the specific task and context
631636- List optimization opportunities with examples
632637- Set clear constraints and safety rules
633638- End with success criteria
634639
635640**Use Specific Examples:**
641+
636642` ` ` yaml
637643# Good: Specific optimization targets
638644system_message : |
@@ -644,6 +650,7 @@ system_message: "Make the code faster"
644650` ` `
645651
646652**Include Domain Knowledge:**
653+
647654` ` ` yaml
648655# Good: Domain-specific guidance
649656system_message : |
@@ -657,6 +664,7 @@ system_message: "Optimize the algorithm"
657664` ` `
658665
659666**Set Clear Boundaries:**
667+
660668` ` ` yaml
661669system_message : |
662670 MUST NOT CHANGE:
@@ -676,11 +684,13 @@ system_message: |
676684<summary><b>🔬 Advanced Techniques</b></summary>
677685
678686**Artifact-Driven Iteration:**
687+
679688- Enable artifacts in your config
680689- Include common error patterns in system message
681690- Add guidance based on stderr/warning patterns
682691
683692**Multi-Phase Evolution:**
693+
684694` ` ` yaml
685695# Phase 1: Broad exploration
686696system_message : " Explore different algorithmic approaches..."
@@ -691,6 +701,7 @@ focus on parameter tuning and cooling schedules..."
691701` ` `
692702
693703**Template Variation:**
704+
694705` ` ` yaml
695706prompt :
696707 template_dir : " custom_templates/"
@@ -747,6 +758,7 @@ return EvaluationResult(
747758```
748759
749760** Next generation prompt automatically includes:**
761+
750762``` markdown
751763## Previous Execution Feedback
752764⚠️ Warning: suboptimal memory access pattern
@@ -772,6 +784,7 @@ python scripts/visualizer.py --path examples/function_minimization/openevolve_ou
772784```
773785
774786** Features:**
787+
775788- 🌳 ** Evolution tree** with parent-child relationships
776789- 📈 ** Performance tracking** across generations
777790- 🔍 ** Code diff viewer** showing mutations
0 commit comments