Skip to main content

2 docs tagged with "example"

View all tags

React Agent

createagent builds a ReAct-style agent — reason, act, observe, repeat — from a model and a tool list. The constructor itself lives in LangGraph's prebuilt layer; langchain.agents.createagent is the stable entry point.

Your First Chain

A minimal chain: a prompt template feeds a chat model, whose output feeds a parser. The | operator wires them together.