Macbeth in the Algorithm — What Shakespeare Knew About Desire Management in the Age of Infinite Stimulation

The witches did not create Macbeth’s desire.

This is the most important thing to understand about the play — and the thing most easily missed. When the three witches meet Macbeth on the heath and deliver their prophecy — “All hail, Macbeth, that shalt be King hereafter” — they are not planting an idea in a mind that did not contain it. They are naming something that is already there. The proof is in Macbeth’s immediate response: not skepticism, not confusion, but a terror so specific that Banquo notices it.

“Good sir, why do you start, and seem to fear / Things that do sound so fair?”

You start at what you already want. You fear what you already desire. The witches are not the origin of Macbeth’s ambition. They are its mirror — the external surface that makes visible what was already present in the interior.

This distinction is everything. It is the distinction between a tragedy about a man corrupted by supernatural manipulation and a tragedy about a man destroyed by the failure to manage what was already inside him. Shakespeare wrote the second play. The first would be a much less interesting one.

And it is the play that the age of the algorithm has made newly urgent — because the algorithm is the witch. Not in any supernatural sense. In the precise functional sense: the system that finds what is already inside you, reflects it back amplified, and watches what happens next.


What the Algorithm Does

The recommendation algorithm does not create desire.

This is the first thing to understand about how digital platforms work, and the thing most easily missed when people describe the harm they cause. The algorithm does not tell you what to want. It finds what you already want — in the pattern of your clicks, your pauses, your returns, your engagements — and it gives you more of it. Then it finds the version of what you want that holds your attention slightly longer than the previous version, and gives you that. Then the version that holds it longer still.

The algorithm is not a witch. It is a mirror with a zoom function. It finds the desire that is already there, reflects it back at increasing magnification, and the desire grows — not because something new was added from the outside, but because something that was already present was found, amplified, and continuously fed.

This is what happened to Macbeth.

The witches found the desire that was already there. They named it — “King hereafter” — and in naming it, they gave it a form it had not previously had. Before the prophecy, Macbeth’s ambition was diffuse, perhaps unacknowledged, certainly unacted upon. After the prophecy, it had a specific object, a timeline, and — in the form of the prophecy itself — a kind of permission. The witches did not create the desire. They crystallized it. And crystallized desire is harder to resist than diffuse desire, because it has a shape, a name, and a direction.

The algorithm does the same thing. The desire that was diffuse — a vague discontent, an undefined wanting, a low-level resentment or envy or ambition that might have remained unacted upon — is found by the system, given a specific object (“people like you are doing this / having this / believing this”), and fed back at increasing intensity until the diffuse becomes crystallized and the crystallized becomes consuming.


The Elimination of Friction

The second structural parallel between Macbeth’s tragedy and the algorithmic age is the elimination of friction between desire and action.

Before the witches, there is friction between Macbeth’s ambition and its expression. The friction is moral — he knows that killing the king is wrong. The friction is practical — the king is his guest, his kinsman, his sovereign. The friction is relational — Lady Macbeth must work hard to overcome his hesitation. The friction is real and significant, and it holds.

Until it doesn’t.

The play’s tragedy is not the murder of Duncan. It is the discovery of what happens when the friction is removed. Once Macbeth has crossed the threshold — once the friction that held the desire in check has been overcome — the desire does not stop. It escalates. Banquo must die, because Banquo knows too much and his descendants were also prophesied to be kings. Macduff’s family must die, because Macduff has fled and his family is a vulnerability. The desire that seemed finite — I want to be king — turns out to be infinite once the friction that contained it has been breached.

This is the structural truth about desire that Shakespeare understood and encoded in the play. Desire is not self-limiting. It does not naturally reach satisfaction and stop. Left without the friction of constraint — moral, practical, relational — it escalates. Each satisfaction produces not contentment but a new, larger desire. The logic of wanting, once fully engaged, does not point toward equilibrium. It points toward more.

The algorithmic environment has systematically eliminated the friction that historically constrained the escalation of desire.

The friction of access — the time and effort required to find the specific content, product, or information that a desire pointed toward — is gone. The friction of cost — the financial and social cost of acting on certain desires — has been reduced across most domains of consumption. The friction of visibility — the social constraint produced by the awareness that others can see what you want and how intensely you want it — has been removed by the privacy of the screen. The friction of time — the delay between desire and gratification that historically provided the space in which second thoughts could occur — has been compressed toward zero.

Macbeth had time to think between the prophecy and the murder. He used that time to talk himself into it rather than out of it, but the time was there. The space for reflection, however poorly used, existed.

The algorithmic environment removes that space. The desire and its gratification occur in the same gesture — the click, the purchase, the share, the consumption. The second thought arrives, if at all, after the action rather than before it.


The Spiral

The third structural parallel is the spiral.

After Duncan’s murder, Macbeth’s world becomes a spiral. Each act of violence requires a further act of violence to contain it. Each new fear produces a new threat. Each new threat requires a new action. The logic of the spiral is internal — it is not being driven from outside by the witches, who appear only once more, in a scene that accelerates rather than initiates the dynamic already in motion. The spiral is driven by the structure of desire once it has been fully engaged and all friction has been removed.

The algorithmic spiral has the same structure.

The content that captured attention yesterday is less interesting today — not because the content has changed but because the nervous system has habituated to it. The algorithm, which is optimizing for engagement, must find a version that captures attention as well as yesterday’s did — which means a version that is slightly more extreme, slightly more provocative, slightly more activating than what came before. The content escalates not because anyone decided it should but because engagement optimization under habituation produces escalation as its natural output.

The person who clicked on outrage-producing content yesterday needs slightly more outrage today to produce the same engagement response. The person who consumed extreme content last month needs slightly more extreme content this month to feel the same engagement. The spiral is not a choice. It is the mechanical output of a system that optimizes for engagement in a nervous system that habituates.

Macbeth did not choose to escalate. He chose, once, to cross the threshold. The escalation followed from the structure of the situation he had created. The person consuming algorithmically optimized content does not choose to escalate. They choose, repeatedly, the content that the system presents as most engaging. The escalation follows from the structure of the optimization process and the habituation of the nervous system.


What Macbeth Teaches About Desire Management

The play is not primarily a cautionary tale about ambition. It is a study in the failure of desire management — in what happens when the internal resources that contain desire are overwhelmed.

Macbeth has those resources at the beginning of the play. He has moral understanding — he knows that what he is contemplating is wrong. He has relational accountability — he is a king’s thane, a husband, a soldier with a reputation and relationships that constrain his behavior. He has the friction of practical consequence — the murder will be hard, the aftermath uncertain.

What he lacks is the one resource that would have been sufficient: the ability to sit with the desire without acting on it. To feel the wanting — the specific, intense wanting that the prophecy crystallized — and to hold it without being held by it. To know that the desire is present without allowing it to be the last word.

This capacity — the ability to experience desire without being determined by it — is what Aristotle called sophrosyne: the temperance or self-mastery that allows a person to remain the author of their actions rather than the instrument of their desires. It is what the Stoics called the discipline of assent: the practice of not immediately saying yes to every impression that arrives with a demand for action. It is what contemplative traditions across cultures have called the gap — the space between stimulus and response in which the choosing self can operate.

The algorithm eliminates this gap. Or more precisely, it is designed to eliminate this gap — because engagement optimization depends on the minimization of the interval between desire and gratification. Every feature of the platforms that deliver algorithmically optimized content — the infinite scroll, the autoplay, the notification, the frictionless purchase — is a feature designed to narrow the gap between desire and action, because a narrower gap means more engagement.

The person who maintains the gap — who can sit with desire without immediately acting on it, who can feel the pull of the notification without immediately responding to it, who can experience wanting without being moved by it — is the person who retains authorship of their own attention and therefore their own life.

This is not a comfortable thing to develop. It requires the specific kind of discomfort that the current environment is designed to eliminate. It requires sitting with wanting. It requires the experience of not immediately getting what the desire points toward, and discovering that the wanting passes, or transforms, or reveals itself as pointing toward something other than what it initially appeared to demand.

Macbeth never developed this capacity. He had the desire. He had the prophecy that crystallized it. He had Lady Macbeth who overcame his hesitation. And he had no internal resource that could hold the gap between desire and action long enough for the desire to be examined rather than simply acted upon.

The result is the play.


The Sovereignty of Attention

The age of the algorithm makes explicit what was always true but not always urgent: the sovereignty of attention is the precondition of everything else.

What you attend to shapes what you desire. What you desire shapes what you do. What you do shapes who you become. The chain is direct and the first link — attention — is the one that is now under the most sustained, sophisticated, and resource-intensive attack in human history.

The platforms that deliver algorithmically optimized content are competing for attention with a precision and at a scale that no previous technology has approached. They have more data about what captures your specific attention than you have yourself. They have more engineers working on the problem of holding your attention than you have hours to think about resisting them. And they have aligned incentives — revenue from engagement — that are in direct structural conflict with your interest in attending to what actually matters.

Macbeth’s witches were powerful. They were also limited — they appeared twice, said what they said, and were gone. The algorithm appears every time you pick up your phone. It says what your specific attention history has revealed you are most susceptible to. And it is never gone.

The question the play poses — and the question the age of the algorithm makes newly urgent — is not whether desire will be activated. It will be. The desire is there, as it was in Macbeth, before any external force finds it. The question is what resource you have that can hold the gap between desire and action. What capacity for sitting with wanting without being determined by it. What internal sovereignty over your own attention that the sophistication of the system trying to capture it cannot entirely overcome.

Shakespeare did not have the algorithm. He had centuries of human observation about what happens when desire is fully engaged and all constraint removed. He encoded what he observed in the most precise dramatic form available to him.

The encoding remains accurate.

For those who intend to last.


Frequently Asked Questions

What does Macbeth have to do with the age of AI and algorithms?
The structural parallel is precise. The witches in Macbeth do not create Macbeth’s desire — they find what is already there, name it, and amplify it. The recommendation algorithm does the same: it finds existing desires in behavioral data, reflects them back at increasing intensity, and removes the friction that historically contained them. Both the witches and the algorithm are mirrors, not creators of desire. Both produce escalation through the same mechanism: the engagement of desire without adequate friction or internal constraint.

What is the “gap” between desire and action and why does it matter?
The gap is the space between the experience of desire and the decision to act on it — the interval in which reflection, evaluation, and choice can occur. Contemplative and philosophical traditions across cultures have identified the ability to maintain this gap as the foundational capacity of self-governance. The current information environment is systematically designed to eliminate this gap, because engagement optimization depends on the minimization of the interval between desire and gratification. The person who maintains the gap retains authorship of their own attention and actions.

Is the play’s message that desire is bad?
No. Macbeth is not a critique of ambition or desire. It is a study in the failure of desire management — in what happens when desire is engaged without adequate internal or external constraint. The problem is not that Macbeth wants to be king. The problem is that he has no capacity to sit with that wanting without acting on it, and no relationship or internal resource that can hold the space in which he might have chosen differently. Desire is not the antagonist. The absence of the gap is.

What is the practical application of this for managing attention in the algorithmic age?
The practical application follows directly from the structural diagnosis. If the algorithm finds existing desires and amplifies them, the first resource is self-knowledge — understanding what desires are present and which ones, if amplified and acted upon, would produce outcomes you would not endorse. If the algorithm eliminates friction, the second resource is the deliberate restoration of friction — not consuming every piece of content the system presents, not acting on every desire the system activates, maintaining the gap by building the specific habits of delay and reflection that the environment is designed to erode. If the algorithm produces escalation through engagement, the third resource is the willingness to disengage — to exit the spiral before it has consumed everything.

What does sophrosyne mean and why is it relevant?
Sophrosyne is an ancient Greek concept, translated variously as temperance, self-mastery, or soundness of mind. It describes the capacity to experience desire without being determined by it — to remain the author of one’s actions rather than the instrument of one’s appetites. Aristotle identified it as one of the cardinal virtues. The Stoics developed systematic practices for cultivating it. Contemplative traditions across cultures have various names for the same capacity. The age of the algorithm makes it the most practically urgent virtue available — not because desire has changed, but because the systems designed to engage desire without constraint have become more powerful than anything that existed when these traditions developed their methods for managing it.


SIGNAL tracks the recurring patterns of human experience across history, philosophy, and science — for people living long enough to encounter them more than once.

For those who intend to last.


Leave a Reply

Discover more from TLB : The Long Becoming

Subscribe now to keep reading and get access to the full archive.

Continue reading