deep-agents-core
Skill by langchain-ai
Teaches an AI assistant how to build Deep Agents applications with create_deep_agent(). Covers harness architecture, the SKILL.md format and configuration options.
Install deep-agents-core
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langchain-ai/langchain-skills /tmp/langchain-skills && mkdir -p ~/.claude/skills && cp -r /tmp/langchain-skills/config/skills/deep-agents-core ~/.claude/skills/deep-agents-coreRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langchain-ai/langchain-skills /tmp/langchain-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/langchain-skills/config/skills/deep-agents-core ~/.gemini/antigravity-cli/skills/deep-agents-coreAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
deep-agents-core is a skill for building applications with Deep Agents, an agent framework built on LangChain and LangGraph. It covers the create_deep_agent() function, the harness architecture, the SKILL.md file format, and configuration options. The framework includes built-in middleware for task planning, filesystem context management, delegating work to subagents, long-term memory through a Store, human approval workflows, and on-demand skills. The skill includes Python and TypeScript examples.
The agent harness provides these capabilities automatically, so developers configure the agent rather than implement them. The skill also lists what can and cannot be configured, and fixes for common mistakes such as missing checkpointers for interrupts, missing Store instances for StoreBackend, and missing YAML frontmatter in SKILL.md. It is aimed at developers who build Deep Agents applications for multi-step tasks, large context, or persistent memory.
Written from the project's SKILL.md and checked against it.
What it can do
- create_deep_agent()Creates a deep agent with options for tools, subagents, skills, backend, checkpointer and store.
- write_todosTracks multi-step tasks through the built-in planning tool.
- Filesystem toolsProvides ls, read_file, write_file, edit_file, glob and grep for managing context.
- taskSpawns specialized subagents to delegate work.
- SkillsLoads SKILL.md skill files on demand from skill directories.
- Human approvalUses interrupt_on to require approval for sensitive operations such as writing files.
What you need
- Python or TypeScript
- deepagents package
- LangChain and LangGraph
Try asking
- Build a deep agent in Python with a custom weather tool
- Set up a deep agent that loads skills from a local skills folder
- Add human approval before a deep agent writes files
Good to know
- Core middleware such as TodoList, Filesystem and SubAgent cannot be removed.
- Interrupts require a checkpointer.
- Skills are not inherited by subagents and must be passed to them explicitly.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: config/skills/deep-agents-core/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to deep-agents-core
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
deep-agents-core: common questions
When should I use Deep Agents instead of create_agent?
The source suggests Deep Agents for multi-step tasks that need planning, large context that requires file management, specialized subagents, or persistent memory. Simple single-purpose tasks fit create_agent.
What is the SKILL.md format?
A markdown file with YAML frontmatter that includes name and description, followed by sections such as Overview, When to Use and Instructions. It sits in a directory named after the skill.
Why do interrupts fail in a deep agent?
Interrupts such as interrupt_on require a checkpointer. The source shows passing a checkpointer like MemorySaver to create_deep_agent().
How do I install deep-agents-core?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deep-agents-core free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is deep-agents-core safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deep-agents-core?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
