Introduction
In the rapidly evolving landscape of AI, LangChain has made significant strides, especially in the development of deep agents. Recently, four innovative applications were launched utilizing this technology:
- DeepAgents CLI: A coding agent.
- LangSmith Assist: An in-app agent designed for various support functionalities.
- Personal Email Assistant: An email assistant that personalizes based on user interactions.
- Agent Builder: A no-code platform for creating agents.
This post delves into the lessons learned from evaluating these deep agents, focusing on essential evaluation patterns to ensure these technologies are robust and effective.
Key Evaluation Patterns
The evaluation of deep agents presents unique challenges. Here are some vital patterns identified:
1. Custom Evaluation Logic: Each data point requires tailored test logic since traditional evaluation methods may not apply. This ensures evaluations are meaningful and specific.
2. Single-Step Evaluations: Running a deep agent for a single decision point provides a clear validation of decision-making and helps in saving resources like tokens.
3. Full Agent Turns: Assessing complete execution provides insights into the agent's overall behavior and final outputs.
4. Multiple Turns: Simulating real-world interactions necessitates a flexible evaluation approach to adapt to dynamic user requirements.
5. Environment Setup: A clean and reproducible environment is crucial for accurate evaluation, especially for stateful agents.





