Cubic Cu3SbS3 anchored on ethylenediamine-modified reduced graphene oxide (Cu3SbS3/EDA-rGO) was successfully synthesized via one-pot method. And its electrochemical performance was evaluated as the anode materials for sodium ion batteries and potassium ion batteries (SIBs and PIBs). This interaction between EDA-rGO and Cu3SbS3 was revealed by X-ray photoelectron spectroscopy, which enables electrode micro-architecture stability. The electrochemical reaction mechanism between Cu3SbS3 and ions (Na+ and K+) was revealed by ex-situ X-ray diffraction. In both SIBs and PIBs, electrochemical test results showed that the Cu3SbS3/EDA-rGO provides better cyclic stability and higher rate than pristine Cu3SbS3. Especially at 1 A/g in PIBs, it still reached a reversible capacity of 182.8 mAh/g after 500 cycles. Cu3SbS3/EDA-rGO has potential as anode materials for alkali ion batteries based on these results.