Deep Agents Architecture

Use when an agent must run long-horizon, open-ended, parallelizable tasks (deep research, large multi-file code changes, hundreds of record lookups) and a single-loop agent drifts after 5-20 steps. Encodes the four-pillar deep-agents pattern — planning tool (write_todos), virtual filesystem for context offload, isolated subagents, long-term memory — plus the token/KV-cache economics that decide whether it's viable and a step-count rule for when NOT to use it. Reach for it past ~15-20 steps with separable sub-tasks; stay single-loop below that.

nsharandroidnstudio Updated

File contents

nsharandroidnstudio/awesome-skills/tree/main/agent-development/deep-agents-architecture commit c762645848

Frequently asked questions

npx skillmds@latest add nsharandroidnstudio/deep-agents-architecture