gepa-ai/gepa
Optimize prompts, code, and more with AI-powered Reflective Optimization observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 93
- Longevity 28
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 393
- days_rel: 49
- days_push: 7
- n_releases_24m: 30
Adoption not part of the score
6254 stars · 523 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
GEPA is a Python framework that optimizes textual system parameters such as prompts, code, and agent configurations using LLM-based reflection combined with Pareto-efficient evolutionary search. It reads full execution traces to diagnose failures and evolve high-performing candidates with far fewer evaluations than reinforcement learning.
Use cases
- optimize llm prompts automatically
- improve agent accuracy with prompt tuning
- cheaper alternative to RL fine-tuning for prompts
- evolve agent architectures with AI feedback
- tune system prompts against a custom evaluation metric
- optimize code snippets with reflective mutation
When to choose
- you have a measurable evaluation metric and want to improve prompts or agent designs
- you want prompt optimization that is cheaper and faster than RL or gradient methods
- you use DSPy or custom LLM pipelines and need automated prompt tuning
When to avoid
- you need traditional weight-based model fine-tuning rather than textual parameter optimization
- you have no evaluation metric or dataset to score candidates against
- you want a zero-configuration one-click optimizer without wiring an evaluation loop
Facets
library · maturity active
prompt-engineering llm-training machine-learning agent-framework large-language-models machine-learning developer-tools python prompt-optimization evolutionary-search pareto-optimization llm-reflection dspy-integration ai-agents
3 sources
- readme: https://github.com/gepa-ai/gepa · fetched 2026-08-28 · 949af958b226
- homepage: https://gepa-ai.github.io/gepa/ · fetched 2026-08-29 · 959c7629836d
- registry_pypi: https://pypi.org/pypi/gepa/json · fetched 2026-08-29 · 9bf85dfd4266
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gepa-ai/gepa | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem