// agents · langchain-ai/langchainjs

langchainjs

langchainjsは、langchain-aiが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: langchain-ai/langchainjs)。GitHubスターは18,248、フォークは3,422で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年10月8日です。

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

★ 18.2k スター⑂ 3.4k フォークMIT更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

GitHubスター
18,248
フォーク
3,422
ライセンス
MIT
GitHubでの最終更新
2026年10月8日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

AIエージェント

voltagent

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

★ 10.7k スターMIT
ガイドを見る →
AIエージェント

Langchain

The agent engineering platform

★ 147.4k スターMIT
ガイドを見る →
AIエージェント

deepagents

The batteries-included agent harness from the LangChain team.

★ 30.0k スターMIT
ガイドを見る →
AIエージェント

yao-meta-skill

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

★ 2.7k スターMIT
ガイドを見る →
AIエージェント

KaibanJS

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

★ 1.5k スターMIT
ガイドを見る →
AIエージェント

astron-agent

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

★ 8.9k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — langchainjsが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でlangchainjsとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

langchainjsを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。