Home icon

Evaluating Deep Agents using LangSmith on AWS

Machine Learning Blog



This article explains how to evaluate AI agents using LangSmith on AWS, combining LangChain and Anthropic best practices into a practical guide for testing deep agents throughout their lifecycle.

  • Five evaluation patterns: custom test logic, single-step evals, full agent turns, multi-turn conversations, environment state checks
  • Three grader types: code-based (deterministic), LLM-as-judge (flexible), human graders (calibration)
  • Agent evaluations harder than LLM evals due to non-determinism, error propagation, and creative solutions
  • Offline evaluations use pytest with LangSmith for pre-deployment testing and regression detection
  • Online evaluations monitor production traces without reference outputs using code, LLM, and composite evaluators
  • Text-to-SQL deep agent example demonstrates full lifecycle from development to production monitoring
  • Amazon Nova 2 Lite provides fast, cost-effective reasoning for agentic workloads on Bedrock

The post provides practical patterns and code examples for building reliable AI agent evaluation systems that catch issues early and continuously improve agent performance in production.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 26
2026
Build highly scalable serverless LangGraph multi-agent systems in AWS with Amazon Bedrock AgentCore
May 6
2026
Announcing Agent Toolkit for AWS — help AI coding agents build effectively on AWS
May 26
2026
AgentWatch: Proactive AWS monitoring with ambient agents
May 27
2026
Building AI agents for business support using Amazon Bedrock AgentCore

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.