Catalyzes the reversible transfer of the terminal phosphate group between ATP and AMP. Plays an important role in cellular energy homeostasis and in adenine nucleotide metabolism. AMP + ATP = 2 ADP Belongs to the adenylate kinase family.