Expand description
Specialist sub-agent profiles.
Turns the single generic sub-agent into an extensible roster of focused
experts (math, illustration, research, coding, …). Each profile is just a
persona injected into the sub-agent’s system prompt; the generalist (the
main agent) routes a hard sub-problem to the right specialist via
sessions_spawn(specialist=...).
Adding a new specialist = add one entry to PROFILES. No other code changes.
Structs§
- Specialist
Profile - A specialist profile: a focused persona the spawned sub-agent adopts.
Constants§
- DEFAULT_
SPECIALIST - Default profile when none is requested.
Functions§
- resolve_
specialist - Resolve a requested specialist, falling back to the generalist profile.
- specialist_
catalog - Human-readable roster
name — summarylines for the spawn tool description. - specialist_
names - All specialist names (for the spawn tool’s
specialistenum). - specialist_
profile - Look up a specialist profile by exact name (case-insensitive).