
A former engineer at Elon Musk’s xAI has filed a lawsuit against the company and its parent SpaceX, claiming he was fired for raising concerns about AI safety. The case highlights growing tensions within AI companies between rapid development and safety protocols.
Devin Kim, who left xAI in September 2025, filed the suit in a California state court on Tuesday. The timing is notable, coming just days before SpaceX is set to join public markets in what’s expected to be the largest IPO in history.
The lawsuit positions Kim as a whistleblower who became a prominent voice for AI safety while working on Grok, xAI’s AI chatbot. Kim allegedly complained repeatedly about xAI’s failure to prioritize safety in Grok’s development, focusing on concerns that the chatbot could promote discrimination and help spread information about weapons of mass destruction.
Kim’s concerns proved prescient. The lawsuit describes how “Grok proved Mr. Kim right by engaging in spectacular displays of online hatred and vitriol, with the model likening itself to Hitler (‘MechaHitler’).” The chatbot later made headlines again when it was used to flood X, Musk’s social media platform, with nonconsensual sexual imagery.
This case reflects broader industry debates about AI safety versus speed of development. Major AI companies face pressure to release products quickly while ensuring they don’t cause harm. The lawsuit alleges xAI’s approach violated laws in several areas:
- Internet regulation and consumer protection
- Unfair business practices
- Arms and explosives regulation
Interestingly, the lawsuit doesn’t target Musk directly. Instead, Kim’s lawyers describe Musk as having directed xAI to follow the law and implement appropriate safety processes. The complaint focuses on Kim’s supervisor, xAI co-founder Jimmy Ba, who left the company earlier this year.
According to the lawsuit, Ba ignored Musk’s directives and retaliated against Kim for pushing safety measures. The complaint portrays Ba as vehemently opposed to AI safety measures, allegedly telling Kim “AI will kill us all anyway.” Ba was reportedly driven by a mission to make xAI the first to reach superintelligence.
The lawsuit details specific incidents where Ba allegedly prioritized speed over safety. “In one instance in or around August 2025, Mr. Ba attempted to thwart EU safety regulations during the release of Grok Code 1, misrepresenting aspects of the model in order to avoid legally required testing,” the complaint states. “Mr. Ba indicated that he would rather release an unsafe model than a poor-performing one. Mr. Musk ultimately had to intervene.”
Kim’s background adds credibility to his safety concerns. Before joining xAI, he worked at Scale AI on early safety initiatives, including projects that produced training data to help AI systems detect harmful content. Last week, the nonprofit Center for AI Safety named Kim as its president.
The lawsuit claims that Ba called Kim into a meeting the week of September 15, 2025, just as Kim was preparing to present his safety findings. Ba allegedly told him they should “go separate ways” without providing a satisfactory reason for the termination.
Kim is seeking compensatory and punitive damages, as well as a declaratory judgment that xAI and SpaceX’s conduct was unlawful. Neither xAI nor SpaceX responded to requests for comment about the lawsuit.
This case could set important precedents for AI safety whistleblowing as the industry grapples with balancing innovation speed against potential risks. It also raises questions about corporate governance at AI companies, particularly regarding how safety concerns are handled internally.