@SubAgent(type = CarWashAgent.class, outputName = "carWashAgentResult" ), @SubAgent(type = CarConditionFeedbackAgent .class, outputName = "carCondition") }) CarConditions processCarReturn ( String carMake, String carModel, Integer carYear, Long carNumber, String carCondition , String rentalFeedback , String carWashFeedback ); @Output static CarConditions output(String carCondition , String carWashAgentResult ) { boolean carWashRequired = !carWashAgentResult .toUpperCase().contains( "NOT_REQUIRED"); return new CarConditions(carCondition, carWashRequired); } } Type of workflow agent (Sequence, Parallel, Loop, Conditional, Supervisor) Sub agents that can be called by the ‘parent’ agent Output which is returned to the AgenticScope