You can substitute the nuts in this basil pesto recipe for sunflower seeds, hemp seeds, or pumpkin seeds, though I haven’t tried this, so I don't know how much the flavor differs for a pesto without nuts.