Subagent

constructor(agent: Agent, inputClass: Class<*>)

Subagent that is an agent

Parameters

agent

the subagent to hand off to

inputClass

the class of the input that the subagent expects


constructor(agentName: String, inputClass: Class<*>)


constructor(agentType: Class<*>, inputClass: Class<*>)

Reference to an annotated agent class.