Skip to content
masterclass Buddy

Deep Agents · Class

SubagentDelegateMiddleware

A LangChain agent uses a model and a harness. The harness provides the prompt, tools, and middleware needed for the model to complete a task.

Last updated

Syntax

createAgent({ model, tools })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createAgent
  • model
  • tools
  • harness
  • middleware

Source: Agents - Docs by LangChain. Checked 2026-11-03.