Johann Friedrich Agricola (4 January 1720 – 2 December 1774) was a German composer, organist, singer, pedagogue, and writer on music. He sometimes wrote under the pseudonym Flavio Anicio Olibrio.
Agricola was born in Dobitschen, Thuringia.
While a student of law at Leipzig (1738–41) he studied music under Johann Sebastian Bach.
In 1741 Agricola went to Berlin, where he studied musical composition under Johann Joachim Quantz. He was soon generally recognized as one of the most skillful organists of his time. The success of his comic opera, Il filosofo convinto in amore, performed at Potsdam in 1750, led to an appointment as court composer to Frederick the Great. In 1759, on the death of Carl Heinrich Graun, he was appointed conductor of the royal orchestra. He married the noted court operatic soprano Benedetta Emilia Molteni, despite the king's prohibition of court employees marrying each other. Because of this trespass, the king r