Deep Agents Middleware¶
Reference docs
This page contains reference documentation for Middleware. See the docs for conceptual guides, tutorials, and examples.
Middleware components add capabilities to deep agents through a composable architecture. Each middleware can provide tools, modify state, and inject system prompts.
-
FilesystemMiddleware
File operation tools:
ls,read_file,write_file,edit_file,glob,grep. -
SubAgentMiddleware
Spawn specialized subagents via the
tasktool for context-isolated work. -
MemoryMiddleware
Load agent context from
AGENTS.mdfiles at startup. -
SkillsMiddleware
Discover and expose reusable skills from
SKILL.mdfiles. -
SummarizationMiddleware
Offload conversation history to backend storage to preserve context.