Skip to main content

Module agent_type

Module agent_type 

Source
Expand description

Agent types: the named sub-agent definitions a session can spawn.

The data only. Built-in types, loading agents/*.md, merging tiers and spawning live in the agents module; the type is here because plugin hosts declare agent types too, and they sit below that module.

Structs§

AgentTypeDefinition
A named agent type definition with associated system prompt and tool set.

Enums§

AgentTypeSource
Where an AgentTypeDefinition came from, which decides whether it may hand its sub-agent more than the parent session had.

Functions§

parse_permission_mode
Parse the textual permission_mode an agent-type declaration carries — agent .md frontmatter and plugin manifests both spell it as a string. bubble is program-only and deliberately unparseable here.