of Annotated Instance
Create a Subagent from an instance of an @Agent annotated class. The agent name is extracted from the instance's class metadata. Call Builder.consuming to specify the input type.
Return
a Builder to specify the input type
Parameters
annotated Instance
an instance of a class annotated with @Agent