Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsMar 29, 2026·1 min de lectura

LangChain — Build LLM-Powered Applications

The most popular framework for building applications with large language models. Chains, agents, RAG, memory, tool use, and integrations with 700+ providers.

Introducción

LangChain is the standard framework for building LLM-powered applications. Compose chains of prompts, connect to vector stores for RAG, build autonomous agents, and integrate with hundreds of tools and providers.

Best for: Chatbots, RAG pipelines, autonomous agents, document Q&A, data extraction Works with: OpenAI, Anthropic, Google, Ollama, HuggingFace, and 700+ integrations


Core Concepts

Chains

Compose multiple LLM calls and transformations into a pipeline:

from langchain_openai import ChatOpenAI
from langchain_core.prompts import ChatPromptTemplate

chain = ChatPromptTemplate.from_template("Summarize: {text}") | ChatOpenAI()
result = chain.invoke({"text": "..."})

RAG (Retrieval-Augmented Generation)

from langchain_community.vectorstores import FAISS
from langchain_openai import OpenAIEmbeddings

vectorstore = FAISS.from_documents(docs, OpenAIEmbeddings())
retriever = vectorstore.as_retriever()

Agents

from langchain.agents import create_tool_calling_agent
agent = create_tool_calling_agent(llm, tools, prompt)

Ecosystem

  • LangSmith — Observability and testing platform
  • LangGraph — Stateful multi-actor agent framework
  • LangServe — Deploy chains as REST APIs

FAQ

Q: What is LangChain? A: The most popular framework for building applications with large language models. Chains, agents, RAG, memory, tool use, and integrations with 700+ providers.

Q: How do I install LangChain? A: Check the Quick Use section above for step-by-step installation instructions. Most assets can be set up in under 2 minutes.

🙏

Fuente y agradecimientos

Created by LangChain. Licensed under MIT. langchain-ai/langchain — 100K+ GitHub stars

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados