OpenAI on Tuesday said it reached an agreement for Sam Altman to return as CEO days after his ouster, capping frenzied discussions about the future of the startup at the center of the artificial intelligence boom.

In addition to Altman's return, the company agreed in principle to partly reconstitute the board of directors that had dismissed him. Former Salesforce co-CEO Bret Taylor and former U.S. Treasury Secretary Larry Summers will join Quora CEO and current director Adam D'Angelo, OpenAI said.

Sam Altman said in a post on X "i'm looking forward to returning to openai."