语言栈
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
第一步:选择框架
如果不确定使用哪个框架,请先阅读框架选择:→ `~/.skills-library/langchain/framework-selection/SKILL.md`(163 行)
# LangChain / LangGraph / Deep Agents — Skill Router
Do NOT load all sub-skills. Read ONLY the file(s) relevant to the current task.
## Step 1: Pick framework
If unsure which framework to use, read **framework-selection** first:
→ `~/.skills-library/langchain/framework-selection/SKILL.md` (163 lines)
## Step 2: Load the relevant sub-skill(s)
### LangChain (simple agents, tool calling)
| When | Read |
|---|---|
| Creating agents, defining tools, basic agent loop | `~/.skills-library/langchain/langchain-fundamentals/SKILL.md` (394 lines) |
| Human-in-the-loop approval, custom middleware, structured output | `~/.skills-library/langchain/langchain-middleware/SKILL.md` (388 lines) |
| RAG: document loaders, splitters, embeddings, vector stores | `~/.skills-library/langchain/langchain-rag/SKILL.md` (517 lines) |
| Package versions, installation, dependency management | `~/.skills-library/langchain/langchain-dependencies/SKILL.md` (419 lines) |
### LangGraph (stateful graphs, complex workflows)
| When | Read |
|---|---|
| StateGraph, nodes, edges, Command, Send, streaming | `~/.skills-library/langchain/langgraph-fundamentals/SKILL.md` (811 lines) |
| interrupt(), approval workflows, error handling tiers | `~/.skills-library/langchain/langgraph-human-in-the-loop/SKILL.md` (532 lines) |
| Checkpointers, thread_id, time travel, Store, subgraph persistence | `~/.skills-library/langchain/langgraph-persistence/SKILL.md` (560 lines) |
### Deep Agents (hierarchical agent systems)
| When | Read |
|---|---|
| create_deep_agent(), harness architecture, SKILL.md format | `~/.skills-library/langchain/deep-agents-core/SKILL.md` (423 lines) |
| SubAgentMiddleware, TodoList planning, HITL interrupts | `~/.skills-library/langchain/deep-agents-orchestration/SKILL.md` (471 lines) |
| StateBackend, StoreBackend, FilesystemMiddleware, CompositeBackend | `~/.skills-library/langchain/deep-agents-memory/SKILL.md` (301 lines) |
`~/.skills-library/langchain` is a symlink to the `langchain-skills` submodule — don't hardcode the submodule path, use this alias so the skill stays portable if the submodule moves.
## Rules
- Read the sub-skill file with the Read tool — it contains full API reference and examples
- For multi-concern tasks, read multiple files (e.g. langgraph-fundamentals + langgraph-persistence)
- Never guess APIs from memory — always read the file first
---
> Source: [andres-ortizl/dotfiles](https://github.com/andres-ortizl/dotfiles) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->
章节与文件索引
按说明文件中的顺序排列。
第一步:选择框架
LangChain(简单代理、工具调用)
LangGraph(状态图,复杂的工作流程)
深度代理(分层代理系统)
规则
文件/命令 -> ~/.skills-library/langchain/framework-selection/SKILL.md · ~/.skills-library/langchain/langchain-fundamentals/SKILL.md · ~/.skills-library/langchain/langchain-middleware/SKILL.md · ~/.skills-library/langchain/langchain-rag/SKILL.md · ~/.skills-library/langchain/langchain-dependencies/SKILL.md · ~/.skills-library/langchain/langgraph-fundamentals/SKILL.md · ~/.skills-library/langchain/langgraph-human-in-the-loop/SKILL.md · ~/.skills-library/langchain/langgraph-persistence/SKILL.md
内容校验值 -> 04e6f1a1169c
当前原文的自动摘译,尚未人工审校。
LangChain(简单代理、工具调用)
何时 · 阅读 创建代理、定义工具、基本代理循环 ·
~/.skills-library/langchain/langchain-fundamentals/SKILL.md(394 行) 人机交互批准、自定义中间件、结构化输出 ·~/.skills-library/langchain/langchain-middleware/SKILL.md(388 行) RAG:文档加载器、拆分器、嵌入、向量存储 ·~/.skills-library/langchain/langchain-rag/SKILL.md(517 行)LangGraph(状态图,复杂的工作流程)
何时 · 读取 StateGraph、节点、边、命令、发送、流 ·
~/.skills-library/langchain/langgraph-fundamentals/SKILL.md(811 行)中断()、审批工作流、错误处理层 ·~/.skills-library/langchain/langgraph-human-in-the-loop/SKILL.md(532 行) 检查点、thread_id、时间旅行、存储、子图持久化 ·~/.skills-library/langchain/langgraph-persistence/SKILL.md(560 行)深度代理(分层代理系统)
何时 · 读取 create_deep_agent()、harness 架构、SKILL.md 格式 ·
~/.skills-library/langchain/deep-agents-core/SKILL.md(423 行)SubAgentMiddleware、TodoList 规划、HITL 中断 ·~/.skills-library/langchain/deep-agents-orchestration/SKILL.md(471 行)StateBackend、StoreBackend、FilesystemMiddleware、CompositeBackend ·~/.skills-library/langchain/deep-agents-memory/SKILL.md(301 行)规则
使用读取工具读取子技能文件 - 它包含完整的 API 参考和示例 对于多关注任务,读取多个文件(例如 langgraph-fundamentals + langgraph-persistence) 切勿凭记忆猜测 API - 始终先读取文件 来源:andres-ortizl/dotfiles - 由 TomeVault 分发。