@SubAgent(type = MedicalExpert.class, outputKey = "response"), @SubAgent(type = TechnicalExpert.class, outputKey = "response"), @SubAgent(type = LegalExpert.class, outputKey = "response") }) String askExpert(@V("request") String request); @ActivationCondition(MedicalExpert.class) static boolean activateMedical(@V("category") RequestCategory category) { return category == RequestCategory.MEDICAL; } @ActivationCondition(TechnicalExpert.class) static boolean activateTechnical(@V("category") RequestCategory category) { return category == RequestCategory.TECHNICAL; } @ActivationCondition(LegalExpert.class) static boolean activateLegal(@V("category") RequestCategory category) { return category == RequestCategory.LEGAL; } } Type of workflow agent (Sequence, Parallel, Loop, Conditional, Supervisor Sub agents that can be called by the ‘parent’ agent Output is shared in AgenticScope