Agent skill · Backend & API

deepagents-architecture

Guides architectural decisions for Deep Agents applications. Use when deciding between Deep Agents vs alternatives, choosing backend strategies, designing subagent systems, or selecting middleware approaches.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill deepagents-architecture --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/agent/deepagents-architecture/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Deep Agents Architecture Decisions ## When to Use Deep Agents ### Use Deep Agents When You Need: - **Long-horizon tasks** - Complex workflows spanning dozens of tool calls - **Planning capabilities** - Task decomposition before execution - **Filesystem operations** - Reading, writing, and editing files - **Subagent delegation** - Isolated task execution with separate context windows - **Persistent memory** - Long-term storage across conversations - **Human-in-the-loop** - Approval gates for sensitive operations - **Context management** - Auto-summarization for long conversations ### Consider Alternatives When: | Scenario | Alternative | Why | |----------|-------------|-----| | Single LLM call | Direct API call | Deep Agents overhead not justified | | Simple RAG pipeline | LangChain LCEL | Simpler abstraction | | Custom graph control flow | LangGraph directly | More flexibility | | No file operations needed | `create_react_agent` | Lighter weight | | Stateless tool use | Function calling | No middleware needed | ## Backend Selection ### Backend Comparison | Backend | Persistence | Use Case | Requires | |---------|-------------|----------|----------| | `StateBackend` | Ephemeral (p

What's inside
Steps it walks through
  1. When to Use Deep Agents
  2. Use Deep Agents When You Need:
  3. Consider Alternatives When:
  4. Backend Selection
  5. Backend Comparison
  6. Backend Decision Tree
  7. CompositeBackend Routing
  8. Subagent Architecture
  9. When to Use Subagents
  10. Subagent Patterns
  11. Middleware Architecture
  12. Built-in Middleware Stack
  13. Custom Middleware Placement
  14. Middleware vs Tools Decision
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the deepagents-architecture skill do?

Guides architectural decisions for Deep Agents applications. Use when deciding between Deep Agents vs alternatives, choosing backend strategies, designing subagent systems, or selecting middleware approaches.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill deepagents-architecture --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.

Keep going