{
"id": "meta-node-kind:subagent",
"_kind": "MetaNodeKind",
"_file": "catalog-meta/meta-registry/meta-registry-agent-stack.yaml",
"_cluster": "catalog-meta",
"attributes": {
"displayName": "Subagent (meta)",
"name": "Subagent",
"cluster": "",
"prefix": "subagent",
"origin": "universal",
"purpose": "A specialized worker / persona that an agent runtime can dispatch alongside its primary loop. Canonical term follows Anthropic Claude Code (\"subagent\", one word; docs.anthropic.com/en/docs/claude-code/sub-agents). The same NodeKind covers two provenance variants — vendor-shipped built-ins (Claude Code's general-purpose / Explore / Plan; OpenAI built-in handoff patterns) and user-installable custom definitions (Claude Code `.claude/agents/<name>.md`, parallel to a Skill's SKILL.md). Distinguished via the `provenance` attribute. The dispatch *mechanism* a runtime uses to invoke a subagent is recorded on `AgentRuntimeImpl.subagentDispatchMechanism` (task-tool / handoff / sub_agents-array / agent-as-tool / none); the *definition format* a platform loads custom subagents from is recorded on `AgentPlatformImpl.subagentDefinitionFormat`.",
"exampleCount": 0,
"invariants": [
"provenance=built-in implies subjectId is set and resolves to an AgentVersion or AgentProduct"
]
},
"outgoingEdges": [
{
"from": "meta-node-kind:subagent",
"to": "meta-cluster:agent-stack",
"kind": "in_cluster",
"attributes": {}
},
{
"from": "meta-node-kind:subagent",
"to": "meta-attribute:subagent--id",
"kind": "contains_meta_attribute",
"attributes": {}
},
{
"from": "meta-node-kind:subagent",
"to": "meta-attribute:subagent--display-name",
"kind": "contains_meta_attribute",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "meta-edge-kind:uses-checkpoint",
"to": "meta-node-kind:subagent",
"kind": "source_of_meta_edge",
"attributes": {}
},
{
"from": "meta-attribute:subagent--id",
"to": "meta-node-kind:subagent",
"kind": "defined_on",
"attributes": {}
},
{
"from": "meta-attribute:subagent--display-name",
"to": "meta-node-kind:subagent",
"kind": "defined_on",
"attributes": {}
},
{
"from": "meta-cluster:agent-stack",
"to": "meta-node-kind:subagent",
"kind": "contains_meta_node_kind",
"attributes": {}
}
]
}