An endogenous peptide (as an endorphin or an enkephalin) that influences neural activity or functioning.