# GEPA review

> GEPA is a Python framework that optimizes prompts, code, and other text parameters using LLM-based reflection and Pareto-efficient evolutionary search.

Devtoolwatch Board, the week of Nov 8–14, 2026. Canonical page: https://index.devtoolwatch.com/tools/gepa-ai-gepa/

## TL;DR

GEPA (Genetic-Pareto) optimizes any system with textual parameters against an evaluation metric. GEPA is for developers tuning prompts, agents, code, or configurations. GEPA does not collapse execution traces into a single scalar reward. An LLM reads full traces, such as errors and reasoning logs, to diagnose failures and propose targeted fixes.

## GEPA at a glance

- **Category:** [Agent frameworks](https://index.devtoolwatch.com/categories/agent-frameworks/)
- **Maintained by:** GEPA (organization, [@gepa-ai](https://github.com/gepa-ai) on GitHub)
- **License:** MIT
- **Language:** Jupyter Notebook, Python, HTML
- **Repository:** [github.com/gepa-ai/gepa](https://github.com/gepa-ai/gepa)
- **Website:** [gepa-ai.github.io/gepa](https://gepa-ai.github.io/gepa/)
- **PyPI package:** [gepa](https://pypi.org/project/gepa/) 0.1.4
- **Latest release:** [v0.1.4](https://github.com/gepa-ai/gepa/releases/tag/v0.1.4) on GitHub, Jul 15, 2026
- **First published:** Aug 5, 2025

## What GEPA does

- GEPA optimizes system prompts against a metric using training and validation sets through gepa.optimize.
- GEPA's optimize_anything API optimizes any text artifact, such as code, agent architectures, configurations, or SVGs, given an evaluator you write.
- GEPA runs inside DSPy as dspy.GEPA to optimize DSPy programs.
- GEPA ships built-in adapters for RAG, MCP tool descriptions, LangChain pipelines, classification confidence, and full DSPy programs.
- GEPA can merge two Pareto-optimal candidates that excel on different tasks.
- GEPA generates an interactive HTML lineage tree of explored candidates and logs it to WandB and MLflow.
- GEPA ships as an Agent Skill so coding agents like Claude Code can drive optimize_anything.

### How it works

GEPA runs as a Python library. Each iteration selects a candidate from the Pareto frontier and executes it on a minibatch while capturing traces. A reflection LLM then diagnoses failures, GEPA mutates the candidate, and it accepts improvements. Evaluators return diagnostic feedback called Actionable Side Information. GEPA connects to your system through the GEPAAdapter interface, where you implement evaluate and make_reflective_dataset.

## How to install GEPA

**With pip**

```
pip install gepa
```

**Latest from main**

```
pip install git+https://github.com/gepa-ai/gepa.git
```

**With LangChain adapter**

```
pip install "gepa[langchain]"
```

### Requirements

- Python 3.10 or later, below 3.15.
- Access to LLMs for the task model and the reflection model, for example OpenAI models in the README examples.
- An evaluation metric or evaluator function for your system.

### First steps

1. Install GEPA with pip and import gepa in Python.
2. Define a seed candidate, such as a dictionary holding your starting system prompt.
3. Call gepa.optimize with trainset, valset, a task_lm, a reflection_lm, and max_metric_calls as the budget.
4. Read the optimized prompt from result.best_candidate.

## Who GEPA is for

- Developers optimizing prompts in DSPy, LangChain, or LangGraph pipelines.
- Teams tuning agent architectures, code, or configurations against a measurable score.
- Users of coding agents who want to learn repository-specific skills automatically.
- RAG and MCP tool builders who want to optimize retrieval or tool descriptions.

### Limitations

- GEPA requires a measurable evaluation metric. Without a metric or evaluator, GEPA has nothing to optimize against.
- GEPA calls LLMs for both task execution and reflection, so each optimization run consumes model calls.
- Version 0.1.4 includes a breaking change, so check the upgrade notes before upgrading.
- GEPA connects to custom systems only through an adapter, which you must implement if no built-in adapter fits.

## Usage data (the week of Nov 8–14, 2026)

- Board rank: #77 overall, #7 in Agent frameworks, momentum score 71
- Downloads that week: 2.7M (+9% vs 4-week average)
- New GitHub stars per week (last 12 weeks): Aug 23: 97; Aug 30: 132; Sep 6: 117; Sep 13: 110; Sep 20: 112; Sep 27: 111; Oct 4: 79; Oct 11: 93; Oct 18: 112; Oct 25: 92; Nov 1: 111; Nov 8: 102

## GEPA alternatives

| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | [pixelfx](https://index.devtoolwatch.com/tools/patch-gg-pixelfx/) | 7.5k | – |
| #2 | [Switch](https://index.devtoolwatch.com/tools/sandbox-quantum-switch/) | 4.5k | – |
| #3 | [Harness²](https://index.devtoolwatch.com/tools/google-research-harness2/) | 23.9k | – |
| #4 | [AG-UI](https://index.devtoolwatch.com/tools/ag-ui/) | 17.4k | 6.1M |
| #5 | [AgentScope](https://index.devtoolwatch.com/tools/agentscope-ai-agentscope/) | 36k | 143.6k |
| #6 | [HyperFrames](https://index.devtoolwatch.com/tools/heygen-com-hyperframes/) | 84.3k | 1.3M |

## GEPA FAQ

### Is GEPA free and open source?

Yes. GEPA's source code is on GitHub (gepa-ai/gepa) under the MIT license, so you can use it for free.

### How do I install GEPA?

Run `pip install gepa`. The gepa package needs Python 3.10 or newer, below 3.15. The install section above has the other options from the project's README.

### Is GEPA still maintained?

Yes. The gepa-ai/gepa repository was last updated on Nov 7, 2026, and the latest release, v0.1.4 on GitHub, came out on Jul 15, 2026.

### How popular is GEPA?

GEPA has 7.4k GitHub stars as of Nov 15, 2026. It gained 102 new stars in the week of Nov 8–14, 2026, against a 12-week average of 106 a week. Its main package had 2.7M downloads that week, +9% against its own 4-week average. That made it #7 among AI agent frameworks on the Devtoolwatch Board.

### GEPA vs DSPy: how do they compare?

GEPA and DSPy are both tracked by Devtoolwatch as AI agent frameworks. GEPA has 7.4k GitHub stars and DSPy has 39.1k. In the week of Nov 8–14, 2026, GEPA's main package had 2.7M downloads and DSPy's had 1.4M. [DSPy review](https://index.devtoolwatch.com/tools/dspy/)

### GEPA vs SkillOpt: how do they compare?

GEPA and SkillOpt are both tracked by Devtoolwatch as AI agent frameworks. GEPA has 7.4k GitHub stars and SkillOpt has 19.1k. In the week of Nov 8–14, 2026, GEPA's main package had 2.7M downloads and SkillOpt's had 1.7k. SkillOpt is a Python text-space optimizer that trains reusable natural-language skill documents for frozen LLM agents without changing model weights. [SkillOpt review](https://index.devtoolwatch.com/tools/microsoft-skillopt/)

### What are the best alternatives to GEPA?

Other AI agent frameworks on the Devtoolwatch Board in the week of Nov 8–14, 2026, by momentum: pixelfx (#1), Switch (#2), Harness² (#3), AG-UI (#4), AgentScope (#5). The alternatives table above has their numbers.

### Does GEPA work with DSPy?

Yes. GEPA is available inside DSPy as dspy.GEPA. The README recommends that route for AI pipelines. You pass a metric, a budget, and a reflection LM, then compile your program.

### How is GEPA different from RL methods like GRPO?

GEPA uses LLMs to read full execution traces and diagnose why a candidate failed. RL methods collapse those traces into a scalar reward. The README reports 100–500 evaluations for GEPA versus 5,000–25,000+ for GRPO.

### Can GEPA optimize things other than prompts?

Yes. The optimize_anything API optimizes any text artifact, including code, agent architectures, configurations, and SVGs. You provide an evaluator that returns a score, and GEPA handles the search.

### Does GEPA work with coding agents?

Yes. GEPA ships as an Agent Skill that Claude Code and agents reading .claude/skills/ can discover. It installs as a plugin from the repo's marketplace.

### What is Actionable Side Information in GEPA?

Actionable Side Information is diagnostic feedback that evaluators return, such as output and error logs. GEPA feeds it into reflection, where it acts as the text-optimization analogue of a gradient.

## Sources

1. [gepa-ai/gepa on GitHub](https://github.com/gepa-ai/gepa)
2. [GEPA README](https://github.com/gepa-ai/gepa/blob/main/README.md)
3. [gepa on PyPI](https://pypi.org/project/gepa/)
4. [GEPA website](https://gepa-ai.github.io/gepa/)
5. [Release v0.1.4 (Jul 15, 2026)](https://github.com/gepa-ai/gepa/releases/tag/v0.1.4)
6. [Release v0.1.3 (Jul 14, 2026)](https://github.com/gepa-ai/gepa/releases/tag/v0.1.3)
7. [Release v0.1.2 (Jul 14, 2026)](https://github.com/gepa-ai/gepa/releases/tag/v0.1.2)
8. [Hacker News: Show HN: Optimize_anything: A Universal API for Optimizing Any Text Parameter](https://news.ycombinator.com/item?id=47083674)
9. [Hacker News: Learning, Fast and Slow: LLMs That Adapt Continually](https://news.ycombinator.com/item?id=48124621)
10. [Devtoolwatch Board, the week of Nov 8–14, 2026](https://index.devtoolwatch.com/)
