1. Short title This Act may be cited as the Keeping Communities Safe through Treatment Act of 2017 . 2. Pilot program (a) Establishment (1) In general Not later than 180 days after the date of the enactment of this Act, the Attorney General shall establish a pilot program to provide grants to eligible entities for prebooking diversion programs to divert individuals with low-level drug offenses to a case manager for an immediate needs assessment, crisis intervention, and to schedule an in-depth intake interview. (2) Duration of pilot program The pilot program shall terminate 5 years after the date of the enactment of this Act. (3) Grants awarded under pilot program The Attorney General shall award grants under the pilot program to not fewer than 10 eligible entities. (b) Limitation on use of funds Grant funds awarded under the pilot program may not be used to divert an individual with a low-level drug offense to a drug treatment program if criminal charges have been filed and are pending against such individual. (c) Application (1) In general To be selected to receive a grant under the pilot program, an eligible entity shall submit to the Attorney General an application at such time, in such manner, and containing such information as the Attorney General may require. (2) Other requirements Each application for a grant under the pilot program shall include a description of how the eligible entity— (A) coordinates with drug treatment programs that provide medication-assisted treatment; (B) plans to coordinate with local prosecutors; (C) plans to divert individuals with low-level drug offenses to such programs; (D) plans to monitor and record the progress of such individuals in such programs; (E) plans to assess such individuals to ensure that they have an appropriate individualized intervention