Some bacteria can act as catalysts to oxidize (or reduce) organic or inorganic matter with the potential of generating electrical current. Despite their high value for sustainable energy, organic compound production and bioremediation, a tool to probe the natural biodiversity and to select most efficient microbes is still lacking. Compartmentalized cell culture is an ideal strategy for achieving such a goal but the appropriate compartment allowing cell growth and electron exchange must be tailored. Here, we develop a conductive composite hydrogel made of a double network of alginate and carbon nanotubes. Homogeneous mixing of carbon nanotubes within the polyelectrolyte is obtained by a surfactant assisted dispersion followed by a desorption...