AGILE and gamma-ray astrophysics