Tagged articles
LCEL
13 articles · Page 1 of 1
This tutorial maps hand-rolled AI agent components to LangChain and LangGraph abstractions, demonstrates rewriting ReAct agents with tool decorators and state graphs, compares framework trade-offs against custom code, and provides criteria for choosing between single-agent workflows, multi-agent patterns, and manual implementations.
AI agentsLCELLangChain
0 likes · 24 min read

This article provides a detailed, question‑and‑answer style walkthrough of LangChain and LangGraph, covering their core concepts, components, workflow patterns, memory mechanisms, LCEL syntax, graph construction, conditional edges, loops, multi‑agent collaboration, persistence, and a comparison with LlamaIndex, offering concrete code examples and practical insights for AI interview preparation.
AI frameworkAgentLCEL
0 likes · 32 min read

This article presents a complete LangChain architecture diagram, quick‑reference tables for core modules, a side‑by‑side comparison with LlamaIndex and Haystack, practical interview Q&A covering advantages, RAG optimization, Agent vs Chain differences, token‑cost reduction, and a seven‑day recap with advanced learning paths.
AgentChainInterviewPrep
0 likes · 13 min read

This article explains why LLMs need memory, compares BufferMemory and ConversationSummaryBufferMemory, demonstrates how to build memory‑aware chains with LangChain Expression Language (LCEL), and shows practical examples including translation, RAG, and callbacks for monitoring chain execution.
ChainLCELLLM
0 likes · 12 min read

This article introduces LangChain’s four core components—Model, Prompt, Chain, and Agent—explains their purposes, shows how to install and configure the library, demonstrates building pipelines with LCEL, and provides code examples for agents, parallel execution, and environment setup.
AgentChainLCEL
0 likes · 10 min read

This tutorial walks through LCEL’s pipe operator and its underlying RunnableSequence, then demonstrates sequential, parallel, and lambda‑based chains, shows how to preserve context with RunnablePassthrough/Assign, compares invoke/stream/batch execution modes, and provides a complete production‑grade RAG chain with common pitfalls and a self‑check checklist.
AILCELLangChain
0 likes · 12 min read

The article explains LCEL’s core design and the Runnable interface, showing how they unify prompts, models, and parsers into a single composable chain with built‑in streaming, batch, async support, parallel execution, type inference, and automatic tracing, illustrated with TypeScript examples.
AILCELLangChain
0 likes · 13 min read

This guide explains how LangChain’s Expression Language (LCEL) lets you declaratively connect prompts, models, and output parsers into chains, walks through environment setup, dependency installation, and detailed code examples ranging from a basic joke generator to retrieval‑augmented generation and memory‑enabled agents.
AgentLCELLangChain
0 likes · 5 min read

This article explains why prompt templates are essential for LLM interactions, compares LangChain's PromptTemplate and ChatPromptTemplate, and walks through a complete Python example that prepares the environment, builds reusable templates, formats messages, and integrates them into an LCEL chain for chat models.
ChatModelLCELLLM
0 likes · 9 min read

This tutorial walks through LangChain's core concept of Chains, demonstrating how to build simple, composite, and custom node chains, use prompt templates and structured output parsers, and leverage the LCEL syntax for clean, modular LLM applications.
ChainLCELLangChain
0 likes · 14 min read

This article introduces LangChain.js, explains its origins, core concepts such as chats, templates, tools, and chains, demonstrates practical JavaScript code examples, and explores the LangChain Execution Language (LCEL) for building flexible, conditional AI workflows.
AI workflowLCELLLM
0 likes · 17 min read

This article introduces LangChain.js, its core concepts such as chats, templates, tools, and chains, demonstrates how to use LCEL for flexible workflow composition, and shows practical JavaScript code examples for building AI-powered applications with large language models.
AI workflowLCELLLM
0 likes · 17 min read

LangGraph, introduced in LangChain 0.1, addresses the limitations of simple Chains by adding loop capabilities and detailed control over Agent execution, enabling complex multi‑Agent, RAG, and self‑repair scenarios through a state‑graph architecture.
LCELLangChainLangGraph
0 likes · 12 min read
