Skip to main content

Modules

LangChain provides standard, extendable interfaces and external integrations for the following main modules:

Model I/O

Interface with language models

Retrieval

Interface with application-specific data

Agents

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

Additional

Chains

Common, building block compositions

Memory

Persist application state between runs of a chain

Callbacks

Log and stream intermediate steps of any chain