SPEAR: Code-Augmented Agentic Prompt Optimization 事件

PRODUCT_LAUNCH2026-05-27影响: MEDIUM

SPEAR: Code-Augmented Agentic Prompt Optimization arXiv:2605.26275v1 Announce Type: new Abstract: Automatic prompt engineering (APE) rewrites prompts to improve downstream task performance, but existing APE loops treat the optimizer itself as a fixed pipeline. We port the code-as-action paradigm of CodeAct (Wang et al., 2024a) to APE and propose SPEAR (Sandboxed Prompt Engineer with Active Roll-back), a free-form agentic optimizer with four tools -- evaluate, python, set_prompt, finish -- that