简介
LangGraph 是 LangChain 团队开发的状态化 AI Agent 图框架,GitHub 8,000+ stars。支持循环、条件分支、持久状态和人在环路工作流。适合构建非线性工作流的复杂 Agent 系统。
Framework for building stateful, multi-actor AI agent applications as directed graphs. Supports cycles, branching, persistence, and human-in-the-loop patterns. By LangChain. 8,000+ stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
pip install langgraphfrom langgraph.graph import StateGraph, END
graph = StateGraph(State)
graph.add_node("research", research_fn)
graph.add_node("write", write_fn)
graph.add_edge("research", "write")
graph.add_edge("write", END)
app = graph.compile()LangGraph 是 LangChain 团队开发的状态化 AI Agent 图框架,GitHub 8,000+ stars。支持循环、条件分支、持久状态和人在环路工作流。适合构建非线性工作流的复杂 Agent 系统。
Rust-powered Python package and project manager. 10-100x faster than pip. Replaces pip, pip-tools, virtualenv, pyenv, and pipx with a single tool. By the creators of Ruff. 45,000+ stars.
Official OpenAI terminal coding agent. Reads your codebase, writes code, runs commands, and manages files from the command line. Multi-model support with sandbox execution. 20,000+ stars.