From depletion of clerical ranks to the need to rev up customer service, federal agencies have a lot of incentives to bring on artificial intelligence.