The Last Prison: Why Michel Foucault's Discipline and Punish Matters More in the Age of Artificial Intelligence
# **Introduction: The Last Prison in the Age of Artificial Intelligence**
Few philosophical books have become more relevant in the twenty-first century than Michel Foucault's *Discipline and Punish: The Birth of the Prison*. Published in 1975, decades before the internet, social media, smartphones or artificial intelligence, the book anticipated one of the defining features of our age: the replacement of visible coercion with invisible systems of surveillance, classification and behavioural control. Today its most famous sentence—"the soul is the prison of the body"—sounds less like an abstract philosophical metaphor and more like a precise description of contemporary digital life. At first sight, Foucault's statement appears to contradict more than two thousand years of Western philosophy. Since Plato popularised the Orphic doctrine of *Sōma Sēma*—the body as the prison or tomb of the soul—Western civilisation largely accepted that the immortal soul represented humanity's true essence while the body was merely a temporary, corrupt and imperfect vessel. Philosophy, religion and morality therefore concentrated on liberating the soul from bodily existence. Foucault turned this entire tradition upside down. He argued that modern power no longer imprisons an immortal soul inside a physical body. Instead, it manufactures what we call the "soul" itself—a psychological identity, a conscience, a personality, a permanent sense of being observed and judged—and then uses this invisible construction to discipline the body from within. The soul, far from being humanity's eternal liberator, becomes the most efficient instrument ever invented for governing human behaviour.
This extraordinary reversal has acquired an entirely new significance with the emergence of artificial intelligence. Bentham's Panopticon, the circular prison whose inmates never know when they are being watched, served for Foucault as the perfect metaphor for modern disciplinary society. The brilliance of the Panopticon did not lie in the brutality of its guards but in their invisibility. Prisoners eventually behaved as though surveillance never ceased because they could never be certain when the guard occupied the central tower. In the twenty-first century the watchtower has become digital, and the guard has become algorithmic. Artificial intelligence has transformed Bentham's architectural fantasy into a global technological infrastructure operating continuously through cameras, smartphones, search engines, recommendation systems, predictive algorithms and enormous databases. Human guards are increasingly unnecessary because algorithms now perform observation automatically, producing behavioural profiles, predicting preferences, identifying deviations and continuously nudging individuals towards statistically desirable patterns of conduct. Foucault argued that disciplinary institutions produced a "soul" capable of governing the body; contemporary AI extends this process by creating an algorithmic double for every individual—a data profile assembled from searches, purchases, movements, conversations, facial images and online interactions. This digital identity increasingly determines access to employment, insurance, credit, education, advertising and even political information. The invisible observer that Foucault described has become computational.
Yet the significance of *Discipline and Punish* extends even further than surveillance technologies. Artificial intelligence reveals that power in the digital age functions less through direct prohibition than through prediction, optimisation and participation. Individuals willingly carry devices that record their movements, voluntarily disclose intimate details of their lives and continuously train the very systems that analyse them. Unlike the prisoners of Bentham's Panopticon, modern citizens purchase their own surveillance technologies, install them in their homes, keep them in their pockets and interact with them for hours every day. The prison no longer requires walls because it has become portable, personalised and algorithmically adaptive. At the same time, AI does not simply watch bodies; it increasingly shapes language, memory, creativity and knowledge themselves. It recommends what people should read, predicts what they will write, filters what they will see and quietly influences what they believe. Foucault recognised that modern power operates through knowledge rather than force. Artificial intelligence demonstrates the astonishing accuracy of this insight. Nearly fifty years after its publication, *Discipline and Punish* no longer appears merely as a history of prisons. It reads as a philosophical blueprint for understanding the algorithmic civilisation now emerging around us, where the invisible prison is no longer built from stone and steel but from data, language, probability and artificial intelligence itself.
## **Part I: The Great Reversal: When Justice Stopped Punishing Bodies and Began Governing Souls**
One of Michel Foucault's greatest achievements in *Discipline and Punish* was to demonstrate that the history of modern punishment is not simply a story of humanitarian progress. For generations, historians interpreted the disappearance of public torture and corporal punishment as evidence that Western civilisation had become more compassionate. Executions became less spectacular, torture chambers gradually disappeared, and legal systems increasingly spoke the language of rehabilitation rather than vengeance. At first glance, history seemed to describe a triumph of reason over cruelty, humanity over barbarism and civilisation over violence. Foucault rejected this comforting narrative. The disappearance of physical punishment, he argued, did not represent the disappearance of power. Instead, power changed its object. The prison did not become kinder; it became more intelligent. Punishment ceased to concentrate primarily upon flesh and blood and began directing itself toward something far more useful to modern society—the human soul. This transformation represents one of the most profound political revolutions in Western history, because it shifted the entire mechanism of social control from the visible body to the invisible person hidden behind it.
The thinkers of the eighteenth century openly announced this new programme. As Foucault reminds us, reformers such as Mably argued that punishment should no longer strike the body but rather the soul. Physical pain would gradually give way to psychological correction. Instead of mutilating bodies, modern justice would reshape character, conscience, habits, intentions and desires. Crime would no longer be treated merely as an unlawful act but as evidence of a defective personality requiring examination, classification and correction. The executioner slowly disappeared from the stage, replaced by psychiatrists, psychologists, criminologists, social workers, prison governors and countless other experts claiming scientific authority over human behaviour. Punishment no longer sought simply to inflict suffering. It sought to transform the individual. Violence became internal. The prison migrated from the scaffold into the mind.
This historical reversal reveals why Foucault's famous declaration that **"the soul is the prison of the body"** represents one of the most radical philosophical statements of the twentieth century. For more than two thousand years Western philosophy had repeated the Platonic inheritance that the body imprisoned the immortal soul. Foucault turned this relationship upside down. The soul was no longer humanity's highest essence waiting to escape physical existence. It became a political construction manufactured by disciplinary institutions. Schools, hospitals, military academies, factories, courts and prisons gradually produced a new kind of individual who constantly examined, evaluated and corrected himself. The invisible observer traditionally called the soul became society's most efficient mechanism for governing the visible body. External force became less necessary because surveillance had become internalised. Individuals learned to supervise themselves according to standards that appeared to originate within their own conscience but had in fact been shaped by powerful institutions.
For Foucault, this transformation also fundamentally altered the object of justice itself. Modern courts no longer judge only actions. Increasingly they judge the individual who performed them. A crime becomes only the visible symptom of something deeper that experts attempt to discover beneath it. Judges no longer ask simply, "What happened?" They also ask: What kind of person committed this act? What psychological tendencies produced it? Does the offender possess abnormal desires, pathological instincts, inherited dispositions or dangerous personality traits? Is rehabilitation possible? What future behaviour may be expected? The legal system therefore expands far beyond the criminal act itself. Psychiatric reports, psychological evaluations, criminological theories and behavioural analyses all become part of the judicial process. Punishment increasingly concerns not only what an individual has done but who that individual supposedly is. The modern offender arrives before the court accompanied by an entire scientific portrait of his inner life.
Here lies one of Foucault's most unsettling insights. Modern criminal justice presents this expansion as an act of scientific enlightenment and humanitarian concern. The offender appears to receive understanding rather than brutality, diagnosis rather than torture, treatment rather than vengeance. Yet Foucault argues that this new scientific knowledge simultaneously enlarges the reach of power. Once psychology, psychiatry and criminology define the criminal personality as an object of expert knowledge, institutions gain legitimate authority over dimensions of human existence that previous legal systems could scarcely touch. Behaviour, emotions, desires, instincts, childhood experiences, hereditary characteristics and future risks all become objects of examination. Punishment extends beyond the completed crime into the entire life of the individual. The sentence no longer ends when the prison term expires. Probation, surveillance, compulsory treatment, behavioural monitoring and continuous assessment allow institutions to supervise individuals long after formal punishment has concluded. Justice ceases to punish acts alone. It begins governing identities.
Artificial intelligence makes this transformation more relevant today than at any previous moment in history. Foucault described a legal system that gradually learned to construct psychological profiles from interviews, observations and expert reports. Contemporary AI performs similar operations continuously and automatically. Instead of relying solely upon psychiatrists or criminologists, algorithmic systems now assemble detailed behavioural profiles from search histories, purchasing habits, geolocation records, facial recognition, social media activity, biometric information and countless other forms of digital data. The individual increasingly appears before governments, employers, insurance companies, banks and technology platforms not simply as a citizen but as an algorithmically generated personality—a statistical model predicting future behaviour, preferences, risks and opportunities. Foucault argued that modern justice gradually shifted from judging crimes to judging souls. Artificial intelligence extends this logic by producing digital versions of the soul itself, continuously updated through data and permanently available for analysis. The body no longer carries only an invisible psychological identity. It also carries an algorithmic identity constructed by machines.
This is why *Discipline and Punish* has become one of the most important philosophical books for understanding the age of artificial intelligence. Foucault demonstrated that modern power becomes strongest precisely when it appears most humane, scientific and rational. Artificial intelligence represents the latest stage of this historical development. It promises convenience, efficiency, prediction and personalised services while simultaneously expanding the capacity of institutions to observe, classify and influence human behaviour. The prison has not disappeared. It has simply become invisible, distributed and computational. The modern individual no longer fears only judges or prison guards. He increasingly confronts algorithmic systems that continuously evaluate not merely his actions but his entire behavioural profile. Nearly fifty years after Foucault wrote *Discipline and Punish*, his central insight has become even more compelling: modern societies no longer govern primarily by imprisoning bodies. They govern by constructing souls.
## **Part II: The Political Technology of the Body: From the Prison Cell to Artificial Intelligence**
If the first revolution of modern punishment consisted in replacing the body with the soul as the principal target of justice, the second was even more profound. Michel Foucault argues that this transformation cannot be understood simply as an act of humanitarian reform or as the inevitable progress of civilisation. Beneath the apparent leniency of modern punishment lies a completely new political technology whose real object has never ceased to be the body itself. The soul entered the courtroom, psychology entered the prison, psychiatry entered criminal justice and criminology emerged as a scientific discipline not because society suddenly became more interested in understanding human beings, but because these new forms of knowledge offered far more effective ways of exercising power. Punishment became less spectacular, yet infinitely more penetrating. Instead of striking the body directly through torture and execution, modern institutions learned to surround it with an entire network of examinations, classifications, diagnoses and expert discourses that gradually transformed individuals into permanent objects of observation. Foucault therefore rejects the comforting illusion that the history of punishment is primarily a history of growing humanity. What appears as humanitarian progress often conceals the birth of more sophisticated methods of domination. The modern soul, he argues, is not a timeless philosophical reality but a historical product generated by an expanding alliance between law, medicine, psychology and the human sciences. The criminal is no longer judged merely according to the legal code but according to a growing body of supposedly scientific knowledge that seeks to explain who he is, what he may become and how society should intervene in his future. In this sense, the history of punishment becomes simultaneously a history of knowledge, because every new scientific description of human behaviour also provides institutions with new opportunities to supervise, classify and regulate individuals. As Foucault himself explains, the modern penal system became inseparable from "a corpus of knowledge, techniques, 'scientific' discourses" that became entangled with the power to punish, giving birth to a genealogy of the modern soul itself.
This insight becomes even more radical when Foucault shifts attention away from legal institutions and toward the body itself. Contrary to appearances, modern disciplinary power never abandoned the body. It merely discovered more productive ways of investing it. The body remains the ultimate object of political control because it works, produces, consumes, obeys, moves through space and generates economic value. The objective is therefore not to destroy the body but to optimise it—to make it simultaneously useful and obedient. Schools produce disciplined pupils, armies disciplined soldiers, factories disciplined workers, hospitals disciplined patients and prisons disciplined inmates. Across all these institutions runs what Foucault calls a **political technology of the body**: a diffuse collection of techniques that train bodies to become productive while ensuring that they remain subject to existing systems of authority. Unlike classical political philosophy, which usually imagines power as something possessed by kings, governments or ruling classes, Foucault insists that power functions as a constantly shifting network of strategies, techniques and relations extending throughout society. It is exercised rather than owned. It operates through innumerable local mechanisms rather than descending from a single sovereign centre. Individuals are not merely passive victims of this network; they also reproduce it by supervising themselves and others, transmitting its norms through everyday behaviour. Power therefore becomes microscopic. It penetrates gestures, routines, habits, movements, language, schedules and bodily discipline long before it appears in legislation or political institutions. The prison becomes only one manifestation of a much broader "micro-physics of power" acting directly upon bodies through countless ordinary practices. Foucault argues that the body becomes economically valuable only when it is simultaneously transformed into a subjected body, one whose productivity depends upon its successful integration into systems of discipline and control.
Artificial intelligence reveals the astonishing contemporary relevance of this analysis. Nearly fifty years after *Discipline and Punish* was published, the political technology of the body has entered a new computational stage. The mechanisms Foucault described no longer depend primarily upon prisons, hospitals or schools. They increasingly operate through digital infrastructures capable of observing, recording and predicting behaviour continuously. Every smartphone becomes a miniature Panopticon, every search history a behavioural archive, every facial recognition system an instrument for identifying bodies, every recommendation algorithm a subtle mechanism for directing future choices. AI extends the political technology of the body by constructing an algorithmic version of the modern soul—a continuously updated digital profile assembled from movements, purchases, communications, biometric data and patterns of attention. This computational soul follows individuals across institutions, influencing employment decisions, insurance assessments, credit ratings, educational opportunities and political communication. Foucault argued that disciplinary power functions not by prohibiting behaviour but by organising possibilities, producing normality and encouraging self-regulation. Artificial intelligence performs precisely these functions on an unprecedented scale. It predicts rather than merely reacts, recommends rather than commands, nudges rather than openly coerces. The result is a society in which the body remains the ultimate object of power while the mechanisms governing it become increasingly invisible, statistical and automated. *Discipline and Punish* therefore appears today not as a history of eighteenth-century prisons but as one of the most penetrating philosophical analyses of the algorithmic civilisation now emerging, where the political technology of the body has become inseparable from the political technology of data, language and artificial intelligence.
## **Part III: Artificial Intelligence and the Political Technology of Knowledge: Why *Discipline and Punish* Became the Philosophy of the AI Age**
Perhaps no idea in *Discipline and Punish* appears more revolutionary today than Michel Foucault's rejection of one of the oldest assumptions of Western philosophy: that knowledge exists independently of power. Since Plato, knowledge has generally been imagined as a path toward objective truth, detached from political interests and social domination. Philosophers, scientists and intellectuals were traditionally presented as seekers of universal truth who stood above the struggles of power. Foucault challenged this comforting belief with extraordinary force. Knowledge, he argued, is never produced outside relations of power. Every system of knowledge simultaneously creates new forms of power, just as every exercise of power generates new forms of knowledge. The two cannot be separated because they continuously produce one another. There is no neutral observer standing outside history, no purely objective science untouched by institutions, and no disinterested truth existing beyond political struggle. The very subjects who claim to know, the objects that become knowable and the methods through which knowledge is produced all emerge from historically changing networks of what Foucault famously called **power-knowledge**. This insight fundamentally changes how we understand modern society. Psychology, psychiatry, criminology, pedagogy and countless other disciplines do not merely discover facts about human beings; they simultaneously construct the categories through which individuals become intelligible, measurable and governable. Knowledge therefore does not simply describe reality. It actively participates in producing the reality it claims merely to observe. As Foucault insists, power produces knowledge, while knowledge extends and reinforces the effects of power, creating a continuous cycle through which individuals become objects of scientific investigation and political administration.
This argument becomes even more radical when Foucault develops what he calls a **political anatomy** of the body. Classical political philosophy usually imagined power as something possessed by kings, governments or ruling classes. Foucault rejects this model completely. Power should instead be understood as a diffuse technology operating directly upon bodies through countless institutions, routines, measurements and techniques. The body is never simply biological. It is simultaneously political, economic and epistemological. Bodies are trained, organised, corrected, supervised, examined and transformed into productive forces precisely because they occupy the intersection between knowledge and power. The body becomes useful only by becoming obedient. This political technology extends far beyond prisons into schools, hospitals, factories, military institutions and families, where innumerable techniques silently shape gestures, movements, habits, schedules and behaviour. It is not ideology alone that governs individuals but a vast material infrastructure of examinations, records, classifications and behavioural norms. Foucault therefore argues that the modern "soul" should not be dismissed as a mere illusion inherited from religion. On the contrary, it possesses historical reality because it is continuously produced by these disciplinary mechanisms. The soul is generated around the body through education, correction, supervision and punishment. It is not a metaphysical substance but the effect of a particular political technology. Psychology, personality, subjectivity and consciousness become scientific concepts because institutions require them in order to organise, evaluate and govern human beings. The soul is therefore neither eternal nor divine. It is a historical product created by modern systems of discipline and continuously reproduced by the human sciences. As Foucault concludes in one of the most famous passages of twentieth-century philosophy, **"The soul is the effect and instrument of a political anatomy; the soul is the prison of the body."**
It is precisely here that *Discipline and Punish* becomes one of the most important philosophical books for understanding the age of artificial intelligence. AI does not merely automate knowledge; it industrialises Foucault's concept of **power-knowledge** on a planetary scale. Every interaction with digital systems simultaneously produces knowledge and expands mechanisms of power. Search engines record curiosity, recommendation systems shape attention, predictive algorithms estimate future behaviour, facial-recognition systems classify identities, and large language models transform billions of human expressions into statistical structures capable of generating new discourse. Knowledge is no longer collected only by universities, governments or scientific institutions. It is continuously extracted from everyday life itself. Every click, purchase, conversation, photograph, movement and biometric signal contributes to immense computational systems that know individuals increasingly well while simultaneously influencing what they read, buy, believe and desire. Artificial intelligence therefore embodies Foucault's insight more perfectly than any institution he personally analysed. It does not simply observe reality; it constructs categories, predicts normality, identifies deviation and reorganises behaviour through algorithmic feedback. More importantly, AI reveals that the modern soul has acquired a new form. Alongside the psychological soul described by Foucault now exists a computational soul—a continuously updated digital identity assembled from data and used to evaluate opportunities, calculate risks and optimise behaviour. This algorithmic double increasingly accompanies every human being through economic, political and cultural life. Foucault believed that writing the history of punishment meant writing the history of the present. Half a century later, his genealogy has become uncannily contemporary. The prison has expanded beyond prison walls into digital infrastructures that connect knowledge, surveillance and power more intimately than ever before. In the age of artificial intelligence, *Discipline and Punish* no longer appears simply as a history of penal reform. It has become one of the foundational philosophical texts for understanding how data, algorithms and knowledge themselves have become the most sophisticated technologies of power ever devised.
## **Conclusion: The Soul Never Escaped the Prison—It Became the Prison**
Michel Foucault concludes *Discipline and Punish* by revealing the deepest paradox of modern civilisation. The prison is not merely a building surrounded by walls, nor is punishment simply a legal response to crime. The prison is a model for society itself. What began as an institution for confining criminals gradually expanded into a vast **carceral network** extending through schools, factories, hospitals, military academies, reformatories, psychiatric institutions and countless other organisations devoted to observing, classifying, correcting and normalising human beings. Modern society did not abolish punishment; it dispersed it. The prison escaped from the prison. Every institution became, to a greater or lesser degree, a mechanism for producing disciplined individuals. At the centre of this transformation stood not the body but the soul. It was the soul that allowed power to enter the individual without appearing as violence. It was the soul that translated external authority into self-discipline. It was the soul that transformed obedience into identity. Foucault therefore argues that the modern soul should never be understood as the survival of an ancient theological doctrine. It is a historical creation generated by techniques of supervision, examination, education and correction. It exists because modern societies require a permanent psychological companion capable of observing the body continuously. The soul is not an illusion simply imposed by ideology; it possesses historical reality because institutions produce it every day. Around this manufactured soul entire scientific disciplines emerged—psychology, psychiatry, criminology, pedagogy and the broader human sciences—all claiming to know, classify and improve human beings while simultaneously extending new forms of political power. The soul became both an object of knowledge and an instrument of discipline, the point where power and knowledge met to create what Foucault called the modern individual.
Artificial intelligence demonstrates with extraordinary clarity why this conclusion has become more relevant today than when *Discipline and Punish* first appeared in 1975. Foucault described a society in which institutions patiently constructed psychological profiles through examinations, observations and expert reports. Contemporary AI performs the same operation automatically, continuously and on a planetary scale. Every digital interaction contributes to the production of a computational portrait that increasingly accompanies each individual through everyday life. Search histories, purchases, movements, facial images, conversations, biometric measurements and patterns of attention are transformed into algorithmic identities that predict behaviour, evaluate risk and influence future opportunities. The modern soul has acquired a digital counterpart. Yet the deeper significance of AI lies elsewhere. It confirms Foucault's central insight that power does not primarily function by prohibiting actions but by producing knowledge about individuals and then using that knowledge to guide, normalise and optimise their behaviour. Recommendation systems shape attention, predictive models anticipate choices, automated assessments influence employment, insurance and credit, while intelligent systems quietly encourage conformity to statistical norms without ever issuing direct commands. The Panopticon has become computational. Surveillance has become predictive. Discipline has become algorithmic.
Perhaps the most disturbing implication of Foucault's genealogy concerns philosophy itself. Since Plato, Western thought largely assumed that the soul represented humanity's highest reality—a divine, immortal principle imprisoned within the body and destined ultimately for liberation. Foucault proposes the opposite historical narrative. The soul was not imprisoned by the body; it was gradually produced around the body through political technologies whose purpose was to make bodies more useful, more obedient and more predictable. The history of punishment therefore becomes simultaneously the history of the soul. Every examination, every diagnosis, every psychological evaluation, every educational assessment and every institutional classification contributes to producing the very subject it claims merely to describe. Artificial intelligence does not overturn this genealogy. It extends it. The digital age has not replaced the soul with algorithms; it has revealed how profoundly the modern soul has always depended upon systems of observation, classification and knowledge. The prison no longer requires visible walls because it now accompanies every individual as an invisible psychological and computational presence.
Nearly half a century after its publication, *Discipline and Punish* stands as one of the most prophetic philosophical works ever written. It anticipated a civilisation in which power would become increasingly invisible, knowledge increasingly productive and individuals increasingly transparent to institutions claiming merely to understand them. Foucault famously wrote that he wished to write **the history of the present**. Today, that history continues. The prison has become a network, surveillance has become data, and the soul has become one of the most successful political inventions in Western history. If Plato gave the West the image of the body as the prison of the soul, Foucault revealed something far more unsettling: the prison was never the body. The prison was the soul itself. And in the age of artificial intelligence, that prison has never been more sophisticated, more pervasive or more difficult to escape.

Comments
Post a Comment