Subagent loader for CLI.
Loads custom subagent definitions from the filesystem. Subagents are defined as markdown files with YAML frontmatter in the agents/ directory.
Directory structure:
.deepagents/agents/{agent_name}/AGENTS.md
You are a research assistant with access to web search.
List subagents from user and/or project directories.
Scans for subagent definitions in the provided directories. Project subagents override user subagents with the same name.
Metadata for a custom subagent loaded from filesystem.