SubagentConfig

org.llm4s.agent.harness.SubagentConfig
See theSubagentConfig companion object
@Experimental
final case class SubagentConfig

The subagents a HarnessProfile gives its agent (design 4.48), offered through the task tools, and the bounds on their tasks. SubagentConfig.none, the minimal profile's, gives none: delegation is never granted silently. HarnessProfile.deepAgents has SubagentConfig.deepAgents, the general-purpose subagent alone.

AgentBuilder.build() binds these before any the builder adds with withSubagents, and delegation bounds them all; withDelegation beside a harness is refused, so the bounds have one source.

Value parameters

delegation

the bounds on the agent's delegated tasks

generalPurpose

the general-purpose subagent, general-purpose; None disables it

specialists

the profile's own subagents, after the general-purpose one, in order

Attributes

Companion
object
Source
SubagentConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Whether any subagent is offered: the general-purpose one or a specialist.

Whether any subagent is offered: the general-purpose one or a specialist.

Attributes

Source
SubagentConfig.scala

The specialists, replacing any set before.

The specialists, replacing any set before.

Attributes

Source
SubagentConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product