// agents · langchain-ai/langchain

Langchain

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

The agent engineering platform

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

プロジェクト基本情報

リポジトリ
langchain-ai/langchain
GitHubスター
147,409
フォーク
24,692
ライセンス
MIT
GitHubでの最終更新
2026年10月3日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  1. Pick a framework

    Application frameworks, agent runtimes, or voice stacks — choose by whether you are building apps, automations, or realtime voice.

  2. Install the SDK

    Python or TypeScript packages install with one command; most include quickstart templates.

  3. Define tools and memory

    Give the agent functions it can call and a memory layer so it stays coherent across sessions.

  4. Run and observe

    Launch the agent, watch its tool calls and reasoning traces, and iterate on prompts and tools.

// 機能

選ばれる理由

Tool use & function calling

Agents act on the world: APIs, databases, browsers, and shell commands.

Multi-agent orchestration

Crews and graphs of specialized agents collaborating on complex tasks.

Memory systems

Short and long-term memory so agents improve across sessions.

Observability

Traces of every decision and tool call — essential for debugging.

Voice & realtime

Low-latency stacks for conversational voice agents.

Model agnostic

Swap underlying LLMs without rewriting your agent logic.

Advertisement
// 自分で実行

自分で実行してみる

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/langchain-ai/langchain.git
    cd langchain
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// 活用例

作れるもの

The AI Agents shelf also holds OpenScience — the open-source AI workbench for scientific research: give it a goal, it reads the literature, runs the experiments and writes up the findings. Readers working through the AI Agents shelf also stop at forkd, Fork() for AI agent microVMs — spawn 100 KVM-isolated children in ~100ms from a warm parent. Also on this shelf: xerj — AI-native search that indexes code, docs, and PDFs with 40x fewer tokens than grep.

Advertisement
// よくある質問

よくある質問

Framework or finished agent?

Frameworks build your own; some repos here ship ready-made agents you can run directly.

Do agents need big models?

Tool-calling quality matters more than raw size — strong mid-size models work well.

Who maintains Langchain?

It is an open-source project at langchain-ai/langchain with 24,692 forks. Check the repo's contributors and recent commits to see how active maintenance is.

How do I keep agents safe?

Sandbox tool access, confirm destructive actions, and review traces — treat agents like junior employees with supervision.

What does it cost to run?

Self-hosted frameworks are free; you pay only for model inference (local or API).

Where do I start?

A quickstart template in the framework's docs — most get a first agent running in minutes.

// さらに探索

似ているツール

AIエージェント

CrewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work…

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

Autogen

A programming framework for agentic AI

★ 61.3k スターCC-BY-4.0
ガイドを見る →
AIエージェント

Llama Index

LlamaIndex is the document processing platform for AI

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

langchainjs

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

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

voltagent

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

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

deepagents

The batteries-included agent harness from the LangChain team.

★ 30.0k スターMIT
ガイドを見る →
// 代替候補

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

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

// さらに見る agents

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

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

Langchainを入手する

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