Skip to content

SubagentProfileSpec

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:86

GS2-33 — one profile-backed subagent declaration. When the parent agent spawns this subagent, 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).

No backend spawns subagents today — see the subagents field on GthConfig.

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: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:90

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


name: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:88

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


profile: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:95

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