LCEL
LangChain Expression Language (LCEL) is a declarative composition language for connecting LangChain components into executable chains and workflows.
AI Agents and Applications
LCEL is LangChain's composition language for building modular and expressive large-language-model pipelines.
- How it is used
- Organizes multi-step LLM workflows into reusable chains with less glue code.
- How deep it goes
- Develops chains incrementally from pipe syntax and input mapping through execution modes, parallel processing, and integration into a larger workflow.
- Examples
- Builds document-splitting and web-research summarization chains, then connects retrieval and memory in a conversational chatbot.
- What you can do after
- Apply it via LangChain to compose, invoke, and parallelize modular LLM pipelines.
Build AI-Enhanced Web Apps
LangChain Expression Language (LCEL) is a declarative syntax for composing LangChain functions into executable chains and workflows.
- How it is used
- Orchestrates readable, reusable linear AI workflows from existing LangChain Runnables.
- How deep it goes
- Defines core primitives and execution behavior, then stops short of loops, conditional logic, and stateful agent architecture.
- Examples
- Demonstrates uppercase transformation, vowel counting, prompt formatting, ChatOpenAI invocation, and string output parsing.
- What you can do after
- Build linear chains with JavaScript functions, prompts, language models, parsers, batching, streaming, and Runnable composition.
Related concepts
- LangGraphalternative to · LangGraph is a framework for building stateful, graph-structured workflows and applications, including those involving language models and agents.
- pipe operatoruses · A pipe operator is language-specific syntax that forwards a value or command output to another operation as input, often enabling left-to-right composition.
- Runnable interfaceuses · The Runnable interface is a LangChain programming abstraction for components that accept input, perform processing, produce output, and support composition in workflows.
- pipelineconfigures · A pipeline is an ordered sequence of connected processing stages or operations in which results from one stage can flow to subsequent stages.
- LangChainused by · LangChain is an open-source software framework for building applications that compose language models with prompts, data sources, tools, and other components.
- directed acyclic graphuses · A directed acyclic graph is a graph whose edges have directions and contain no directed cycles.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

