The global open-source AI community is mourning German developer and researcher Philipp Emanuel Weidmann. Authorities found the 41-year-old dead at his home in Bhopal’s Kolar area this week. Developers on GitHub knew him widely as p-e-w. Police discovered his body inside a locked first-floor room on Sunday night, November 29.
Local officers are currently investigating the case as a suspected suicide. For people working with local language models, Weidmann was no obscure remote coder.
He was the creator of Heretic, a hugely popular open-source tool with over 44,000 GitHub stars that gave everyday users the power to modify how large language models behave.
How Heretic Worked and Weidmann’s Final Warning on AI Control
Most people think changing an AI model requires huge corporate servers and costly retraining. Weidmann built Heretic to prove otherwise. Instead of retraining a model from scratch, Heretic uses training-free math techniques linked to abliteration. It steers a model’s internal weights using contrasting prompts and matching scorers.
Running on a standard consumer GPU like an RTX 3090 in under an hour, the software lets developers strip out built-in refusals, cut down on repetitive AI “slop,” reduce sycophancy, or adjust response length across dense, multimodal, and mixture-of-experts architectures. Beyond Heretic, Weidmann also designed the DRY and XTC token sampling algorithms, both of which are now standard features across major LLM inference engines.
On November 28, just one day before his death, Weidmann archived the Heretic repository. He did not name a successor, instead publishing a sobering farewell message. He warned that as AI enters daily life, controlling these models affects free thought, not just free speech. Calling AI “the lens through which you see the world,” he urged people to shape it independently.
He called this effort “nothing less than the fight for the humanity in you.” Finally, he signed off with a bold line: “In times like these, one should be proud to be labelled a heretic.” Earlier, on July 5, he had posted another troubling update. He told followers that outside circumstances would soon force him to write his last line of code.
What Bhopal Police Have Uncovered So Far
While his software reached tens of thousands of developers worldwide, Weidmann lived a remarkably quiet life in central India. According to The Indian Express, Deputy Commissioner of Police (Zone 4) Adarsh Kant Shukla confirmed that Weidmann met his Indian wife around 2011, arrived in India on an Overseas Citizen of India (OCI) card in 2015, and had spent roughly 11 years living in Bhopal.
Neighbors and investigators described him as a reserved man who worked remotely from home for years and rarely stepped outside.
The incident came to light around 10 pm on Sunday when Weidmann’s wife alerted police that the first-floor room was locked from the inside and his mobile phone was switched off.
Officers arrived at the house in Sarvadharma Colony and forced the door open, finding Weidmann lying in a pool of blood with a deep injury to his throat. A tile-cutting machine was recovered from the room, and preliminary findings suggest the fatal injury may have been inflicted using that equipment.
Police have completed the post-mortem examination and notified Weidmann’s parents in Germany. Investigators are currently verifying documentation around his professional work and examining his personal relationships, including the possibility of marital discord.
As authorities work to establish the exact sequence of events inside the Bhopal home, Weidmann’s archived code and parting words remain online, leaving the open-source community to decide whether to carry his work forward on its own.




