AI Agent Hub
AI エージェント / プラグイン情報メディア
← 一覧へ
LangChain
OTHER

LangChain

LangChain

OpenAI・Anthropic・Gemini など複数のLLMプロバイダに対応したエージェント構築フレームワーク。相互運用可能なコンポーネントと豊富な統合により、LLMパワード・アプリケーション開発を効率化します。

原文: The agent engineering platform. Available in TypeScript!
#エージェント構築#LLMフレームワーク#Python#agents#ai#ai-agents#anthropic#chatgpt#deepagents#enterprise#framework#gemini
REPO STATS

リポジトリ統計

⭐ Stars
136.2k
🍴 Forks
22.5k
⚠️ Open Issues
601
🌿 Language
Python
📄 License
MIT
🕒 最終更新
2026.05.09 (今日)
📅 公開日
2022.10.17
🌿 Branch
master
README

ドキュメント

— AI による自動翻訳 (2026.05.09 更新)

エージェント エンジニアリング プラットフォーム。

PyPI - License PyPI - Downloads Version Twitter / X

LangChain はエージェントと LLM 駆動アプリケーションを構築するためのフレームワークです。相互運用可能なコンポーネントとサードパーティ統合を組み合わせることで、AI アプリケーション開発を簡素化し、基礎となるテクノロジーが進化する際の決定を将来対応可能にします。

ヒント

始めたばかりですか?Deep Agents をご確認ください — LangChain 上に構築された高レベル パッケージで、計画、サブエージェント、ファイル システム使用など、一般的な使用パターンの組み込み機能を備えたエージェント用です。

クイックスタート

pip install langchain
# or
uv add langchain
from langchain.chat_models import init_chat_model

model = init_chat_model("openai:gpt-5.4")
result = model.invoke("Hello, world!")

より高度なカスタマイズやエージェント オーケストレーションをお探しの場合は、LangGraph をご確認ください。これは、制御可能なエージェント ワークフローを構築するためのフレームワークです。

同等の JS/TS ライブラリについては、LangChain.js をご確認ください。

ヒント

AI エージェントと LLM アプリケーションの開発、デバッグ、デプロイについては、LangSmith をご参照ください。

LangChain エコシステム

LangChain フレームワークはスタンドアロンで使用できますが、任意の LangChain 製品とのシームレスな統合も可能で、LLM アプリケーション構築時に開発者に完全なツール スイートを提供します。

  • Deep Agents — 複雑なタスクに対して計画を立てたり、サブエージェントを使用したり、ファイル システムを活用したりできるエージェントを構築します
  • LangGraph — 当社の低レベル エージェント オーケストレーション フレームワークを使用して、複雑なタスクを確実に処理できるエージェントを構築します
  • 統合 — チャット & エンベディング モデル、ツール & ツールキット、その他
  • LangSmith — LLM アプリのエージェント評価、監視可能性、デバッグ
  • LangSmith Deployment — 長時間実行、ステートフル ワークフロー用に目的別に構築されたプラットフォームでエージェントをデプロイおよびスケーリングします

LangChain を使う理由

LangChain は、モデル、埋め込み、ベクターストアなどの標準インターフェースを通じて、LLM により駆動されるアプリケーションを構築するのに役立ちます。

  • リアルタイムデータ拡張 — LangChain の膨大な統合ライブラリ(モデルプロバイダー、ツール、ベクターストア、取得器など)を活用して、LLM を多様なデータソースおよび外部/内部システムに簡単に接続できます。
  • モデルの相互運用性 — エンジニアリングチームが実験を行い、アプリケーションのニーズに最適なモデルを見つけるために、モデルを入れ替えることができます。業界の最前線が進化するにつれて、素早く適応してください。LangChain の抽象化により、勢いを失うことなく前に進み続けることができます。
  • 迅速なプロトタイピング — LangChain のモジュラーでコンポーネントベースのアーキテクチャを使用して、LLM アプリケーションを迅速に構築して反復できます。一から再構築することなく、異なるアプローチとワークフローをテストして、開発サイクルを加速させます。
  • 本番環境対応の機能 — LangSmith などの統合を通じて、モニタリング、評価、デバッグの組み込みサポートで信頼性の高いアプリケーションをデプロイします。検証済みのパターンとベストプラクティスを使用して、自信を持ってスケールします。
  • 活発なコミュニティとエコシステム — 統合、テンプレート、コミュニティが寄稿したコンポーネントの豊かなエコシステムを活用します。継続的な改善の恩恵を受け、活発なオープンソースコミュニティを通じて最新の AI 開発に対応します。
  • 柔軟な抽象化レイヤー — ニーズに合わせた抽象化レベルで作業します。クイックスタート向けの高レベルチェーンから細粒度制御用の低レベルコンポーネントまで。LangChain はアプリケーションの複雑さに合わせて成長します。

ドキュメント

ディスカッション: LangChain フォーラムを訪れて、コミュニティと連絡を取り、技術的な質問、アイデア、フィードバックをすべて共有します。

その他のリソース

  • Contributing Guide – LangChain プロジェクトに貢献する方法を学び、適切な最初の課題を見つけます。
  • Code of Conduct – コミュニティのガイドラインと参加の標準です。
  • LangChain Academy – LangChain チームによって作成された、LangChain ライブラリと製品に関する包括的で無料のコースです。

— GitHub から取得した原文(一部省略の場合あり)

The agent engineering platform.

PyPI - License PyPI - Downloads Version Twitter / X

LangChain is a framework for building agents and LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the underlying technology evolves.

Tip

Just getting started? Check out Deep Agents — a higher-level package built on LangChain for agents that have built-in capabilites for common usage patterns such as planning, subagents, file system usage, and more.

Quickstart

pip install langchain
# or
uv add langchain
from langchain.chat_models import init_chat_model

model = init_chat_model("openai:gpt-5.4")
result = model.invoke("Hello, world!")

If you're looking for more advanced customization or agent orchestration, check out LangGraph, our framework for building controllable agent workflows.

For an equivalent JS/TS library, check out LangChain.js.

Tip

For developing, debugging, and deploying AI agents and LLM applications, see LangSmith.

LangChain ecosystem

While the LangChain framework can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools when building LLM applications.

  • Deep Agents — Build agents that can plan, use subagents, and leverage file systems for complex tasks
  • LangGraph — Build agents that can reliably handle complex tasks with our low-level agent orchestration framework
  • Integrations — Chat & embedding models, tools & toolkits, and more
  • LangSmith — Agent evals, observability, and debugging for LLM apps
  • LangSmith Deployment — Deploy and scale agents with a purpose-built platform for long-running, stateful workflows

Why use LangChain?

LangChain helps developers build applications powered by LLMs through a standard interface for models, embeddings, vector stores, and more.

  • Real-time data augmentation — Easily connect LLMs to diverse data sources and external/internal systems, drawing from LangChain's vast library of integrations with model providers, tools, vector stores, retrievers, and more
  • Model interoperability — Swap models in and out as your engineering team experiments to find the best choice for your application's needs. As the industry frontier evolves, adapt quickly — LangChain's abstractions keep you moving without losing momentum
  • Rapid prototyping — Quickly build and iterate on LLM applications with LangChain's modular, component-based architecture. Test different approaches and workflows without rebuilding from scratch, accelerating your development cycle
  • Production-ready features — Deploy reliable applications with built-in support for monitoring, evaluation, and debugging through integrations like LangSmith. Scale with confidence using battle-tested patterns and best practices
  • Vibrant community and ecosystem — Leverage a rich ecosystem of integrations, templates, and community-contributed components. Benefit from continuous improvements and stay up-to-date with the latest AI developments through an active open-source community
  • Flexible abstraction layers — Work at the level of abstraction that suits your needs — from high-level chains for quick starts to low-level components for fine-grained control. LangChain grows with your application's complexity

Documentation

Discussions: Visit the LangChain Forum to connect with the community and share all of your technical questions, ideas, and feedback.

Additional resources

  • Contributing Guide – Learn how to contribute to LangChain projects and find good first issues.
  • Code of Conduct – Our community guidelines and standards for participation.
  • LangChain Academy – Comprehensive, free courses on LangChain libraries and products, made by the LangChain team.
RELATED

同じカテゴリの他のツール