For the first time, ants were observed using the homes of pests known as coffee berry borers to rear their own young.