Skip to content
masterclass Buddy

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.

Subscribe
  • langchain.agents.AgentState
  • langchain.agents.middleware
  • langchain.agents.structured_output.ToolStrategy
  • langchain.agents.structured_output.ProviderStrategy
  • langchain-classic

Source: LangChain v1 migration guide - Docs by LangChain. Checked 2026-11-03.