gepromptet/promptolution

★ 158⑂ 12

A unified, modular framework for prompt optimization

About gepromptet/promptolution

gepromptet/promptolution is an open-source project on GitHub, mainly written in Python. A unified, modular framework for prompt optimization It currently holds 158 stars and 12 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Prompt Engineering board.

GitHub Repository Details

Repository gepromptet/promptolution · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Coverage CI Docs PyPI version Code Style Python Versions Getting Started promptolution

https://github.com/gepromptet/promptolution/blob/HEAD/lmu_logo https://github.com/gepromptet/promptolution/blob/HEAD/mcml https://github.com/gepromptet/promptolution/blob/HEAD/ellis_logo https://github.com/gepromptet/promptolution/blob/HEAD/uni_freiburg_color https://github.com/gepromptet/promptolution/blob/HEAD/tum_logo

🚀 What is Promptolution?

Promptolution is a unified, modular framework for prompt optimization built for researchers and advanced practitioners who want full control over their experimental setup. Unlike end-to-end application frameworks with high abstraction, promptolution focuses exclusively on the optimization stage, providing a clean, transparent, and extensible API. It allows for simple prompt optimization for one task up to large-scale reproducible benchmark experiments.

https://github.com/gepromptet/promptolution/blob/HEAD/promptolution_framework

Key Features

Have a look at our Release Notes for the latest updates to promptolution.

📚 Scientific Publications Powered by Promptolution

🔧 Installation and Quickstart

pip install promptolution[api]

For local inference, add [transformers] (HuggingFace) or [vllm] (vLLM serving), or both.

import pandas as pd
from promptolution.utils import ExperimentConfig
from promptolution.helpers import run_experiment

DataFrame with columns "x" (input) and "y" (label)

df = pd.read_csv("your_data.csv")

config = ExperimentConfig( optimizer="capo", task_description="Classify each sentence as subjective or objective.", prompts=["Classify the text as objective or subjective."], n_steps=10, api_url="https://api.openai.com/v1", model_id="gpt-4o-mini", api_key="YOUR_API_KEY", )

best_prompts = run_experiment(df, config) print(best_prompts)

Full tutorial: Getting Started notebook · Docs

🧠 Featured Optimizers

| Name | Paper | Init prompts | Exploration | Costs | Parallelizable | Few-shot | | ---- | ---- | ---- |---- |---- | ----|---- | | CAPO | Zehle et al., 2025 | required | 👍 | 💲 | ✅ | ✅ | | EvoPromptDE | Guo et al., 2023 | required | 👍 | 💲💲 | ✅ | ❌ | | EvoPromptGA | Guo et al., 2023 | required | 👍 | 💲💲 | ✅ | ❌ | | OPRO | Yang et al., 2023 | optional | 👎 | 💲💲 | ❌ | ❌ |

🏗 Components

🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for the workflow, code quality guidelines, and how to run tests.

📄 Citation

If you use Promptolution in your research, please cite:

@inproceedings{zehle2026promptolution,
  title={promptolution: A unified, modular framework for prompt optimization},
  author={Zehle, Tom and Hei{\ss}, Timo and Schlager, Moritz and A{\ss}enmacher, Matthias and Feurer, Matthias},
  booktitle={Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 3: System Demonstrations)},
  pages={282--296},
  year={2026}
}

---

Developed by Timo Heiß, Moritz Schlager, Tom Zehle, and Henri Oberpaur (LMU Munich, MCML, ELLIS, TUM, Uni Freiburg).

GitHub Stars & Activity

158Stars
12Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars158
Forks12
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

microsoft / promptflow

Python★ 11,244⑂ 1,123
2

promptslab / Promptify

Python★ 4,635⑂ 364
3
4

hegelai / prompttools

Python★ 3,055⑂ 256
5

Eladlev / AutoPrompt

Python★ 3,019⑂ 264
6

microsoftarchive / promptbench

Python★ 2,821⑂ 222
7

yaojingang / yao-open-prompts

Python★ 2,817⑂ 461
8

YiVal / YiVal

Python★ 2,134⑂ 328

More AI Rankings