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

langgraph

langchain-ai/langgraph

A stateful orchestration framework for agents that need branching, persistence, and human review.

★ 41,3KSố sao
⑂ 7KFork
749Vấn đề đang mở
PythonNgôn ngữ
MITGiấy phép
Q90Điểm biên tập

Tổng quan

LangGraph makes agent execution explicit: model calls, tools, review steps, and recovery become parts of a stateful workflow. It is most useful when a task spans multiple operations or must survive an interruption. A simple single-pass question-answering endpoint may not need this orchestration overhead.

Tính năng chính

  • State graphs
  • Checkpoint recovery
  • Human interrupts
  • Memory integration

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

Install with pip install -U langgraph, follow the Python quickstart, then add the model adapter and checkpointer required by your application. JavaScript has a separate LangGraph.js package.

Cách sử dụng

Build a support-ticket flow with retrieval, a proposed action, and a review interrupt. Restart the process at the interrupt and check recovery. Measure completion, retries, latency, and model usage.

How it works
Nodes update shared state and edges select the next step. Checkpointers persist progress; interrupts let a workflow wait for user input. LangChain is optional.

Audience and requirements
Developers building controlled agent workflows. Python, a chosen model provider, and persistent storage when needed.

Practical use cases
Research workflows; approval-based assistants; multi-step tool execution.

Limitations and selection
External side effects still need idempotency. Add termination conditions and budgets for loops. Hosted LangSmith services are separate from the core library.

Related projects and selection
CopilotKit/CopilotKit:Complement: expose agent state and approval UI while LangGraph handles execution.

qdrant/qdrant:Complement: retrieval storage connected through a client or adapter.

Source review
Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

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

Model-agnostic orchestration; configure model and tool integrations for the selected language ecosystem.

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

The repository page identifies MIT. Read LICENSE; model weights and datasets may have separate terms.

Editorial source review 2026-09-09T05:00:00.950Z. README and live repository page verified; current stars/forks from GitHub HTML. Last-push metadata retained from 2026-09-05 discovery snapshot. No runtime benchmark. Integration proposals are editorial analysis.

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

Reviewed 2026-09-09. Counters come from repository pages; features are based on upstream documentation. See Releases in the source links. Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

Firecrawl

firecrawl/firecrawl

★ 161,1KTypeScript

LangChain

langchain-ai/langchain

★ 143,6KPython

RAGFlow

infiniflow/ragflow

★ 86,7KGo