langchain-dev-guide
БесплатноЗапускает вложенные скриптыНе проверенLangChain / LangGraph engineering pitfalls and verified fixes. Covers DeepAgents, structured output, OpenAI-compatible model integration (including Chinese…
от ob-labs★ 210 звёзд на GitHubОб этом скилле
LangChain Dev Guide
A systematic summary of typical issues, non-obvious behaviors, and verified solutions encountered in real engineering with the LangChain / LangGraph ecosystem. Every entry comes from a real development scenario and is organized by category.
[!IMPORTANT] This skill is an engineering practice reference, not an introductory tutorial. Each entry assumes the developer is already familiar with basic LangChain concepts (agent, tool, message, graph).
How to Use
- First use the "Scenario Index" below to locate the category file your problem belongs to.
- When unsure which category applies, search keywords directly in the "Common Issues Quick Reference".
- For ContextSeek / semantic memory: start with contextseek-middleware.md to identify your scenario, then go to contextseek-params.md for specific parameter configuration issues.
- Once you find the relevant section, read it in depth — every entry follows the structure Symptom → Cause → Solution → Lessons learned.
Scenario Index
| Category | File | Trigger Scenarios |
|---|---|---|
| Deep Agents | reference/deepagents.md | Model selection, filesystem backend, disabling the general-purpose sub-agent, file permissions, long-term memory, long SKILL.md truncated by read_file 100-line default |
| Structured Output | reference/structured-output.md | Model-level method selection, create_agent strategies, missing fields, unsupported tool_choice, provider-side 400 errors on forced schema tool selection |
| OpenAI-compatible Model Integration | reference/model-integration.md | Pitfalls when using ChatOpenAI against OpenAI-compatible providers, integrating Reasoning models (chain-of-thought / reasoning_content) |
| CN Model Integration | reference/cn-models/README.md | Generating LangChain integration classes for Chinese providers (DeepSeek, Qwen, GLM, Moonshot) |
| Middleware | reference/middleware.md | Middleware execution order, state_schema merging, HITL resume values, modifying state from wrap_model_call |
| Streaming Output | reference/streaming.md | Choosing between stream_events and stream, distinguishing tokens from multiple LLMs, disabling streaming, custom progress events |
| Multi-Agent Orchestration | reference/multi-agent.md | subagents vs handoffs, tool-per-agent vs dispatch, retrieving subagent state, trimming subagent boilerplate, quickly building handoff setups |
| Other Common Issues | reference/common-issues.md | High-frequency standalone issues that don't fit the categories above. Currently includes: tools returning data to both the model and the application layer, MCP tools unable to access runtime context, invalid_tool_calls, and dynamic system prompt placeholders |
| ContextSeek — Use Case Scenarios | reference/contextseek-middleware.md | Agent loses context across sessions, tool call auditing, cross-topic knowledge discovery (dream), SRE provenance / confidence tracing, enterprise knowledge cold-start (DataPlug) |
| ContextSeek — Parameter & Config Issues | reference/contextseek-params.md | scope isolation, auto_store / record_tool_calls write volume, auto_compact throttling and shutdown, retrieval_tags / min_score filtering, tool_arg_overrides, dream trigger conditions, dream item decay, evidence_chain vs chain_confidence, DataPlug vs ctx.add(), plug() scope priority, auto_dream dual-gate triggering |
Common Issues Quick Reference
| Keyword / Error | Where to Look |
|---|---|
| Which model to choose / Deep Agent performing poorly | deepagents issue 1 |
| Filesystem backend / local files / file permissions | deepagents issues 2 / 4 |
| Disabling the default sub-agent / general-purpose | deepagents issue 3 |
| Long-term memory / store | deepagents issue 5 |
SKILL.md truncated / only first 100 lines read / read_file limit / progressive disclosure |
deepagents issue 6 |
with_structured_output returning None / missing fields |
structured-output issue 1 |
create_agent / response_format / ProviderStrategy / ToolStrategy |
structured-output issue 1 |
with_structured_output / function_calling / tool_choice unsupported / deepseek-reasoner does not support this tool_choice |
structured-output issue 2 |
OpenAI-compatible model / ChatOpenAI not working |
model-integration issue 1 |
Reasoning model / reasoning_content / chain-of-thought lost |
model-integration issue 2 |
| Chinese model / CN provider / DeepSeek / Qwen / GLM / Moonshot | cn-models README |
langchain-cn-models (embedded) / generate integration class |
Установить langchain-dev-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл langchain-dev-guide?
LangChain / LangGraph engineering pitfalls and verified fixes. Covers DeepAgents, structured output, OpenAI-compatible model integration (including Chinese provider adapters: DeepSeek, Qwen, GLM, etc.), middleware, streaming, multi-agent orchestration, and other common development issues. Use when hitting unexpected behavior, making architecture decisions, or integrating Chinese LLM providers during LangChain development.
Как установить скилл langchain-dev-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл langchain-dev-guide запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic