(1) After a complaint has been filed charging a defendant with commission of a crime and prior to conviction thereof, and after the district attorney has considered the factors listed in K.S.A. 22-2908, if it appears to the district attorney that diversion of the defendant would be in the interests of justice and of benefit to the defendant and the community, the district attorney may propose a diversion agreement to the defendant. The terms of each diversion agreement shall be established by the district attorney in accordance with K.S.A. 22-2909.(2) Each district attorney shall adopt written policies and guidelines for the implementation of a diversion program in accordance with this act. Such policies and guidelines shall provide for a diversion conference and other procedures in those cases where the district attorney elects to offer diversion in lieu of further criminal proceedings on the complaint.(3) Each defendant shall be informed in writing of the diversion program and the policies and guidelines adopted by the district attorney. The district attorney may require any defendant requesting diversion to provide information regarding prior criminal charges, education, work experience and training, family, residence in the community, medical history, including any psychiatric or psychological treatment or counseling, and other information relating to the diversion program. In all cases, the defendant shall be present and shall have the right to be represented by counsel at the diversion conference with the district attorney.