Skip to content

SubagentProfileSpec

Defined in: core/dist/config/types.d.ts:83

GS2-33 — one profile-backed subagent declaration. When the parent agent spawns this subagent (the deepagents task tool), the CHILD resolves the named config profile through the GS2-1 cascade, so it runs under THAT profile’s model + tools + prompt (e.g. a cheap flash-lite profile for recall/search subagents while the parent runs on a strong model).

The profile is a named profile block created by gth config profile create <name> — a .gsloth/.gsloth-settings/<name>/ config dir, the same discovery convention --profile / --identity-profile resolve.

optional description?: string

Defined in: core/dist/config/types.d.ts:87

Description shown to the model when it chooses a subagent. Defaults to a profile note.


name: string

Defined in: core/dist/config/types.d.ts:85

Identifier the model selects this subagent by (the task-tool subagent name).


profile: string

Defined in: core/dist/config/types.d.ts:92

Named config profile whose model + tools + prompt the CHILD resolves. Threaded through the subagent-spawn config resolution as CommandLineConfigOverrides.identityProfile.