Elon Musk’s artificial intelligence startup, xAI, has introduced its first AI-powered coding agent, “Grok Build,” marking the company’s latest attempt to compete with rivals like Anthropic in the fast-growing AI software development market.

The new tool, currently in early testing, is available only to paid subscribers. According to xAI, Grok Build is designed to handle advanced coding assignments based on user instructions, helping developers automate complex software tasks more efficiently.

The launch signals xAI’s growing ambition to establish itself in professional coding solutions, an area where companies such as Anthropic, OpenAI, and Google have already gained strong momentum. Anthropic’s Claude, in particular, has become widely recognised for its coding capabilities and productivity features for developers.

Musk and xAI are racing to catch up to other AI companies on coding, a lucrative market for AI and an area where the billionaire admits his firm has fallen behind. Michael Nicolls, xAI’s president and an executive at Starlink, has urged staffers at the startup to match Claude’s performance across tasks, calling it a “near-term goal.”

The move comes during a critical rebuilding phase for xAI. Musk has been restructuring the company ahead of SpaceX’s anticipated initial public offering later this year, which analysts expect could become one of the biggest IPOs in history.

As part of the overhaul, xAI has reportedly carried out layoffs, pursued costly strategic partnerships, and accelerated hiring efforts to strengthen its engineering and research teams. The company has also been dealing with internal turnover after several founding members departed.

In April, xAI signed a partnership agreement with AI coding company Cursor to collaborate on coding systems and computing infrastructure. Cursor engineers have already been working closely with xAI teams in recent weeks, according to people familiar with the development.

Despite those efforts, the company has continued to experience talent exits. Reports indicate that Devendra Chaplot, a Mistral AI founder who joined xAI earlier this year, has recently left the firm. Beibin Li, who headed xAI’s post-training division, has also exited.

The competition in AI-assisted coding has intensified significantly over the past year as technology companies increasingly target enterprise software developers. AI coding assistants are viewed as one of the most commercially promising uses of generative AI because they can accelerate programming, reduce repetitive work, and improve developer productivity.

For Musk, the success of Grok Build could play a key role in positioning xAI as a serious competitor in the enterprise AI ecosystem. While the company still trails leading AI labs in coding performance, the latest launch demonstrates xAI’s determination to narrow the gap and gain traction in one of the industry’s most profitable segments.