Skip to content
masterclass Buddy

AI Agents · Concept

MetaGPT

LangChain's create_agent builds a configurable agent from a model and a harness. The harness can include prompts, tools, and middleware.

Last updated

Syntax

create_agent(model, tools, *, system_prompt=None, middleware=...)

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

Subscribe
  • LangGraph
  • Deep Agents
  • Managed Deep Agents
  • Deep Agents SDK
  • LangSmith Deployment

Source: LangChain overview. Checked 2026-11-03.