In one of his articles/books, Yuval-Noah-Harari argues that liberal democracy might be obsolete if human agency is greatly reduced by technology:
Information technology is continuing to leap forward; biotechnology is beginning to provide a window into our inner lives—our emotions, thoughts, and choices. Together, infotech and biotech will create unprecedented upheavals in human society, eroding human agency and, possibly, subverting human desires. Under such conditions, liberal democracy and free-market economics might become obsolete.
If I understand correctly human agency is closely related to free-will:
(..) human agency is subtly distinct from the concept of free will, the philosophical doctrine that our choices are not the product of causal chains, but are significantly free or undetermined.
However, I do not understand why liberal democracy is in peril if human agency is reduced. By ensuring free elections humans, the result should theoretically reflect the votes of all people regardless of the amount of "agency" involved.
Is there a political theory that connects liberal democracy to the concept of "free-will"?
Question: Does liberal democracy require a significant amount of free-will in order to function?