build msg
basic agent works