In ferromagnetism the spins align in the same direction, but in antiferromagnetism the spins align in the opposite direction. Both are due to the so-called 'exchange interaction', with a negative exchange constant ($J$) corresponding to ferromagnetism and a positive exchange constant corresponding to antiferromagnetism.
However, I don't understand how the exchange interaction can lead to antiferromagnetism. What I learnt from Griffiths's intro to quantum, is that due to the exchange interaction i.e. exchange force, the expectation value between two identical fermions is larger than the expectation value between two distinguishable particles, which lowers the Coulomb interaction energy (assuming we are talking about 2 electrons here). Therefore, the spins want to align since this is more energetically favorable. What is the conceptual mechanism behind antiferromagnetism then?