neversight/learn-skills.dev/deep-agents-core
Claude Code and agent skill by neversight/learn-skills.dev
- community
Checking that the SKILL.md file is still in the repository.
INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.
Install
npx vskill@latest install neversight/learn-skills.dev/deep-agents-coreSKILL.md
The same SKILL.md was published earlier as neversight/learn-skills.dev/deep-agents-core.
<overview> Deep Agents are an opinionated agent framework built on LangChain/LangGraph with built-in middleware:
- Task Planning: TodoListMiddleware for breaking down complex tasks
- Context Management: Filesystem tools with pluggable backends
- Task Delegation: SubAgent middleware for spawning specialized agents
- Long-term Memory: Persistent storage across threads via Store
- Human-in-the-loop: Approval workflows for sensitive operations
- Skills: On-demand loading of specialized capabilities
The agent harness provides these capabilities automatically - you configure, not implement. </overview>
<when-to-use>
| Use Deep Agents When | Use LangChain's create_agent When | |
|---|---|---|
| Multi-step tasks requiring planning | Simple, single-purpose tasks | |
| Large context requiring file management | Context fits in a single prompt | |
| Need for specialized subagents | Single agent is sufficient | |
| Persistent memory across sessions | Ephemeral, single-session work |
</when-to-use>
<middleware-selection>
| If you need to... | Middleware | Notes | |
|---|---|---|---|
| Track complex tasks | TodoListMiddleware | Default enabled | |
| Manage file context | FilesystemMiddleware | Configure backend | |
| Delegate work | SubAgentMiddleware | Add custom subagents | |
| Add human approval | HumanInTheLoopMiddleware | Requires checkpointer | |
| Load skills | SkillsMiddleware | Provide skill directories | |
| Access memory | MemoryMiddleware | Requires Store instance |
</middleware-selection>
<ex-basic-agent> <python> Create a basic deep agent with a custom tool and invoke it with a user message.
</python> <typescript> Create a basic deep agent with a custom tool and invoke it with a user message.
</typescript> </ex-basic-agent>
<ex-full-configuration> <python> Configure a deep agent with all available options including subagents, skills, and persistence.
</python> <typescript> Configure a deep agent with all available options including subagents, skills, and persistence.
</typescript> </ex-full-configuration>
<built-in-tools> Every deep agent has access to:
- Planning:
write_todos- Track multi-step tasks - Filesystem:
ls,read_file,write_file,edit_file,glob,grep - Delegation:
task- Spawn specialized subagents
</built-in-tools>
SKILL.md Format
<skill-md-format> Skills use progressive disclosure - agents only load content when relevant.
Directory Structure
SKILL.md Format
</skill-md-format>
<skills-vs-memory>
| Skills | Memory (AGENTS.md) | |
|---|---|---|
| On-demand loading | Always loaded at startup | |
| Task-specific instructions | General preferences | |
| Large documentation | Compact context | |
| SKILL.md in directories | Single AGENTS.md file |
</skills-vs-memory>
<ex-skills-with-filesystem-backend> <python> Set up an agent with skills directory and filesystem backend for on-demand skill loading.
</python> <typescript> Set up an agent with skills directory and filesystem backend for on-demand skill loading.
</typescript> </ex-skills-with-filesystem-backend>
<ex-skills-with-store-backend> <python> Load skill content into a Store backend for environments without filesystem access.
</python> </ex-skills-with-store-backend>
<boundaries>
What Agents CAN Configure
- Model selection and parameters
- Additional custom tools
- System prompt customization
- Backend storage strategy
- Which tools require approval
- Custom subagents with specialized tools
What Agents CANNOT Configure
- Core middleware removal (TodoList, Filesystem, SubAgent always present)
- The write_todos, task, or filesystem tool names
- The SKILL.md frontmatter format
</boundaries>
<fix-checkpointer-for-interrupts> <python> Interrupts require a checkpointer.
</python> <typescript> Interrupts require a checkpointer.
</typescript> </fix-checkpointer-for-interrupts>
<fix-store-for-memory> <python> StoreBackend requires a Store instance for persistent memory across threads.
</python> <typescript> StoreBackend requires a Store instance for persistent memory across threads.
</typescript> </fix-store-for-memory>
<fix-thread-id-for-conversations> <python> Use consistent thread_id to maintain conversation context across invocations.
</python> <typescript> Use consistent thread_id to maintain conversation context across invocations.
</typescript> </fix-thread-id-for-conversations>
<fix-frontmatter-required>
</fix-frontmatter-required>
<fix-backend-for-skills> <python> Skills require a proper backend to load from the filesystem.
</python> </fix-backend-for-skills>
<fix-specific-skill-descriptions> Use specific descriptions to help agents decide when to use a skill.
</fix-specific-skill-descriptions>
<fix-subagent-skills> <python> Skills are not inherited by subagents - provide them explicitly.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills-md/langchain-ai/langchain-skills/deep-agents-core/SKILL.md
Popularity
- Repository stars
- 218
- Repository forks
- 38
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neversight/learn-skills.dev/deep-agents-core)