Qué es
LangChain provides building blocks for LLM applications — model wrappers, prompts, retrievers, tools — while LangGraph adds durable, stateful agent orchestration with branching, human-in-the-loop and persistence. LangSmith offers tracing, evals and deployment.
- Developers building production agents
- RAG pipelines
- Observability with LangSmith
Cómo usar LangChain / LangGraph
- 01
pip install langchain langgraph and choose a model provider.
- 02
Define tools as functions; build a graph of nodes and edges.
- 03
Trace runs in LangSmith; add evals before shipping.
Para qué se usa
- Customer support agent with database lookups and escalation.
- Document QA over an internal knowledge base.
Consejos pro
- Start with LangGraph directly for agents; plain chains get messy fast.
Preguntas frecuentes
LangChain vs CrewAI?
LangGraph is lower-level and more controllable; CrewAI is higher-level with role-based multi-agent teams.



