If desired, rim a rocks glass with salt by rubbing a lime wedge along the edge and dipping it in salt.
Fill a cocktail shaker with ice.
Add tequila, lime juice, and agave nectar to the shaker.
Shake well for about 15 seconds until the mixture is chilled.
Strain into a rocks glass filled with fresh ice.
Garnish with a lime wedge and serve immediately.