LibreAI / Agentes de IA / langchainjs
// agents · langchain-ai/langchainjs

langchainjs

langchainjs es un proyecto de agentes de IA de código abierto de langchain-ai (langchain-ai/langchainjs en GitHub). Tiene 18.248 estrellas en GitHub y 3.422 bifurcaciones, se publica bajo la licencia MIT y se actualizó por última vez en GitHub el 8 de octubre de 2026.

The JavaScript/TypeScript version of LangChain - the agent engineering platform

★ 18,2k estrellas⑂ 3,4k bifurcacionesMITactualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
18.248
Bifurcaciones
3.422
Licencia
MIT
Última actualización en GitHub
8 de octubre de 2026
Categoría
Agentes de IA
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  1. Plan your JS/TS LLM app

    Decide the model, tools and data your agent or chain needs.

  2. Get the package

    Install langchain from npm with npm, pnpm or yarn - no clone needed for normal use.

  3. Add a provider package

    Install the integration package for your model provider and set its API key.

  4. Build your first chain or agent

    Compose a prompt, model and tool, run it, and iterate.

// características

Por qué gusta tanto

Standard model interface

Call different LLM providers through one consistent interface and swap models with minimal code changes.

Agent building blocks

Tools, prompts, memory and retrievers composed into chains and agents.

Ecosystem integrations

First-party packages connect LangChain.js to major model providers, vector stores and tools.

Runs anywhere JS runs

Supported environments include Node.js and other JavaScript runtimes per the README.

LangGraph and LangSmith path

Part of the LangChain ecosystem, so you can graduate to LangGraph agents and LangSmith observability.

TypeScript-first

Ships full TypeScript types for editor-friendly development.

Advertisement
// ejecútalo

Ejecútalo tú mismo

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/langchain-ai/langchainjs.git
    cd langchainjs
  2. Install LangChain.js

    Install the core package with your package manager of choice.

    npm install -S langchain
  3. Import and build

    Import from the package in your TypeScript app and follow the docs' first-agent examples.

    import { ChatOpenAI } from "@langchain/openai"; // example provider package - see README resources
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

Who maintains this project?

It is maintained by LangChain AI (langchain-ai) and contributors on GitHub.

Is it free to use?

Yes - LangChain.js is MIT licensed and free. Optional hosted services in the ecosystem (such as LangSmith) have their own pricing.

Does it need a paid API key?

The framework is free, but the models you call usually need your own provider API keys; local model integrations are also available.

How does it compare to alternatives?

Compared with the Python LangChain, this is the same platform philosophy for JavaScript/TypeScript stacks; compared with writing raw provider SDK calls, it adds portable abstractions at the cost of another layer to learn.

How do I get started?

Run npm install -S langchain, add your provider's integration package, and follow the documentation linked in the README.

// sigue explorando

Herramientas similares

Agentes de IA

voltagent

AI Agent Engineering Platform built on an Open Source TypeScript AI Agent Framework

★ 10,7k estrellasMIT
Ver la guía →
Agentes de IA

Langchain

The agent engineering platform

★ 147,4k estrellasMIT
Ver la guía →
Agentes de IA

deepagents

The batteries-included agent harness from the LangChain team.

★ 30,0k estrellasMIT
Ver la guía →
Agentes de IA

yao-meta-skill

YAO: rigorous engineering, evaluation, and governance for reusable agent skills.

★ 2,7k estrellasMIT
Ver la guía →
Agentes de IA

KaibanJS

JavaScript framework for multi-agent systems with a Kanban-inspired design.

★ 1,5k estrellasMIT
Ver la guía →
Agentes de IA

astron-agent

iFLYTEK's enterprise agentic workflow platform — SuperAgents with workflows, RPA and one-click deploy.

★ 8,9k estrellasApache-2.0
Ver la guía →
// alternativas

Alternativas en Agentes de IA

Los demás proyectos de Agentes de IA con más estrellas del catálogo de LibreAI: la lista realista de alternativas si langchainjs no es lo que buscas.

// más en agents

Más en Agentes de IA

Proyectos de Agentes de IA cercanos en el catálogo, los más próximos en estrellas a langchainjs: sigue explorando a ambos lados.

Consigue langchainjs

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.