Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

LangChain 7 min read Opinion easyNovice

Why human insight is a strategic advantage for building better agents

Human review of agent traces supplies the domain judgment that automated evals lack, and it works best when reviewers see the full multi-turn conversation rather than an isolated step. Reviewer scores and written reasoning, captured in annotation queues, can be reused to align LLM judges by comparing their scores against human labels, to fix online evaluators that keep missing the same failure, and to seed golden datasets for offline regression testing. LangSmith now supports whole threads as annotation-queue items, shown as a readable trajectory, and Fetch Rewards uses this to check tool grounding, product images and offer availability before tuning its automated judges.

Related posts

  • Aligning LLM-as-a-Judge with Human Preferences

    LangChain easyNovice

    LangSmith evaluators now store human corrections to LLM-as-a-Judge scores as few-shot examples, optionally with explanations, and inject them into the judge prompt on later runs so the evaluator aligns with team preferences without manual prompt engineering. LLM judges work because they can see information the generator lacked, such as reference answers, and because judging is easier than generating. Common uses are detecting RAG hallucinations, RAG correctness and toxic outputs, in both online and offline evaluation. The design draws on few-shot learning and Shreya Shankar's Berkeley paper "Who Validates the Validators?".

  • The Most Common Questions About Agent Evals, Answered

    LangChain mediumAdept

    Agent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.

  • Demystifying evals for AI agents

    Anthropic Engineering mediumAdept

    Agent evaluations should grade both the final environment outcome and the full transcript of tool calls, turns and reasoning, because multi-turn agents modify state and compound mistakes. The post lays out a practical structure—tasks, trials, graders, harnesses and suites—with code-based graders for deterministic checks, model-based graders for nuanced rubrics and human graders for calibration. It recommends capability evals that start at low pass rates and regression evals that stay near 100%, and shows coding and conversational agent examples that combine unit tests, state checks, LLM rubrics and tool-call assertions. The takeaway is to build an eval suite early: it clarifies success criteria, enables fast model upgrades and provides baselines for latency, token usage, cost and error rates.

  • How we used DSPy to turn AI evaluations into better responses in Dash chat

    Dropbox Tech mediumAdept

    Dropbox improved its Dash chat agent with a two-stage DSPy loop. First, LLM-as-judge evaluators were calibrated against a small set of human-labeled chat traces scored on five dimensions, with reasoning notes and failure codes. The calibrated judges then drove GEPA-based optimization of the agent's system prompt, using offline counterfactual replay of historical internal chats. Launch results included 26% fewer incomplete answers, 13% fewer missed key aspects, 5.4% lower token usage and 9.8% shorter completions. The team stresses guardrails: small targeted prompt edits plus automated checks on prompt structure, caching behavior and size.

  • Can Jev Be a Better Agent Evaluator?

    LangChain mediumAdept

    Jev, a "System One" model from TypeSafe AI that returns typed answers and probabilities instead of generating text, was tested as an agent evaluator against GPT-5.6 Luna, GPT-5.6 Terra and Claude Sonnet 4.6. The test set was five fixed weather-agent runs built with Deep Agents and stored in LangSmith, each judged 100 times. On binary pass/fail, Jev matched human labels on all 500 decisions, versus 99.8% (Terra), 96.4% (Luna) and 80% (Claude). Its quality-score variance was 92–913x lower than the LLM judges, and it averaged 0.44s and $0.00035 per call, which could make dense online evaluation of production traces affordable. The authors note the test is narrow, LLM judges ran at default sampling settings, and a cheap but consistently wrong judge can spread bad feedback at scale.

The quest for software engineering knowledge.

Look:
Layout: