Preheat the oven to 350°. In a bowl, toss the nuts with the maple syrup, olive oil, herbs and cayenne. Spread the nuts on a rimmed baking sheet and bake for 15 minutes, stirring occasionally, until browned. Season the nuts with salt and pepper and toss frequently until cooled.
The nuts can be stored in an airtight container for up to 2 weeks.