All videos
0:00 / 0:00
research

Harbor x LangChain: A Unified Stack for Evaluating Agents

LangChain1 July 2026Watch on YouTube

Part of series

Ep. 6 · Deep Agents met LangChain

LangChain legt uit hoe je met het Deep Agents framework complexe AI-agenten bouwt, beheert en naar productie deployt.

View the series

Description

As agents increase in capabilities, evaluations have gotten more difficult. Agent harnesses like Claude Code, Pi, and Deep Agents now give agents access to entire computers to read files, execute scripts, run code, and more. Every agent now needs to run in its own clean, reproducible environment for a given task. Evaluating long-running, stateful agents requires a new eval runner. Harbor has emerged as the industry leader in this space. In this blog, we first explain why everyone running agent evals should know what Harbor is and then show how to integrate Deep Agents, LangSmith Sandboxes, and LangSmith Experiments into Harbor. We ultimately need to run agents in a real, reproducible, isolated environment, many times in parallel, with a deterministic check at the end. Harbor solves this problem and is now wired directly into Deep Agents, LangSmith Sandboxes, and LangSmith Observability. Join LangChain software engineer Nick for a look at: - Why traditional output-based evals fall short for complex, long-running AI agents. - Harbor, an open source evaluation framework that runs agents in isolated, reproducible sandboxes - The full workflow: building a Deep Agent, structuring an eval dataset, and tracking results in LangSmith 0:00 Why agent evals needed to change 0:32 From output strings to real environments 1:07 What makes a Deep Agent different 1:40 Building a deep research agent 2:47 Running the agent: noise pollution demo 3:55 Introducing Harbor 4:33 Datasets and tasks in Harbor 6:15 Turning a demo into a verifiable eval 7:57 Integrating Deep Agent with Harbor 8:32 Running Harbor via CLI 9:21 Viewing results in LangSmith 10:05 Recap and getting started https://www.harborframework.com/docs https://docs.langchain.com/oss/python/deepagents/overview https://docs.langchain.com/langsmith/harbor-integrations

What you'll learn

  • Harbor is an open-source evaluation framework that runs AI agents in isolated, reproducible sandboxes for reliable testing.
  • Traditional output-based evaluations fall short for complex, long-running agents with access to real computer systems and files.
  • Deep Agents gain access to entire computers, enabling agents to read files, execute scripts, and run code.
  • The complete workflow includes building a Deep Agent, structuring an evaluation dataset, and tracking results in LangSmith.
  • Harbor integrates directly with LangChain's Deep Agents and LangSmith for parallel agent execution with deterministic verification.

Frequently asked questions

Why are traditional evaluation methods insufficient for modern AI agents?
Traditional output-based evaluations cannot test whether agents actually perform tasks in real environments where they can read files, execute scripts, and run code. They only measure final outputs, not actual agent behavior.
What is Harbor and how does it help evaluate agents?
Harbor is an open-source evaluation framework that runs agents in isolated, reproducible sandboxes. It enables parallel agent execution with deterministic verification at the end, creating reliable and reproducible tests.
How does Harbor integrate with LangChain and LangSmith?
Harbor is directly integrated with Deep Agents and LangSmith for structuring evaluation datasets, running agents in isolated environments, and tracking results through LangSmith Observability.
What makes Deep Agents different from regular agents?
Deep Agents have access to entire computer systems, enabling them to perform tasks such as reading files, executing scripts, and running code, allowing for much more complex and long-running operations.

Topics

Related reads