SubagentPlan

org.llm4s.agent.delegation.SubagentPlan
@Experimental
final case class SubagentPlan

One subagent's plan (design 4.45).

Value parameters

ancestorRules

the permission rules of every ancestor, outermost first, that ancestor-permissions applies

budget

the budget granted; each limit is also capped by the parent's remainder when the task is called

delegates

whether the child has task tools of its own: delegation granted, subagents declared, and room under maxDepth

depth

how deep the child runs: 1 below a top-level agent

id

the subagent's id

maxDepth

the deepest delegation may nest

middleware

the child's middleware ids in stack order, outermost first: ancestor-permissions when an ancestor has permission rules, then the granted middleware, its harness's and its own, then delegation when it may delegate

model

the client the child calls, by its class name (a client exposes no model name)

modelInherited

whether that client and its options are the parent's (no TypedAgent.withModel)

parent

the agent that delegates to it

subagents

the child's own subagents' plans, when it delegates

toolName

the parent's tool that runs it: task, or task_<id>

tools

every tool the child's model is offered, its own (its tools, its harness's, its middleware's and its own task tools) and those granted from its parent (granted tools and granted middleware's tools)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product