SAGE: Stochastic Prompt Optimization via Agent-Guided Exploration
Not on the map. Why?
Abstract (arXiv)
Context engineering has emerged as a primary lever for improving AI systems without parameter updates. Recent work showing that textual gradients do not function as real gradients motivates treating automatic prompt optimization (APO) as black-box search. We introduce SPO (Stochastic Prompt Optimization), a framework for stochastic search over prompt space, and compare three strategies of increasing sophistication: error-informed random search, a genetic algorithm with evolutionary operators, and SAGE (SPO via Agent-Guided Exploration), a multi-agent pipeline with diagnostic code execution. Across three benchmarks, no single strategy dominates; effectiveness depends on the interaction of landscape structure with error type. We further deploy SAGE on a mental-health chatbot under a continuous optimization paradigm, where it compounds eight cycles of individually-noisy A/B tests into a statistically robust gain in next-day retention. We argue that coupling qualitative diagnosis with quantitative validation is what makes agentic optimization effective for open-ended task-oriented dialogue.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 36 references that are in the map. First posted on arXiv 17 Jun 2026.
Builds on
16 of 36 references.
References · 16
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 163
- 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 63
- 2026Meta Context Engineering via Agentic Skill Evolutioncited by 49
- 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 29
4 more
- 2019Shrinkage Estimators in Online Experimentscited by 8
- 2025Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimizationcited by 2
- 2026Engagement Phenotypes for a Sample of 102,684 AI Mental Health Chatbot Users and Dose-Response Associations with Clinical Outcomescited by 2
- 2026Fine-tuning LLMs for Passive Depression Severity Estimation from AI Mental Health Dialoguecited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025MARS: Multi-Agent Adaptive Reasoning with Socratic Guidance for Automated Prompt Optimization
- 2026Naive Prompt Optimization: Rethinking the Need for Complex Prompt Search
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization
- 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selection
- 2026SePO: Self-Evolving Prompt Agent for System Prompt Optimization
- 2026Coding Agents are Strong Prompt Optimizers
- 2026Helix: A Dual-Helix Co-Evolutionary Multi-Agent System for Prompt Optimization and Question Reformulation
- 2026SPEAR: Code-Augmented Agentic Prompt Optimization