AI Briefing
KO

How to Build Evals for Deep Agents

·2026.03.27 00:18

Key point

To improve an agent's accuracy and reliability, you need to build targeted evaluation systems that reflect real production behavior.

Details

To improve the performance of Deep Agents, evals (evaluations) are a core element that define and shape the agent's behavior. Simply adding a huge number of tests can create an illusion that fails to reflect real production behavior, so it's crucial above all to build targeted evals with a clear purpose.

To build effective evals, follow this process:

  • Determine the core behaviors the agent should perform, and curate custom evals that can verify them.
  • Add a docstring to each eval explaining how it's measured, and group them by assigning tags such as tool_use.
  • Review traces in LangSmith to analyze failure modes and continuously update the eval coverage.

Secure data through dogfooding—using your own agent directly—leveraging external benchmarks like Terminal Bench 2.0 or BFCL, and writing manual tests for critical behaviors.

In particular, you should strictly separate the SDK's unit/integration tests from model capability evals that measure the model's capabilities. This removes unnecessary noise and lets you focus on actual model performance improvements.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.