However, gouramis are predatorial and will eat any fish that are small enough to fit in their mouths. You should choose smaller gouramis that are about the same size as the guppies, such as dwarf gouramis and honey gouramis.
You also need to make sure the fish get enough space and food to prevent aggression. Provide them with lots of decorations, plants, and hiding spots as well. Lastly, monitor the tank dynamics often and be prepared to separate the fish if the gouramis start becoming nippy.