LangChain · Module
langchain-classic
LangChain v1 simplifies the main package and moves older features to langchain-classic. Build agents with langchain.agents.create_agent instead of langgraph.prebuilt.create_react_agent.
Last updated
Syntax
create_agent(model, tools, *, system_prompt=None, middleware=(), response_format=None, state_schema=None, context_schema=None, checkpointer=None, store=None, interrupt_before=None, interrupt_after=None, debug=False, name=None, cache=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
langchain.agents.AgentStatelangchain.agents.middlewarelangchain.agents.structured_output.ToolStrategylangchain.agents.structured_output.ProviderStrategylangchain-classic