buildAgent

fun buildAgent(name: String, description: String): Agent

Build an agent on this RepeatUntil workflow. Can be used to implement an @Bean method that returns an Agent, which will be automatically be registered on the current AgentPlatform.