Community生產力與協作github.com

langchain-ai/langchain-dependencies

在建立新專案或處理 LangChain、LangGraph、LangSmith 或 Deep Agents 的套件版本、安裝與相依性管理時使用。涵蓋必要套件、最低版本、環境需求、版本控制最佳實務,以及 Python 和 TypeScript 的常見社群工具套件。

langchain-dependencies 是什麼?

此技能旨在協助開發者在設定新專案或管理 LangChain、LangGraph、LangSmith 及 Deep Agents 的相依性時,提供精確的套件版本、安裝指示與依賴管理資訊。無論是 Python 還是 TypeScript 生態系統,技能都能涵蓋必要套件清單、最低版本要求、執行環境規範(如 Python 3.11+ 或特定 Node.js 版本)、版本鎖定策略(如使用 `pip` 的 `requirements.txt` 或 `pdm`、`npm` 的 `package.json`),以及常見的社群工具整合(如 LangChain 的社群貢獻套件)。透過此技能,開發者可避免版本衝突、確保相容性,並遵循官方建議的最佳實務,從而加速專案搭建與維護。支援平台包含但不限於 LangChain、LangGraph、LangSmith 及 Deep Agents 的 CLI 與 SDK。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/langchain-dependencies

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

langchain-dependencies 是做什麼的?

當您建立新專案或處理 LangChain、LangGraph、LangSmith 或 Deep Agents 的套件版本、安裝與相依性管理時,請呼叫此技能。它涵蓋了必要套件、最低版本、環境需求、版本控制最佳實務,以及 Python 和 TypeScript 的常見社群工具套件。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

langchain-ai/deep-agents-core

INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.

langchain-ai/deep-agents-memory

INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.

langchain-ai/deep-agents-orchestration

INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.

langchain-ai/framework-selection

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.

langchain-ai/langchain-fundamentals

Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.

langchain-ai/langchain-middleware

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.

langchain-ai/langchain-rag

INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).

langchain-ai/langgraph-fundamentals

INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.

langchain-ai/langgraph-human-in-the-loop

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.

langchain-ai/langgraph-persistence

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.

langchain-ai/swarm

Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.

相關技能