Annotation Interface SubAgent
Defines a sub-agent of a workflow-based or supervisor agent.
-
Optional Element Summary
Optional Elements
-
Element Details
-
type
Class<?> typeThe class of the sub-agent.- Returns:
- the class of the sub-agent
- Default:
java.lang.Object.class
-
outputKey
String outputKeyKey of the output variable that will be used to store the result of the agent's invocation.- Returns:
- name of the output variable.
- Default:
""
-
summarizedContext
String[] summarizedContextNames of other agents participating in the definition of the context of this agent.- Returns:
- array of names of other agents participating in the definition of the context of this agent.
- Default:
{}
-