Agents make sure rental properties comply with regulations, such as the Renting Homes (Wales) Act. This involves ensuring proper contracts are in place, conducting safety checks, and managing deposits in line with legal guidelines.