Both lithium batteries and AGM batteries have their pros and cons, but many people choose lithium batteries for their grid-tied solar projects due to their longer life expectancy and low maintenance.