Several agencies have followed a pattern of restructuring their IT shops, embracing artificial intelligence and automation, or developing programs with less siloes.