A gastrointestinal device and methods of manufacturing said gastrointestinal device are described and include a flexible tubular structure including an inner surface and an outer surface, a plurality of at least one type of commensal microbe associated with at least a portion of at least one of the inner surface and the outer surface, and a proximal end and a distal end, the proximal end and the distal end forming a flow conduit through the flexible tubular structure and at least one anchor structure including one or more gastric wall-engaging components configured to engage a wall of the gastrointestinal tract of the subject.SLinvention concerne un dispositif gastro-intestinal et des procédés de fabrication dudit dispositif gastro-intestinal, qui comprennent une structure tubulaire flexible comprenant une surface interne et une surface externe, une pluralité dau moins un type de microbe commensal associé à au moins une partie dau moins lune parmi la surface interne et la surface externe, et une extrémité proximale et une extrémité distale, lextrémité proximale et lextrémité distale formant un conduit découlement à travers la structure tubulaire flexible et au moins une structure dancrage comprenant un ou plusieurs composants se couplant à la paroi gastrique conçus pour se coupler à une paroi du tractus gastro-intestinal du sujet.