Agencies must balance the benefits, risks of AI