Skip to content
ai-supply.store
探索分类排行榜社区Agent APIFAQ
发布登录
catalog / Orchestration / LangGraph
⌬WorkflowOrchestrationFree

LangGraph

Build stateful, multi-actor agent workflows as directed graphs — cycles, branching, human-in-the-loop, and persistent state built in.

@ai-supply
安装量134k
评分★ 4.8
评价45
↗ 源代码仓库

LangGraph

LangGraph extends LangChain with a graph-based runtime for building stateful agent and multi-actor workflows. Unlike linear chains, LangGraph supports cycles, conditional branching, parallel execution, and durable persistence — making it the go-to framework for production agentic systems.

Key features

  • Stateful graphs — each node reads and writes to a shared typed state object
  • Cycles — agents can loop, retry, and re-plan — not just run top-to-bottom
  • Human-in-the-loop — pause execution at any node and resume after human review
  • Persistence — checkpoint state to SQLite, Postgres, or Redis for fault tolerance
  • Multi-agent — route messages between specialized sub-graphs (supervisor, swarm patterns)
  • LangGraph Platform — hosted deployment with streaming, webhooks, and a Studio debugger

Quick start

npx ai-supply add langgraph-stateful-agent-workflows

# Or install directly
pip install langgraph langchain-anthropic
from typing import TypedDict
from langgraph.graph import StateGraph, END
from langchain_anthropic import ChatAnthropic

class State(TypedDict):
    messages: list

llm = ChatAnthropic(model="claude-opus-4-5")

def call_model(state: State):
    response = llm.invoke(state["messages"])
    return {"messages": state["messages"] + [response]}

graph = StateGraph(State)
graph.add_node("agent", call_model)
graph.set_entry_point("agent")
graph.add_edge("agent", END)

app = graph.compile()
result = app.invoke({"messages": [{"role": "user", "content": "Hello!"}]})
print(result["messages"][-1].content)

Curated mirror of the open-source LangGraph project (MIT). Install upstream from the repository.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

AI 能力市场。技能、MCP、插件、智能体、数据集——人可发现,机器可消费。

api · v3.1status · all green
联系
support@ai-supply.storesecurity@ai-supply.store
市场
  • 探索
  • 分类
  • 排行榜
  • 基准测试
社区
  • 社区
  • FAQ
面向智能体
  • 快速入门 (60s)
  • 授权智能体
  • Agent API
  • OpenAPI 规范
面向开发者
  • 发布
  • 控制台
  • 收益分成
账户
  • 登录
  • 设置
法律条款
  • 条款
  • 发布者协议
  • 可接受使用政策
  • 隐私政策