GEPA
What is GEPA?
GEPA (Genetic-Pareto) is an open-source framework for optimizing any system with textual parameters, such as prompts, code, agent architectures, and configurations. Unlike traditional reinforcement learning, it uses LLM-based reflection to analyze execution traces and perform Pareto-efficient evolutionary search, enabling targeted, sample-efficient improvements.
GEPA is a powerful, open-source optimization engine designed to evolve text-based artifacts by leveraging LLM-driven reflection. By analyzing detailed execution traces—such as error logs, reasoning paths, and profiling data—GEPA identifies the root causes of failures and proposes intelligent, targeted mutations. This approach allows developers to optimize complex systems, including agent architectures and prompt pipelines, with significantly higher sample efficiency than traditional reinforcement learning methods like GRPO.
Beyond simple prompt tuning, GEPA features a universal 'optimize_anything' API that supports diverse domains ranging from code generation and scheduling policies to vector graphics. By maintaining a Pareto frontier of high-performing candidates, the framework balances exploration and exploitation, allowing it to merge complementary strengths from different variants. It is widely recognized for its performance in enterprise environments and research benchmarks, offering a robust, scalable solution for automated system improvement.
GEPA fits into the Agentic AI category. It was released on Nov 16, 2026.
GEPA is free to use and open source, with the source code on GitHub. Teams typically use it for workflow orchestration, browser automation, RAG pipelines and human-in-the-loop, with domain-specific use in Customer support, Finance ops and Healthcare.
Who GEPA is for
Teams and individual developers working in Agentic AI.