Tooluck logoTooluck
SKILL.md

deep-agents-core

Agent skill fromlangchain-ai/langchain-skills

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

How to install deep-agents-core

install deep-agents-core
# install the langchain-skills pack with the skills CLI
npx skills add langchain-ai/langchain-skills

# or add only this skill to Claude Code: copy the folder

config/skills/deep-agents-core/

# into

~/.claude/skills/deep-agents-core/ (all projects)

.claude/skills/deep-agents-core/ (one project)

config/skills/deep-agents-core/SKILL.md

MITFull file
1<overview>
2Deep Agents are an opinionated agent framework built on LangChain/LangGraph with built-in middleware:
3
4- **Task Planning**: TodoListMiddleware for breaking down complex tasks
5- **Context Management**: Filesystem tools with pluggable backends
6- **Task Delegation**: SubAgent middleware for spawning specialized agents
7- **Long-term Memory**: Persistent storage across threads via Store
8- **Human-in-the-loop**: Approval workflows for sensitive operations
9- **Skills**: On-demand loading of specialized capabilities
10
11The agent harness provides these capabilities automatically - you configure, not implement.
12</overview>
13
14<when-to-use>
15
16| Use Deep Agents When | Use LangChain's create_agent When |
17|---------------------|-----------------------------------|
18| Multi-step tasks requiring planning | Simple, single-purpose tasks |
19| Large context requiring file management | Context fits in a single prompt |
20| Need for specialized subagents | Single agent is sufficient |
21| Persistent memory across sessions | Ephemeral, single-session work |
22
23</when-to-use>
24
25<middleware-selection>
26
27| If you need to... | Middleware | Notes |
28|------------------|------------|-------|
29| Track complex tasks | TodoListMiddleware | Default enabled |
30| Manage file context | FilesystemMiddleware | Configure backend |
31| Delegate work | SubAgentMiddleware | Add custom subagents |
32| Add human approval | HumanInTheLoopMiddleware | Requires checkpointer |
33…

Excerpt shown under the repository's MIT license.

More skills in langchain-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates