Package io.agentscope.harness.agent.subagent
package io.agentscope.harness.agent.subagent
-
ClassDescriptionLoads
SubagentDeclarationinstances from Markdown files with YAML front matter placed in thesubagents/directory of a workspace.Pure agent factory and invoker — knows how to create agents from registered factories and invoke them with a prompt.Policy for resolving a remote subagent's tool-confirmation (HITL) requests when the parent cannot forward the decision to an interactive human within this call.PlaceholderAgentfor remote subagents.Declares a subagent: its identity, workspace resolution strategy, and optional capability allowlist.Whether a declaration can be used as a top-level primary agent, only as a delegated subagent, or both.Creates a new subagent instance for a single spawn or session.LLM-driven generator forSubagentDeclarationmarkdown specs.Pair of the raw markdown and the parsedSubagentDeclaration.Controls how a declared subagent's runtime workspace root is determined.