GEPA vs Microsoft Foundry Prompt Optimizer
GEPA
gepa-ai.github.ioMicrosoft Foundry Prompt Optimizer
learn.microsoft.comSide by side
| Figure | GEPA | Microsoft Foundry Prompt Optimizer |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · AI Prompt Generators | 8.6 (#4) | 6.8 (#24) |
| How it works | It uses LLM reflection on execution traces to diagnose failures, propose targeted changes, and select candidates using a Pareto frontier. | An LLM uses the supplied instructions and optional suggestions to restructure and clarify the prompt. |
| Purpose | GEPA is a framework for optimizing prompts, code, agent architectures, configurations, and other text parameters against evaluation metrics. | Prompt Optimizer automatically improves an agent’s system instructions using prompt-engineering best practices. |
Plans
In their own words
GEPA
GEPA is a free, open-source Python package for optimizing prompts, code, configurations, agent architectures, policies, and other text-based artifacts. Its optimize_anything API connects to any system through an evaluator you write, so DSPy or another framework is not required. GEPA examines execution traces and evaluator feedback, uses language-model reflection to diagnose problems and propose targeted mutations, then selects candidates with Pareto-aware criteria. It can optimize API-only GPT, Claude, and Gemini models without model-weight access. Human-readable traces explain changes and support agent debugging. Built-in adapters cover Default, Confidence, DSPy Full Program, Generic RAG, MCP, TerminalBench, AnyMaths, and LangChain, with integrations including MLflow, Comet ML Opik, Pydantic AI, and cookbook projects. You can limit metric calls and set several stopping conditions. GEPA works through API or self-hosted deployment, installs with pip, and uses the MIT license.
Microsoft Foundry Prompt Optimizer
Microsoft Foundry Prompt Optimizer has no write-up on Specifiction yet; its figures are above.