The present invention relates to the field of chemical-pharmaceutical industry and medicine. An agent, exhibiting the properties of a cognitive function promoter, was selected from 1,3-dimethyl-5-[(4-pyridylamino)methylene]barbituric acid and 4-amino-1-(3-nitro-2-oxo-1-pheny-1,2-dihydro-1,6-naphthyridin-5-yl)pyridinium chloride. The compounds, that are proposed as agents, exhibit potent biological activity.