The development of bioprecursor polyimide/Ag nanocomposites (PI/Ag NCs) is reported in this investigation. Semiaromatic bioprecursor PI was successfully synthesized through direct polycondensation reaction between aromatic diamine containing pyridine ring and aliphatic dianhydride. Aromatic diamine as a monomer was synthesized using a renewable resource, vanillin. The main attractive aspects of this PI are the renewable origin of the diamine, presence of pyridine and high aromatic rings content, as well as aliphatic content on the polymer backbone. The structure of synthesized monomer and PI were proven by FTIR, and nuclear magnetic resonance. The PI/Ag NCs containing 3, 5, and 7 wt % of Ag nanoparticles (Ag NPs) were prepared through solution technique and the resulting NCs were characterized by Fourier transform infrared spectra, wide angle X-ray diffraction, transmission electron microscopy (TEM), and thermogravimetric analysis (TGA). TEM results showed that the Ag NPs were dispersed homogeneously in the PI matrix on nanoscale. TGA results indicated improving in thermal properties of PI/Ag NCs compared to the neat PI due to the interaction between the PI matrix and the Ag NPs. Antibacterial activity of PI/Ag NCs was tested by the disk diffusion method using Escher ichia coli as model strain of gram-negative bacteria.