Uses of Class
io.agentscope.harness.agent.subagent.SubagentDeclaration.Builder
Packages that use SubagentDeclaration.Builder
-
Uses of SubagentDeclaration.Builder in io.agentscope.harness.agent.subagent
Methods in io.agentscope.harness.agent.subagent that return SubagentDeclaration.BuilderModifier and TypeMethodDescriptionstatic SubagentDeclaration.BuilderSubagentDeclaration.builder()Factory method for a new builder.SubagentDeclaration.Builder.description(String description) Sets the human-readable description the orchestrator uses to decide when to delegate (required).SubagentDeclaration.Builder.enablePendingToolRecovery(Boolean enable) Overrides pending-tool recovery for this local subagent.SubagentDeclaration.Builder.exposeToUser(Boolean exposeToUser) Per-type policy for exposing spawned instances as user-addressable threads.Optional HTTP headers for the remote task server (e.g.SubagentDeclaration.Builder.hidden(boolean hidden) Hide this declaration from the LLM's available-subagent list.SubagentDeclaration.Builder.inheritParentPermissions(boolean inheritParentPermissions) Whentrue(default), parent DENY permission rules are propagated to the child at spawn time.SubagentDeclaration.Builder.inlineAgentsBody(String body) Sets the inline system-prompt body for lightweight subagents that do not need a dedicated definition workspace.SubagentDeclaration.Builder.maxIters(int maxIters) Deprecated.SubagentDeclaration.Builder.mode(SubagentDeclaration.Mode mode) Sets theSubagentDeclaration.Mode.Optional model override resolved viaModelRegistry.Sets the unique name / agent-id for this subagent (required).SubagentDeclaration.Builder.persistSession(boolean persistSession) Whentrue, the subagent's spawn key is derived deterministically from (parentSessionId, agentId, label), enabling state recovery across parent calls and process restarts.SubagentDeclaration.Builder.remoteAskPolicy(RemoteAskPolicy remoteAskPolicy) Policy for resolving remote HITL confirmations.SubagentDeclaration.Builder.remoteContextAttributes(Map<String, Object> remoteContextAttributes) Static attributes sent ascontext.attributeswith every submission to this remote subagent (e.g. tenant or deployment tags).SubagentDeclaration.Builder.remoteStreamDetail(RemoteStreamDetail remoteStreamDetail) How much of the remote event stream to forward.SubagentDeclaration.Builder.remoteStreaming(Boolean remoteStreaming) Whether remote subagent events should be streamed back into the parent's event stream.SubagentDeclaration.Builder.steps(int steps) Maximum reasoning iterations (default 10).SubagentDeclaration.Builder.temperature(Double temperature) Optional sampling temperature override.Tool allowlist: when non-empty, only inherited parent tools with listed names are kept.Optional nucleus-sampling (top-p) override.Remote task server base URL.Optional model-variant identifier (e.g.Points this declaration at an external definition workspace.SubagentDeclaration.Builder.workspaceMode(WorkspaceMode mode) Sets the workspace resolution mode.
steps(int).