I am hearing mixed things. Everything from this coup being encouraged by Erdogan, to Kemalists, to Islamists. Or it was just a complete false flag operation.
All I know with certainty is that Erdogan is milking this situation. With the military threat removed, he is going to turn Turkey hard towards authoritarianism. He has dismissed and detained over 50,000 people (including teachers and civil servants). We're talking a purge on the scale of Saddam Hussein.
In twenty years people might look back very differently on this coup by the time Erdogan is done.