A method for carrying out a thermochemical process includes injecting one or more feed streams into a reaction chamber. The reaction chamber is maintained at a reaction temperature using heat obtained directly from a subterranean heat source. The method includes maintaining the one or more feed streams in the reaction chamber for a residence time to form one or more product streams from the one or more feed streams. The one or more product streams are removed from the reaction chamber.