Skip to main content

Modules

LangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex:

Model I/O

Interface with language models

Data connection

Interface with application-specific data

Chains

Construct sequences of calls

Agents

Let chains choose which tools to use given high-level directives

Memory

Persist application state between runs of a chain

Callbacks

Log and stream intermediate steps of any chain

Experimental

Experimental modules whose abstractions have not fully settled