In directly heated gasification (with air or pure O2), the high local temperature near the oxidition zone create problems in bed agglomeration and clogging. Steam minimizes the formation of ash agglomeration by lowering the local reactor temperature since steam carbon reaction is endothermic. The production of the steam from water requires an external heat input which can be provided by using sensible heat of producer gas.