PromptPex vs PromptWizard
PromptPex
microsoft.github.ioPromptWizard
microsoft.github.ioSide by side
| Figure | PromptPex | PromptWizard |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · AI Prompt Generators | 7.2 (#21) | 8.4 (#6) |
| Maker | The documentation footer identifies Microsoft as the maker of PromptPex. | The project page names Microsoft Research and lists Eshaan Agarwal, Joykirat Singh, Vivek Dani, Raghav Magazine, Tanuja Ganu, and Akshay Nambi as authors. |
| Purpose | PromptPex is a tool for developers to explore and test AI model prompts by treating prompts as functions and generating test inputs. | PromptWizard is an open-source framework for automated, task-aware prompt and example optimization. |
Plans
In their own words
PromptPex
PromptPex is an open-source tool for developers who keep AI prompts in their codebase and want to examine how models follow prompt requirements. It treats prompts as functions, extracts output rules expressed in natural language, and generates unit tests to check whether a model follows those rules. It can also evaluate prompt performance across models, using an LLM to judge whether outputs meet stated requirements. Test generation can be shaped with scenarios, expansions, custom instructions, and effort levels. The CLI accepts Markdown or text templates, Prompty files, and GitHub Models prompt YAML files. Setup lists OpenAI, Azure OpenAI, GitHub Models, and Ollama as supported providers. PromptPex is packaged as an npm CLI and can run in Docker; its setup guide also describes a local web interface. Documented integrations include OpenAI Evals, Azure OpenAI Stored Completions, GitHub Models Evals, and GitHub Actions. Microsoft is identified as the maker. The project is intended for research, and its maker advises against downstream use without additional evaluation of robustness, safety, harm, and bias. Vague prompts can lead to suboptimal results, and rule extraction may be less accurate with complex or idiomatic language.
PromptWizard
PromptWizard is a free, MIT-licensed open-source framework for automated prompt and example optimization. It generates prompt variations, scores them, critiques their outcomes, and refines instructions over repeated rounds. It can also optimize in-context examples and synthesize examples suited to a task. The described workflows cover prompt optimization without examples, with generated examples, or with training data. Listed datasets include GSM8k, SVAMP, AQUARAT, and Instruction Induction (BBII). Custom datasets use JSONL samples with question and answer fields, and require task-specific answer extraction and evaluation functions, configuration, and data files. PromptWizard can generate chain-of-thought reasoning for in-context examples, with an option to turn that off to reduce prompt length. Installation uses the GitHub repository as a Python package in development mode, with instructions for Windows, macOS, and Linux. Model access setup supports OpenAI API keys and Azure OpenAI endpoints, so access requires credentials for those services. The README reports average optimization times of around 20–30 minutes in experiments on the listed datasets, with timing dependent on the dataset, and notes that human supervision can help tune outputs.