Whoever Patanjali was, he wrote the most economical practice manual in Indian philosophy: 195 aphorisms that define yoga in four words — yogaś citta-vṛtti-nirodhaḥ, yoga is the stilling of the mind’s turnings — and then lay out how, through the eight limbs running from ethical restraint (yama) through posture and breath to meditative absorption (samadhi).
The identity question is a genuine scholarly knot. Tradition holds that the author of the Yoga Sutras is the same Patanjali who wrote the great grammar commentary, the Mahabhashya, around 150 BCE; most modern scholars doubt it and date the sutras several centuries later, partly because of how closely they engage Buddhist theories of mind current in those centuries. A traditional invocation praises one Patanjali for purifying speech through grammar, the body through medicine, and the mind through yoga — a tidy legend, and probably too tidy, since no medical work of his survives. Iconography goes further still and makes him an incarnation of the cosmic serpent Shesha, coiled below the waist. This archive flags the debate rather than settling it.
The text itself is spare and practical. Its four chapters (pādas) move from definition through practice to powers and finally liberation, and the method throughout is double: abhyasa, steady practice, and vairagya, non-attachment. For life off the meditation seat he prescribes four attitudes — friendship toward the happy, compassion toward the suffering, joy toward the virtuous, equanimity toward the rest — as a portable way of clearing the mind. Of the 195 sutras, only three concern posture, and the whole instruction is that it be steady and comfortable. The modern studio inherited the word asana from a manual almost entirely about attention.
The metaphysics is borrowed from Samkhya: consciousness (purusha) is distinct from mind, and suffering comes from mistaking the two. But Patanjali adds what classical Samkhya leaves out — ishvara, a special purusha never touched by affliction or karma, and surrender to it as one of the routes to absorption. The goal he names kaivalya, aloneness: not loneliness, but the seer finally resting as itself rather than in its reflections.
The sutras never travel alone. The earliest commentary, attributed to Vyasa (c. 4th–5th century CE), fits the text so closely that some scholars argue the two were composed together as a single work. After long centuries in which Vedanta overshadowed it, the text was pulled back to the centre in the modern era — Vivekananda’s Raja Yoga, then the worldwide yoga movement — so that a late-antique manual on stilling the mind became the charter text of a global practice, sometimes read more for the body than for the mind it was written about.