Does "agonist" mean the same thing in these two sentences?

When bending the elbow the biceps are the agonist.

Acetylcholine is an agonist at the a cholinergic receptor.
different meanings