This paper proposes a new framework to investigate the spherically symmetric of anisotropic stars with clouds of strings and quintessence field in Rastall gravity. We develop the field equations in a spherically symmetric space–time with a quintessence field and clouds of string. We utilize the mass and radius of Her X-1, Vela X-1, SMC X-1, SAX J1808 0.4-3658 and 4 U 1538-52, which are well mentioned in the literature. We applied the matching conditions by considering outer space calculated in Rastall gravity to evaluate the constants parameters. To check the stability and physical presence of compact models, we computed the most important features of quintessence stars in the presence of a cloud of strings. We explored characteristics including energy density, quintessence density, radial pressure, tangential pressure gradients, anisotropic factor, energy conditions, sound speeds, TOV forces, EoS components, mass function, compactification and redshift.