https://doi.org/10.1351/goldbook.A00220
Basic nitrogen compounds (mostly heterocyclic) occurring mostly in the plant kingdom (but not excluding those of animal origin). Amino acids, @P04479@, @P04898@, @N04255@, @N04245@, @A00283@ and antibiotics are not normally regarded as alkaloids. By extension, certain neutral compounds biogenetically related to basic alkaloids are included.
Source:
PAC, 1995, 67, 1307. (Glossary of class names of organic compounds and reactivity intermediates based on structure (IUPAC Recommendations 1995)) on page 1313 [Terms] [Paper]