The Digest.

AI Engineer · Video summary

Judge the Judge: Building LLM Evaluators That Actually Work with GEPA — Mahmoud Mabrouk, Agenta AI

Optimize LLM evaluators using the GEPA algorithm for calibrated judgments, moving beyond basic prompts to achieve higher accuracy and reliability in AI agents.

Judge the Judge: Building LLM Evaluators That Actually Work with GEPA — Mahmoud Mabrouk, Agenta AI Watch on YouTube ↗

Key takeaways

Chapters

The digest

This presentation explores how to create calibrated Large Language Models (LLMs) used as evaluators or "judges" that can reliably assess the performance of AI agents, specifically in complex, real-world contexts like customer support. It addresses why naive use of LLMs as judges often fails, presents a method for optimizing these evaluators against human-annotated data using the GEPA (Genetic Prompt Algorithm) optimization technique, and shares practical insights from applying this approach to a customer support benchmark dataset.

High Level Overview

Large Language Models are frequently deployed to automatically evaluate the outputs of AI agents, such as detecting hallucinations. However, these evaluators are often unreliable, misaligned with human judgment, and thus provide limited practical value for monitoring or developing AI agents in production. This material demonstrates how to build calibrated LLM evaluators by leveraging human annotations and prompt optimization via GEPA, improving correlation with real-world performance requirements. The approach facilitates faster offline evaluation cycles, better online monitoring, and ultimately drives a data-driven feedback loop critical for AI engineering.

Keep reading in The Digest

The full 6-minute article, 10 more sections, and every new episode from AI Engineer and the creators you follow.

  1. The Problem with Naive LLM Judges
  2. Why Build Calibrated LLM Evaluators?
  3. Framework for Building Calibrated LLM Judges
  4. 1. Understanding the Use Case and Designing Metrics
  5. 2. Data Curation and Annotation
  6. 3. Prompt Optimization via GEPA
  7. 4. Validation and Results
  8. Key Framework: GEPA Algorithm for Prompt Optimization
  9. Practical Implications & Takeaways
  10. Action-Oriented Summary
Read the full digest — free

More from AI Engineer

Training an LLM from Scratch, Locally — Angelos Perivolaropoulos, ElevenLabs

In this hands-on workshop, Angelos Perivolaropoulos from ElevenLabs guides participants through the process of training an LLM from scratch using basic libraries like Torch, emphasizing the importance of tokenization and model architecture in building effective language models.

May 4, 2026

Skill Issue: How We Used AI to Make Agents Actually Good at Supabase — Pedro Rodrigues, Supabase

In this workshop, AI Engineer Pedro Rodrigues discusses how to enhance agent performance at Supabase using skills—structured workflows that improve agent interaction and efficiency. He shares insights on creating, testing, and implementing these skills, highlighting their significance in the development of agent-friendly applications.

May 4, 2026

Ralph Loops: Build Dumb AI Loops That Ship — Chris Parsons, Cherrypick

In this workshop, AI Engineer Chris Parsons introduces Ralph Loops, a method for building simple AI workflows that enhance productivity by iteratively refining tasks, using real coding examples like a Pomodoro timer. Participants learn to implement these loops practically, emphasizing the importance of context and feedback in AI-assisted coding.

May 4, 2026

Mergeable by default: Building the context engine to save time and tokens — Peter Werry, Unblocked

In this video, Peter Werry from Unblocked discusses the importance of a context engine for AI agents, emphasizing how it optimizes task execution by providing relevant context and reducing cognitive load for users. He debunks common myths surrounding context engines and illustrates their effectiveness in enhancing productivity and understanding within organizations.

May 3, 2026

Context Is the New Code — Patrick Debois, Tessl

In this talk, Patrick Debois presents the concept that context is the new code, emphasizing the importance of creating, testing, and distributing context in the software development lifecycle, particularly when using AI coding agents. He advocates for a systematic approach to context development that involves generating reusable prompts, evaluating their effectiveness, and leveraging feedback to improve overall coding practices.

May 3, 2026

Mastering AI Pricing: Flexible & Agile Monetization — Mayank Pant, Stripe

In this video, Mayank Pant from Stripe discusses the challenges and strategies of AI pricing, emphasizing the need for hybrid pricing models that adapt rapidly to changing features and customer needs, allowing companies to maintain competitive margins while fostering customer trust and engagement.

May 1, 2026

All AI Engineer summaries →