trainer-api using aidr-task-manager.