This document focuses on the use of the huge quantity of residual by-products generated during coffee processing, which in countries such as Colombia is mostly wet. Only 9,5% of a kilogram of coffee cherry becomes the drinkable part and the remaining 90,5% is waste. Anaerobic digestion, this low-cost technique widely use in agriculture, was chosen to convert coffee biomass into biogas as a renewal biofuel and biosolid (or digestate) for soil fertilization. Regarding each of these products, sustainability was assessed through the LIDS Wheel and with this analysis added to aspects such as the estimation of the amount waste generated and energy potential in a 1,3 hectare, a standard farm that represents 95% of the average farms in the study area, a circular model for the use of residual coffee biomass was proposed, framed within the concept of integral sustainability and the useful life cycle of the project that allows the agricultural community a alternative to supply your energy and competitiveness needs. Finally, a normative reflection was proposed associated with the inclusion of this type of low-cost and small-scale technologies in current Colombian legislation.