Subagent

class Subagent

Define a handoff to a subagent.

Constructors

Link copied to clipboard
constructor(agent: Agent, inputClass: Class<*>)

Subagent that is an agent

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

Reference to an annotated agent class.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun resolve(agentPlatform: AgentPlatform): Agent