This study sheds a novel light on a synthetic biology-assisted regulation of rhizosphere microbiomes for enhanced nitrogen fixation and soil fertility in Leguminous plants. The designed polysaccharide-binding protein may be used as a universal tool to promote plant growth and enhance crop resilience in the future. Video Abstract.