Skip to content
masterclass Buddy

AI Agents · Concept

smolagents

A LangChain agent is a model that calls tools in a loop until a task is complete. create_agent builds the agent and its surrounding harness, including the prompt, tools, and middleware.

Last updated

Syntax

create_agent(model="<provider>:<model>", tools=<tools>)

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

Subscribe
  • LangChain
  • create_agent
  • tools
  • middleware
  • model
  • harness

Source: Agents. Checked 2026-11-03.