LibreAI / Agents IA / langchainjs
// agents · langchain-ai/langchainjs

langchainjs

langchainjs est un projet de agents IA open source, créé par langchain-ai (langchain-ai/langchainjs sur GitHub). Il compte 18 248 étoiles sur GitHub et 3 422 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 8 octobre 2026.

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

★ 18,2 k étoiles⑂ 3,4 k forksMITmis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
18 248
Forks
3 422
Licence
MIT
Dernière mise à jour sur GitHub
8 octobre 2026
Catégorie
Agents IA
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Agents IA

voltagent

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

★ 10,7 k étoilesMIT
Voir le guide →
Agents IA

Langchain

The agent engineering platform

★ 147,4 k étoilesMIT
Voir le guide →
Agents IA

deepagents

The batteries-included agent harness from the LangChain team.

★ 30,0 k étoilesMIT
Voir le guide →
Agents IA

yao-meta-skill

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

★ 2,7 k étoilesMIT
Voir le guide →
Agents IA

KaibanJS

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

★ 1,5 k étoilesMIT
Voir le guide →
Agents IA

astron-agent

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

★ 8,9 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si langchainjs ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de langchainjs — continuez à explorer de part et d'autre.

Obtenir langchainjs

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.