Devtoolwatch BoardGet it every Monday

GEPA review

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

Updated Nov 15, 2026. Review written Nov 8, 2026 from the project's own sources; usage data refreshed every Monday.

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
Maintained by
GEPA (organization, @gepa-ai on GitHub)
License
MIT
Language
Jupyter Notebook, Python, HTML
Repository
github.com/gepa-ai/gepa
Website
gepa-ai.github.io/gepa
PyPI package
gepa 0.1.4
Latest release
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 and start using 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 to know

  • 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.

Is GEPA growing? Usage data

In the week of Nov 8–14, 2026, GEPA ranked #77 on the Devtoolwatch Board and #7 in Agent frameworks, with a momentum score of 71 out of 100. Its main package had 2.7M downloads that week, +9% against its own 4-week average.

New GitHub stars per week for GEPA12 weeks from Aug 23, 2026: 97, 132, 117, 110, 112, 111, 79, 93, 112, 92, 111, 102 new stars, an average of 106 a week.Aug 23week of Nov 8
New GitHub stars per week for the last 12 weeks, from GitHub's stargazer history (today's stargazers by the week they starred).
Show the weekly numbers
New GitHub stars per week for GEPA
Week ofNew stars
Aug 23, 202697
Aug 30, 2026132
Sep 6, 2026117
Sep 13, 2026110
Sep 20, 2026112
Sep 27, 2026111
Oct 4, 202679
Oct 11, 202693
Oct 18, 2026112
Oct 25, 202692
Nov 1, 2026111
Nov 8, 2026102

On Hacker News

The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.

GEPA alternatives

Other AI agent frameworks on the Board in the week of Nov 8–14, 2026, by momentum:

Agent frameworks ranked by momentum, the week of Nov 8–14, 2026
RankToolStarsDownloads/wk
#1pixelfxpixelfx is a JavaScript library of code-based pixel art effects and animations, plus a Claude Code skill for making new ones.7.5k–
#2SwitchSwitch is an open-source, self-hosted system that brings AI agents into Slack, Teams, Discord, Telegram and Mattermost channels as…4.5k–
#3Harness²Harness² is a Python framework from Google Research for recursive agent harnessing, refining an agent's prompts, tools, memory and…23.9k–
#4AG-UIAG-UI is an open, event-based protocol that standardizes how AI agents connect to user-facing frontend applications.17.4k6.1M
#5AgentScopeAgentScope is a Python agent framework with an SDK for building ReAct agents and an agent service backend with a web UI.36k143.6k
#6HyperFramesHyperFrames is an open-source framework that turns HTML, CSS, media, and seekable animations into deterministic MP4 videos, built for AI…84.3k1.3M

All AI agent frameworks, ranked

Recent GEPA releases

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.

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.

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
  2. GEPA README
  3. gepa on PyPI
  4. GEPA website
  5. Release v0.1.4 (Jul 15, 2026)
  6. Release v0.1.3 (Jul 14, 2026)
  7. Release v0.1.2 (Jul 14, 2026)
  8. Hacker News: Show HN: Optimize_anything: A Universal API for Optimizing Any Text Parameter
  9. Hacker News: Learning, Fast and Slow: LLMs That Adapt Continually
  10. Devtoolwatch Board, the week of Nov 8–14, 2026

GEPA README badge

Maintainers can show the tool's weekly Board rank in their README:

Devtoolwatch badge for GEPA

[![Devtoolwatch](https://index.devtoolwatch.com/badge/gepa-ai-gepa.svg)](https://index.devtoolwatch.com/tools/gepa-ai-gepa/)

How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].