Skip to content
masterclass Buddy

AI Agents · Concept

Action

An agent is a model that calls tools in a loop until a task is complete. A harness supplies the prompt, tools, and middleware around that loop.

Last updated

Syntax

createAgent({ model, tools, middleware })

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

Subscribe
  • createAgent
  • create_deep_agent
  • middleware
  • tools
  • subagents
  • LangGraph
  • Deep Agents

Source: Agents. Checked 2026-11-03.