If you like, salt the rim of the glass by rubbing a lime wedge around the edge and dipping it onto a small plate of sea salt.
Pour the tequila, grapefruit juice, lime juice, and agave nectar into the glass, and stir well. Fill the remainder of the glass with soda water and ice.