The Maine Drug Enforcement Agency says undercover agents arranged to buy drugs at a Bangor hotel last Thursday.