langgraph 基础 是做什么的?
在编写任何 LangGraph 代码时调用此技能。涵盖 StateGraph、状态模式、节点、边、Command、Send、invoke、流式处理和错误处理。
在编写任何 LangGraph 代码时调用此技能。涵盖 StateGraph、状态模式、节点、边、Command、Send、invoke、流式处理和错误处理。
此技能是针对 LangGraph 框架的核心基础知识文档,专门用于指导开发者高效编写 LangGraph 代码。它详细介绍了 StateGraph、状态模式(state schemas)、节点(nodes)、边(edges)、Command、Send、invoke、流式处理(streaming)以及错误处理等关键概念和用法。通过遵循此技能,开发者可以快速掌握 LangGraph 图结构构建、状态管理、节点连接、条件分支和并行执行等高级功能。该技能适用于所有使用 LangGraph 的 AI 代理开发平台,确保代码的一致性和最佳实践。无论您是构建简单的对话链还是复杂的多智能体系统,此技能都能提供必要的指导,帮助您避免常见陷阱并高效实现目标。
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/langgraph-fundamentalsInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
在编写任何 LangGraph 代码时调用此技能。涵盖 StateGraph、状态模式、节点、边、Command、Send、invoke、流式处理和错误处理。
This repo contains 11 individual skills — each has its own dedicated page.
INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.
INVOKE THIS SKILL at the START of any LangChain/LangGraph/Deep Agents project, before writing any agent code. Determines which framework layer is right for the task: LangChain, LangGraph, Deep Agents, or a combination. Must be consulted before other agent skills.
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph, LangSmith, or Deep Agents. Covers required packages, minimum versions, environment requirements, versioning best practices, and common community tool packages for both Python and TypeScript.
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output. Covers HumanInTheLoopMiddleware for human approval of dangerous tool calls, creating custom middleware with hooks, Command resume patterns, and structured output with Pydantic/Zod.
INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).
INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval/validation workflows, and the 4-tier error handling strategy.
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.
Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.