Multiwavelength studies of the blazars detected by AGILE