promptolution: A Unified, Modular Framework for Prompt Optimization

Tom Zehle, Timo Heiß, Moritz Schlager, Matthias Aßenmacher, Matthias Feurer
12/2/2025
cs.CL

No official code found. Best implementation: automl/promptolution (158 stars, Apache-2.0, last commit 2026-03-02).

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 demonstrate its effectiveness, practical adoption is hindered because existing implementations are often tied to unmaintained, isolated research codebases or require invasive integration into application frameworks. To address this, we introduce promptolution, a unified, 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, supports systematic and reproducible benchmarking, and returns framework-agnostic prompt strings, enabling seamless integration into existing LLM pipelines while remaining agnostic to the underlying model implementation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A unified, modular Framework for Prompt Optimization

15813PythonJul 21, 20247 months agoApache-2.0
automated-prompt-engineeringautomated-prompt-optimizationllmpromptprompt-engineering+2 more

Similar Papers

Cite this paper

@article{zehle2025promptolution,
  title  = {promptolution: A Unified, Modular Framework for Prompt Optimization},
  author = {Tom Zehle and Timo Heiß and Moritz Schlager and Matthias Aßenmacher and Matthias Feurer},
  year   = {2025},
  eprint = {2512.02840},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.02840v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.02840.svg)](https://codeofpaper.com/paper/2512.02840)

Discussion