SubAgentspecConfig
Agent Runtimes / types/agentspecs / SubAgentspecConfig
Interface: SubAgentspecConfig
Defined in: src/types/agentspecs.ts:126
Configuration for a subagent within an agent specification.
Properties
canAskQuestions?
optionalcanAskQuestions?:boolean
Defined in: src/types/agentspecs.ts:136
Whether the subagent can ask the parent for clarification
description
description:
string
Defined in: src/types/agentspecs.ts:130
Brief description shown to the parent agent
instructions
instructions:
string
Defined in: src/types/agentspecs.ts:132
System prompt for the subagent
maxQuestions?
optionalmaxQuestions?:number
Defined in: src/types/agentspecs.ts:138
Maximum questions the subagent may ask per task
model?
optionalmodel?:string
Defined in: src/types/agentspecs.ts:134
LLM model to use (defaults to parent agent's model)
name
name:
string
Defined in: src/types/agentspecs.ts:128
Unique identifier for the subagent
preferredMode?
optionalpreferredMode?:"auto"|"async"|"sync"
Defined in: src/types/agentspecs.ts:140
Default execution mode preference
typicalComplexity?
optionaltypicalComplexity?:"simple"|"moderate"|"complex"
Defined in: src/types/agentspecs.ts:142
Typical task complexity hint for auto-mode selection
typicallyNeedsContext?
optionaltypicallyNeedsContext?:boolean
Defined in: src/types/agentspecs.ts:144
Whether this subagent typically needs user context