battery chargers - AGM and lithium
It should be safe to use the same charger for both battery types. 

AGM batteries are usually charged to a peak voltage of 2.4V per cell, which is 28.8V for a 12 cell 24V battery. LiFePO4 cells are fully charged at 3.6V per cell, which for an 8 cell '24V' battery is also 28.8V.  

How to charge Lithium Iron Phosphate    


  A LiFePO4 battery can be safely overcharged to 4.2 volts per cell, but
  higher voltages will start to break down the organic electrolytes.
  Nevertheless, it is common to charge a 12 volt a 4-cell series pack
  with a lead acid battery charger. The maximum voltage of these
  chargers, whether AC powered, or using a car's alternator, is 14.4
  volts. This works fine, but lead acid chargers will lower their
  voltage to 13.8 volts for the float charge, and so will usually
  terminate before the LiFe pack is at 100%.