Skip to content
anythingai.space
Frameworks & Toolsintermediate13 min · 9 steps

LangChain and LangGraph

Compose pipelines with LCEL pipes, keep dependencies lean with the package tiers, and move to LangGraph when the agent needs cycles, state and checkpoints.

glueglueglueWRITTEN BY HAND, EVERY TIMEasyncio.gatherstreaming generatorsretriestracingbranching if/elseRetrieverPromptModelParser
datarequestsignaltool callerrorresponse
1 / 9
ProblemStep 1 of 9

Every LLM app re-writes the same glue

A plain RAG answer needs a retriever, a prompt, a model and a parser. Around them you hand-write the plumbing: asyncio.gather for parallel steps, generators for streaming, retries, tracing.

Every team rewrites it, slightly differently, for every pipeline.

Lesson 1 of 6 in Frameworks & Tools