Say hello to Riley. He is a good boy.

Riley, a 12-week-old Weimaraner, is hardly the first pup to have job responsibilities far beyond “fetch” and “sit” and “get off the couch.”

But he appears to be the first to be trained specifically to detect moths and other pests that could damage high-value artwork in a museum.

“It’s really a trial, pilot project. We don’t know if he’s going to be good at it,” said Katie Getchell, the deputy director of the Museum of Fine Arts in Boston. “But it seems like a great idea to try.”

No technology is as powerful at detecting scents as the nostrils of dogs, which have long been trained to use their superior schnozzes to sniff out explosives, cadavers, bed bugs, ants and cancer, among other things.