deepagents-implementation
Implements agents using Deep Agents. Use when building agents with create_deep_agent, configuring backends, defining subagents, adding middleware, or setting up human-in-the-loop workflows.
npx skills add majiayu000/claude-skill-registry --skill deepagents-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Deep Agents Implementation ## Core Concepts Deep Agents provides a batteries-included agent harness built on LangGraph: - **`create_deep_agent`**: Factory function that creates a configured agent - **Middleware**: Injected capabilities (filesystem, todos, subagents, summarization) - **Backends**: Pluggable file storage (state, filesystem, store, composite) - **Subagents**: Isolated task execution via the `task` tool The agent returned is a compiled LangGraph `StateGraph`, compatible with streaming, checkpointing, and LangGraph Studio. ## Essential Imports ```python # Core from deepagents import create_deep_agent # Subagents from deepagents import CompiledSubAgent # Backends from deepagents.backends import ( StateBackend, # Ephemeral (default) FilesystemBackend, # Real disk StoreBackend, # Persistent cross-thread CompositeBackend, # Route paths to backends ) # LangGraph (for checkpointing, store, streaming) from langgraph.checkpoint.memory import InMemorySaver from langgraph.checkpoint.postgres import PostgresSaver from langgraph.store.memory import InMemoryStore # LangChain (for custom models, tools) from langchain.chat_models import init_chat_model from langchain_core.tools impo
- Core Concepts
- Essential Imports
- Basic Usage
- Minimal Agent
- With Custom Tools
- With Custom Model
- With Checkpointing (Persistence)
- Streaming
- Stream Updates
- Stream Messages (Token-by-Token)
- Async Streaming
- Multiple Stream Modes
- Backend Configuration
- StateBackend (Default - Ephemeral)
What does the deepagents-implementation skill do?
Implements agents using Deep Agents. Use when building agents with create_deep_agent, configuring backends, defining subagents, adding middleware, or setting up human-in-the-loop workflows.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill deepagents-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
