tools.subagent_tools module
Subagent tools – create, list, call, and delete LLM sub-agents.
Each sub-agent has a persistent definition (system prompt, description, allowed tools, model) and zero or more conversations. Definitions and conversation histories are stored in Redis so they survive restarts.
Sub-agents run on an OpenRouter model chosen at creation time and only see the subset of tools explicitly granted at creation time.