Anarky (Lonnie Machin) is a fictional character in the DC Comics Universe. Co-created by Alan Grant and Norm Breyfogle, he first appeared in Detective Comics #608 (November 1989) as an adversary of Batman. Stories revolving around Anarky often focus on political and philosophical themes. The character, who was named after the philosophy of anarchism, primarily espouses anti-statism. When Grant himself transitioned to the philosophy of Neo-Tech, he transformed Anarky from a vehicle for socialist and populist philosophy, to rationalist, atheist, and free market-based thought.
Grant avoided using the character often, but addressed multiple issues whenever the character appeared, including environmentalism, antimilitarism, economic exploitation, and political corruption. Inspired by multiple sources, early stories featuring the character often included homages to political and philosophical books. The creation of the character was also partially influenced by Alan Moore's character "V" from V for Vendetta.
Originally intended to only be used in the debut story in which he appeared, Anarky was created to be a violent but highly intelligent youth who rationalized murder in the name of a higher cause. At the request of Dennis O'Neil, this early interpretation was altered before publication, and Anarky was instead portrayed as violent but non-lethal. Following positive reception by readers and Dennis O'Neil, Grant decided to continue using Anarky as a recurring character throughout the early 90s.