~/talk

Agent Optimization with Pydantic AI: GEPA, Evals, Feedback Loops

slides:none on file

Live workflow shows concrete changes: run evals against a golden dataset (65 quick cases, 650 full MPs) and measure accuracy rising from ~85% with a simple prompt to 92% with a tuned prompt and 96.7% after GEPA optimization. The demo uses Pydantic AI agents, Logfire gateway (Anthropic/OpenAI/GPT‑4.1), and Logfire managed variables to edit prompts, models and rollout percentages in a FastAPI server without redeploying; proposer agents iterate prompts, cost shows up (a few dollars during runs) and traces record each candidate.

AI-written summary · about

  1. 0:00Introduction to Samuel Colvin and the Pydantic ecosystem
  2. 1:29Overview of GEPA for prompt optimization
  3. 3:02Introduction to Logfire managed variables
  4. 3:55Case study: Analyzing political dynasties using Wikipedia data
  5. 10:04Getting started: Setting up the environment and API keys
  6. 16:55Running the initial evaluation (evals) against a golden dataset
  7. 25:16Comparing different prompt performance
  8. 34:00Running the full GEPA optimization process
  9. 43:43Q&A: Handling prompt size and systemic errors
  10. 57:01Demonstrating managed variables in a FastAPI web server
  11. 1:11:06Discussing implicit user feedback collection
  12. 1:15:42Q&A: Real-world internal use cases and context engineering
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.