Context.Sulphur has long been known to form different molecules depending on the chemical composition of its environment. More recently, the sulphur-bearing molecules SO and H2S have been shown to behave differently in oxygen-rich asymptotic giant branch (AGB) circumstellar envelopes of different densities.Aims.By surveying a diverse sample of AGB stars for CS and SiS emission, we aim to determine in which environments these sulphur-bearing molecules most readily occur. We include sources with a range of mass-loss rates and carbon-rich, oxygen-rich, and mixed S-type chemistries. Where these molecules are detected, we aim to determine their CS and SiS abundances.Methods.We surveyed 20 AGB stars of different chemical types using the APEX telescope, and combined this with an IRAM 30 m and APEX survey of CS and SiS emission towards over 30 S-type stars. For those stars with detections, we performed radiative transfer modelling to determine abundances and abundance distributions.Results.We detect CS towards all the surveyed carbon stars, some S-type stars, and the highest mass-loss rate oxygen-rich stars, (Ṁ≥ 5 × 10−6M⊙ yr−1). SiS is detected towards the highest mass-loss rate sources of all chemical types (Ṁ≥ 8 × 10−7M⊙ yr−1). We find CS peak fractional abundances ranging from ~4 × 10−7to ~2 × 10−5for the carbon stars, from ~3 × 10−8to ~1 × 10−7for the oxygen-rich stars, and from ~1 × 10−7to ~8 × 10−6for the S-type stars. We find SiS peak fractional abundances ranging from ~9 × 10−6to ~2 × 10−5for the carbon stars, from ~5 × 10−7to ~2 × 10−6for the oxygen-rich stars, and from ~2 × 10−7to ~2 × 10−6for the S-type stars.Conclusions.Overall, we find that wind density plays an important role in determining the chemical composition of AGB circumstellar envelopes. It is seen that for oxygen-rich AGB stars both CS and SiS are detected only in the highest density circumstellar envelopes and their abundances are generally lower than for carbon-rich AGB stars by around an order of magnitude. For carbon-rich and S-type stars SiS was also only detected in the highest density circumstellar envelopes, while CS was detected consistently in all surveyed carbon stars and sporadically among the S-type stars.