promptolution: A Unified, Modular Framework for Prompt Optimization
Tom Zehle, Timo Heiß, Moritz Schlager, Matthias Aßenmacher, Matthias Feurer
TL;DR
promptolution introduces a modular, open-source framework that unifies multiple discrete prompt optimizers under an LLM-agnostic umbrella. It provides interchangeable LLM interfaces, task definitions, and evaluation workflows, enabling both practitioners and researchers to perform systematic prompt optimization and benchmark studies. The paper demonstrates competitive performance across standard datasets (GSM8K, SST-5) and outlines a roadmap for interoperability, scalable experimentation, and multi-agent prompt optimization. By consolidating tools and enabling rigorous benchmarking, promptolution aims to accelerate progress in prompt optimization and broaden practical adoption.
Abstract
Prompt optimization has become crucial for enhancing the performance of large language models (LLMs) across a broad range of tasks. Although many research papers show its effectiveness, practical adoption is hindered as existing implementations are often tied to unmaintained and isolated research codebases. To address this, we introduce promptolution, a unified and modular open-source framework that provides all components required for prompt optimization within a single extensible system for both practitioners and researchers. It integrates multiple contemporary discrete prompt optimizers while remaining agnostic to the underlying LLM implementation.
