CuI is a well-known thermoelectric (TE) material recognized for its p-type characteristics. However, the development of its n-type counterpart and the integration of both p- and n-type CuI in thermoelectric generators (TEGs) remain largely unexplored. In this study, we successfully tuned the thermoelectric properties of CuI by strategically incorporating Ag, enabling the synthesis of both p-type (Ag