Two of my favorite SF authors--for completely different reasons--are the later A E Van Vogt and Larry Niven.
Niven is the acknowledged dean of hard SF, while van Vogt was famous for the often dream-like quality of his stories.
Both writers have dealt with the interesting question of whether society could survive in a state of anarchy: Van Vogt with his 1977 novel The Anachronistic Colossus and Niven with the short story "Cloak of Anarchy" (which you can read in its entirety here).
Curiously, both arrived at the same conclusion: for anarchy to work, there has to exist an impartial authority with the power to prevent or punish transgressions.
Both use ubiquitous monitoring systems that are in virtually every public space, with the power to zap the perpetrators of force or fraud before--or immediately after--they commit an act of aggression.
Both systems are designed to run normally without human intervention.
Both systems are designed to allow you to do pretty much whatever you want, unless you set out to hurt somebody else.
Niven explores what happens when the system breaks down and people are free to transgress without possibility of witness or retribution; van Vogt deals in how an anarchistic society might actually be able to defend itself from an alien invasion.
There are two particular points of interest here: one is the idea that a non-violent anarchistic society could not exist until the decentralized technology to enforce that non-violence (detached from a government through automation) has evolved. I don't know that I like this conclusion: I'm still pretty damn unhappy about automated cameras at stoplights with the ability to send me a ticket, as well as facial recognition software employed in the so-called War on Terror.
The second significant point is that nothing in the technologies proposed by van Vogt or Niven is more than a few years down the pike. That's genuinely scary, because that leap I cannot make with them is the leap to a disinterested, incorruptible system for enforcing bans on aggression. What I see instead are State and Corporations given the perfect Gestapo-like tools of control and using them.