
Laura Payne is a freelance writer whose work covers many topics. She is a former Wayne State University linguistics instructor.
Encyclopaedia Britannica's editors oversee subject areas in which they have extensive knowledge, whether from years of experience gained by working on that content or via study for an advanced degree. They write new content and verify and edit content received from contributors.

xAI was an artificial intelligence company founded by tech entrepreneur and billionaire Elon Musk in March 2023 to counter what he called the political correctness in other generative AI models. Launched in July 2023 as an alternative to such AI giants as OpenAI (which Musk cofounded), Google, and Microsoft (MSFT), xAI, in Musk’s words, focused on “truth, whether politically correct or not.”
In March 2025, xAI acquired the social media service X in an all-stock deal that valued X at $33 billion. SpaceX acquired xAI in February 2026, bringing Musk’s space, artificial intelligence, and social media businesses under one company. xAI was subsequently folded into SpaceX’s AI operations and renamed SpaceXAI in July. In October, Musk said the unit would be renamed yet again—to SpaceXSI—although the change hadn’t yet taken effect.
Musk founded xAI partially in response to what he viewed as the existential risks posed by artificial general intelligence (AGI), the hypothetical concept in which computers and AI systems match or surpass human intelligence. He contended that there was a growing ideological bias and opacity in existing AI systems. Musk said xAI’s model would serve as a “maximum truth-seeking AI” that would attempt to “understand the nature of the universe.” He described the company as a counterweight to OpenAI, which he criticized for straying from its original nonprofit mission.
xAI began its operations with 12 employees, including Musk: five cofounders, three founding team members, and technical staff. The cofounders and founding team members—primarily former researchers at OpenAI, DeepMind, Google, and Microsoft—included Igor Babuschkin, Yuhuai (Tony) Wu, Christian Szegedy, and Jimmy Ba. Szegedy, who had previously worked at Google, left the company in February 2025. Babuschkin, formerly of DeepMind, led xAI’s technical development until his departure in August 2025.
xAI’s signature program was an AI chatbot called Grok, which became part of SpaceX’s AI business after it acquired xAI in 2026. The chatbot was named for the term grok, used in Robert A. Heinlein’s science fiction novel Stranger in a Strange Land (1961) to convey a deep and innate understanding of something.
Grok was launched in November 2023 on X (formerly Twitter), which Musk had bought in 2022. Initially accessible only to users with a premium subscription, Grok was made available to all users in December 2023. A standalone Grok app for mobile devices was launched in January 2025, and a dedicated website appeared shortly thereafter.
With a conversational style modeled after Douglas Adams’s The Hitchhiker’s Guide to the Galaxy (1979), Grok was designed to answer questions with signature wit, sarcasm, and personality. It was purposely given a rebellious streak to provide a more engaging user experience. Grok drew on public data and real-time information from X, giving it near-live awareness of current events.
Grok can perform tasks including creative writing, generating and editing images, analyzing data, debugging code, and solving complex math problems.
On July 9, 2025, xAI released new versions of Grok in two forms: the single-agent Grok 4 and multi-agent Grok 4 Heavy. Grok 4 Heavy used multiple AI agents working with large language models (LLMs) and external tools, such as Web searches and datasets, to gather information and develop plans of action. The agents “communicated” by modeling their counterparts’ goals and collaborating on a plan of action.
Before SpaceX acquired xAI in February 2026, xAI operated closely alongside Musk’s other companies, including Tesla, SpaceX, and Neuralink. The companies shared resources and technologies, and Grok’s AI was seen as potentially useful for Tesla’s autonomous driving systems, Neuralink’s brain-computer interfaces, and SpaceX’s space technology. After the acquisition, xAI’s operations became part of SpaceX’s artificial intelligence business segment.
Although Musk said that Grok should be politically neutral, xAI faced criticism over the chatbot’s tendency to express right-wing political views and generate inflammatory comments. Critics warned that such responses could spread misinformation and expose xAI to legal challenges. They also noted that Grok could draw on news stories and other information that hadn’t been fact-checked, potentially increasing the risk of spreading false information during rapidly developing events.
In May 2025, Grok cast doubt about the number of people killed during the Holocaust and made claims that a “white genocide” had occurred in South Africa, where Musk was born. In July, Musk posted on X that Grok had been improved significantly, though users soon found that the chatbot had begun to call itself “MechaHitler” and engaged with users by expressing antisemitic, white supremacist viewpoints.
Musk attributed Grok’s misinformation about the Holocaust to the chatbot being “too compliant” with user prompts, claiming that users had manipulated it into generating such responses. Grok’s X account posted an apology in mid-July, asserting that the issue had been caused by faulty code, not Grok’s underlying LLM.
In 2026, xAI faced multiple lawsuits alleging that Grok’s image-generation and editing tools had been used to create nonconsensual explicit images, including sexualized images of minors. The controversy also led to legal battles over efforts to regulate such images. xAI challenged a Minnesota law restricting AI-generated fake nude images, arguing that it violated constitutional protections for free speech.
Laura Payne