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.
SubscribeRelated
LangChaincreate_agenttoolsmiddlewaremodelharness