LangChain on eval-driven development: write the eval before you build the agent

udmrzn · x · 2026-11-12

LangChain's new article lays out eval-driven development (EDD) in three steps: define what good looks like in a short spec, write the eval before building, then compare experiments on a consistent task set after every change, keeping evals running in CI and production.

Key war story: adding a createticket tool to a knowledge-base agent raised the overall eval score — but the agent started opening tickets for simple questions like "how do I connect to VPN." Trace analysis showed an overly broad tool description. Lessons:

The approach applies directly to iterating on Skills, prompts, workflows, and harness swaps.

Original post →

More from coding & agent

coding & agent channel →