Async subagents are not available in Deep Agents Code at this time.
AGENTS.md file:
name and description (same as the SubAgent dictionary spec). The markdown body becomes the subagent’s system_prompt. In addition to the base spec, AGENTS.md files support an optional model frontmatter field that overrides the main agent’s model for this subagent. Uses the provider:model-name format (e.g., anthropic:claude-opus-4-7, openai:gpt-5.5). Omit to inherit the main agent’s model.
Other
SubAgent fields (tools, middleware, interrupt_on, skills) are currently not configurable via AGENTS.md frontmatter—custom subagents defined this way inherit the main agent’s tools. Use the SDK directly for full control.File format
SubagentAGENTS.md files use YAML frontmatter followed by a markdown body:
Example: cost-efficient subagents
Use a cheaper, faster model for simple delegation tasks while keeping the main agent on a more capable model:Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

