liveBook · Manning

LCEL

Also called LangChain Expression Language

LangChain Expression Language (LCEL) is a declarative composition language for connecting LangChain components into executable chains and workflows.

How 2 Manning books explain it

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.

Read how AI Agents and Applications explains LCEL →

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.

Read how Build AI-Enhanced Web Apps explains LCEL →

Also covered in

What to know first

Related concepts

Questions about LCEL

What is LCEL?

LangChain Expression Language (LCEL) is a declarative composition language for connecting LangChain components into executable chains and workflows.

Which Manning books explain LCEL?

AI Agents and Applications and Build AI-Enhanced Web Apps.

What should I know before learning LCEL?

Manning books that teach LCEL usually introduce language model, directed acyclic graph, function and pipeline first.

What is the difference between LCEL and LangGraph?

LangChain Expression Language (LCEL) is a declarative composition language for connecting LangChain components into executable chains and workflows. LangGraph is a framework for building stateful, graph-structured workflows and applications, including those involving language models and agents.

What is LCEL also called?

LCEL is also called LangChain Expression Language.

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.