All videos
0:00 / 0:00
ai

What is an Agent Harness?

LangChain13 October 2026Watch on YouTube

Part of series

Ep. 10 · Deep Agents: open source harness

Conceptuele uitleg over het open source Deep Agents-harnas van LangChain, inclusief contextbeheer en architectuur.

View the series

What you'll learn

  • A harness is every piece of code, configuration, and execution logic that isn't the model itself.
  • A raw model is not an agent, but becomes one when a harness gives it state, tool execution, feedback loops, and enforceable constraints.
  • A harness includes system prompts, tools, skills, MCPs and their descriptions.
  • A harness bundles infrastructure such as filesystem, sandbox, and browser.
  • Orchestration logic and hooks or middleware for deterministic execution, such as compaction, continuation, and lint checks, are part of the harness too.

Frequently asked questions

What is an agent harness according to the video?
A harness is every piece of code, configuration, and execution logic that isn't the model itself. These parts turn a raw model into an agent.
What does a harness add to a raw model?
The harness gives the model things like state, tool execution, feedback loops, and enforceable constraints.
Which components does the video list as part of a harness?
System prompts, tools, skills and MCPs with their descriptions, bundled infrastructure such as filesystem, sandbox, and browser, orchestration logic such as subagent spawning, handoffs, and model routing, and hooks or middleware for deterministic execution.
What does the channel point to as an example of an open-source harness?
The channel points to Deep Agents, LangChain's open-source harness, along with related courses and workshops.

Topics

In this video

Read next

Description from the channel

Harness engineering is how we build systems around models to turn them into work engines. A harness is every piece of code, configuration, and execution logic that isn't the model itself. A raw model is not an agent, but can become one when a harness gives it things like state, tool execution, feedback loops, and enforceable constraints. Concretely, a harness includes things like: • System Prompts • Tools, Skills, MCPs + and their descriptions • Bundled Infrastructure (filesystem, sandbox, browser) • Orchestration Logic (subagent spawning, handoffs, model routing) • Hooks/Middleware for deterministic execution (compaction, continuation, lint checks) Learn more about Deep Agents, LangChain's open-source harness: LangChain Academy → https://academy.langchain.com/courses/foundation-introduction-to-deepagents Docs → https://docs.langchain.com/oss/python/deepagents/overview Live Workshop: Agent Harnesses & Deep Agents 101 → https://events.langchain.com/register/apac-anz-agent-harnesses-and-deep-agents-workshop/