CEO Elon Musk said social media platform X will make its entire codebase open source, expanding his long-standing push for greater transparency after criticism surrounding xAI’s AI coding assistant, Grok Build.
Musk announced the move in a post on X, saying the platform’s codebase would be made publicly available “with no exceptions.” The pledge came after security researchers reported that Grok Build had uploaded users’ private code repositories to Google Cloud servers controlled by xAI without clearly informing users, triggering concerns about data privacy and developer trust.
The incident drew criticism from OpenAI Chief Executive Sam Altman, who described the behavior as “concerning.” Musk responded by promising greater transparency across X’s software infrastructure, positioning the open source initiative as a way to rebuild confidence among developers and users.
READ: Ro Khanna, Elon Musk clash over accountability (June 23, 2026)
Open sourcing software allows outside developers to inspect, modify and contribute to source code. Advocates argue that it improves security by enabling independent audits and encouraging community-driven improvements, while critics note that simply publishing code does not automatically guarantee transparency if key components remain proprietary.
This is not the first time Musk has committed to opening X’s technology. In 2023, the company released portions of Twitter’s recommendation algorithm on GitHub, and earlier this year Musk pledged to publish the platform’s updated recommendation and advertising-ranking algorithms. Researchers, however, argued that previous releases omitted critical AI components that influence content ranking.
The latest announcement appears broader in scope, with Musk indicating that the entire X codebase will eventually become publicly available. He did not provide a timeline or specify how proprietary infrastructure, security systems or commercial technologies would be handled.
The move also aligns with Musk’s long-standing criticism of OpenAI, which he has repeatedly accused of abandoning its original nonprofit mission and moving away from open-source principles. Musk remains engaged in an ongoing legal dispute with OpenAI and Chief Executive Sam Altman over the company’s direction and governance.
READ: Elon Musk threatens lawsuit over Ro Khanna’s DOGE criticism (June 22, 2026)
The announcement comes as competition intensifies among major AI companies, with firms increasingly balancing commercial interests against calls for greater openness and accountability. While Meta has publicly released several large language models and xAI previously open-sourced earlier versions of Grok, leading AI developers continue to differ sharply on how much of their technology should be publicly available.
Whether X ultimately releases its entire codebase or follows a more limited approach will likely be closely watched by developers, regulators and AI researchers alike.


