Marks / Specialist collaboration / Specialist definition
software-agent-sdk · Specialist definition
task tool off in default preset; AgentDefinition sets tools/model/prompt; L4 unmet: never_confirm widens
Level
Criteria for this column
- 0
No subagents or specialists
default - 1
Subagents exist only as example code, or as ad hoc spawns with task text and no definition
- 2
Built-in subagents configurable by prompt or model, but tool and permission scope cannot be set per specialist
- 3
Declarative definitions (file or config) set prompt, model and tool scope per specialist
best - 4
Level 3, plus an enforced rule that a child cannot exceed the parent's authority (permissions/sandbox intersect or inherit-only), with no default path that widens it
What the source review found
Registry built in; task tool optional (enable_sub_agents=False by default). AgentDefinition (Markdown, plugin or code) sets tools, model, prompt, skills, permission_mode, caps, hooks. MCP is always inherited. Scope narrows visibility only; a definition may set never_confirm C120C121C122C134; Note C-9.
Pinned evidence
Cited by the mark
- C120
AgentDefinition: tools, model, prompt, skills, permission_mode, caps, hooks, condenserOpenHands/software-agent-sdk openhands-sdk/openhands/sdk/subagent/schema.py L202-L290
- C121
permission_modevalues incl.never_confirm; None = inheritOpenHands/software-agent-sdk openhands-sdk/openhands/sdk/subagent/schema.py L126-L137
- C134
enable_sub_agents=Falsedefault inget_default_toolsOpenHands/software-agent-sdk openhands-tools/openhands/tools/preset/default.py
Also cited by the review finding
- C122
SubAgentScopenarrows tool visibility; MCP inherited from parentOpenHands/software-agent-sdk openhands-sdk/openhands/sdk/subagent/scope.py L33-L129
Two independent graders
- Grader A
- 0 / 3
- Grader B
- 0 / 3
- Final
- 0 / 3