toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common
/
Subagent
Subagent
class
Subagent
Define a handoff to a subagent.
Members
Constructors
Subagent
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
input
Class
Link copied to clipboard
val
inputClass
:
Class
<
*
>
Functions
resolve
Link copied to clipboard
fun
resolve
(
agentPlatform
:
AgentPlatform
)
:
Agent