The deal will see Musk’s spaceflight and technology business take over Anysphere, the San Francisco-based company behind the coding platform Cursor

SpaceX and Cursor had agreed to a deal earlier this year that gave the rocket company an option to buy the AI firm.

SpaceX has signed a binding, all-stock deal to buy Cursor maker Anysphere at a $60bn value, days after its record IPO. The merger is set to close in Q3.