MCPInstall

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.

Installs
837
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/ob-labs/agentseek --skill langchain-dev-guide
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads langchain-dev-guide automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

  1. First use the "Scenario Index" below to locate the category file your problem belongs to.
  2. When unsure which category applies, search keywords directly in the "Common Issues Quick Reference".
  3. For ContextSeek / semantic memory: start with contextseek-middleware.md to identify your scenario, then go to contextseek-params.md for specific parameter configuration issues.
  4. Once you find the relevant section, read it in depth — every entry follows the structure Symptom → Cause → Solution → Lessons learned.

Scenario Index

CategoryFileTrigger Scenarios
Deep Agentsreference/deepagents.mdModel 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 Outputreference/structured-output.mdModel-level method selection, create_agent strategies, missing fields, unsupported tool_choice, provider-side 400 errors on forced schema tool selection
OpenAI-compatible Model Integrationreference/model-integration.mdPitfalls when using ChatOpenAI against OpenAI-compatible providers, integrating Reasoning models (chain-of-thought / reasoning_content)
CN Model Integrationreference/cn-models/README.mdGenerating LangChain integration classes for Chinese providers (DeepSeek, Qwen, GLM, Moonshot)
Middlewarereference/middleware.mdMiddleware execution order, state_schema merging, HITL resume values, modifying state from wrap_model_call
Streaming Outputreference/streaming.mdChoosing between stream_events and stream, distinguishing tokens from multiple LLMs, disabling streaming, custom progress events
Multi-Agent Orchestrationreference/multi-agent.mdsubagents vs handoffs, tool-per-agent vs dispatch, retrieving subagent state, trimming subagent boilerplate, quickly building handoff setups
Other Common Issuesreference/common-issues.mdHigh-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 Scenariosreference/contextseek-middleware.mdAgent loses context across sessions, tool call auditing, cross-topic knowledge discovery (dream), SRE provenance / confidence tracing, enterprise knowledge cold-start (DataPlug)
ContextSeek — Parameter & Config Issuesreference/contextseek-params.mdscope 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 / ErrorWhere to Look
Which model to choose / Deep Agent performing poorlydeepagents issue 1
Filesystem backend / local files / file permissionsdeepagents issues 2 / 4
Disabling the default sub-agent / general-purposedeepagents issue 3
Long-term memory / storedeepagents issue 5
SKILL.md truncated / only first 100 lines read / read_file limit / progressive disclosuredeepagents issue 6
with_structured_output returning None / missing fieldsstructured-output issue 1
create_agent / response_format / ProviderStrategy / ToolStrategystructured-output issue 1
with_structured_output / function_calling / tool_choice unsupported / deepseek-reasoner does not support this tool_choicestructured-output issue 2
OpenAI-compatible model / ChatOpenAI not workingmodel-integration issue 1
Reasoning model / reasoning_content / chain-of-thought lostmodel-integration issue 2
Chinese model / CN provider / DeepSeek / Qwen / GLM / Moonshotcn-models README
langchain-cn-models (embedded) / generate integration classcn-models README
Middleware order messed up / before/after counterintuitivemiddleware issue 1
state_schema fields not merged / input/output controlmiddleware issue 2
interrupt resume value missing / HITLmiddleware issue 3
Modifying state inside wrap_model_call has no effectmiddleware issue 4
Choosing between astream_events and astream for streamingstreaming issue 1
Distinguishing token sources across multiple LLMsstreaming issue 2
Disabling streaming for a specific modelstreaming issue 3
Custom events from inside a tool not being emittedstreaming issue 4
Multi-agent: subagents vs handoffsmulti-agent issue 1
Single dispatch tool vs one tool per agentmulti-agent issue 2
interrupt can't see subagent statemulti-agent issue 3
Too much subagent wrapper boilerplatemulti-agent issue 4
Quickly building a handoff-based multi-agent setupmulti-agent issue 5
Tool returning data to both the model and the app layer / artifact / Command(update=...)common-issues issue 1
MCP tool can't access user_id / store / state / API keycommon-issues issue 2
invalid_tool_calls / tool never executes / malformed tool-call JSONcommon-issues issue 3
Dynamic system prompt placeholders / format_prompt / Jinja2 prompt variablescommon-issues issue 4
Agent loses context across sessions — personal assistant or support botcontextseek-middleware issue 1
Multi-tool data-pipeline agent — auditing tool call decisionscontextseek-middleware issue 2
Research agent accumulates raw notes — cross-topic pattern discoverycontextseek-middleware issue 3
SRE incident postmortem agent — tracing knowledge confidence and conflictscontextseek-middleware issue 4
Enterprise knowledge migration — agent is retrieval-ready on day onecontextseek-middleware issue 5

FAQ

What does the langchain-dev-guide skill do?

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.

How do I install langchain-dev-guide?

Run npx skills add https://github.com/ob-labs/agentseek --skill langchain-dev-guide in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/langchain-dev-guide/ (personal) or .claude/skills/langchain-dev-guide/ (project).

Which AI agents can use langchain-dev-guide?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is langchain-dev-guide safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains langchain-dev-guide?

It is published by ob-labs in ob-labs/agentseek. It has 837 recorded installs.

More from ob-labs/agentseek

View all →

langsmith-trace

ob-labs/agentseek

LangSmith tracing and trace debugging for AgentSeek templates. Covers CLI installation, adding tracing to LangGraph apps, querying traces, and inspecting run IO. Use when debugging agent backends, investigating slow traces, or adding observability to a template.

documentation-writer

ob-labs/agentseek

Open the skill to read its SKILL.md instructions.

Docs & Writing54 installs

github-repo-cards

ob-labs/agentseek

Open the skill to read its SKILL.md instructions.

49 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs