agent q initialization