Tác nhân & Đa tác nhân

LangChain

langchain-ai/langchain

An open-source Python framework for building LLM-powered applications and agents through interoperable, chainable components and third-party integrations.

★ 143,6KSố sao
⑂ 23,9KFork
451Vấn đề đang mở
PythonNgôn ngữ
MITGiấy phép
Q@project.QualityScoreĐiểm biên tập

Ảnh chụp màn hình dự án

Ảnh chụp màn hình của LangChain Ảnh chụp màn hình của LangChain

Tổng quan

LangChain is a framework for building agents and LLM-powered applications. It helps developers chain together interoperable components and third-party integrations to simplify AI application development while aiming to future-proof decisions as the underlying technology evolves. The framework provides a standard interface for models, embeddings, vector stores, and more, allowing developers to work at different levels of abstraction. It is part of a broader ecosystem that includes Deep Agents, LangGraph, and LangSmith.

Tính năng chính

  • Real-time data augmentation via integrations with model providers, tools, vector stores, and retrievers
  • Model interoperability allowing models to be swapped during experimentation
  • Modular, component-based architecture for rapid prototyping
  • Production-ready features with support for monitoring, evaluation, and debugging
  • Flexible abstraction layers from high-level chains to low-level components
  • Seamless integration with the LangChain ecosystem including Deep Agents, LangGraph, and LangSmith

Yêu cầu, cài đặt và bắt đầu nhanh

The quickstart recommends using the `uv` package manager with the command: `uv add langchain`.

Cách sử dụng

A basic quickstart involves importing `init_chat_model` from `langchain.chat_models`, initializing a model (e.g., `init_chat_model("openai:gpt-5.5")`), and invoking it with a text prompt like `model.invoke("Hello, world!")`.

Khả năng tương thích của mô hình và trường hợp sử dụng

The framework supports model interoperability and integrates with various model providers. Repository topics indicate relevance to Anthropic, ChatGPT, Gemini, and OpenAI.

Ghi chú về giấy phép và rủi ro

The repository is licensed under the MIT license.

Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: MIT. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.

Phát hành và bảo trì

Not stated in the repository metadata.

Firecrawl

firecrawl/firecrawl

★ 161,1KTypeScript

RAGFlow

infiniflow/ragflow

★ 86,7KGo