Preheat the oven to 350 degrees F (175 degrees C). Line a baking sheet with parchment paper.
Pulse almonds and walnuts together in the bowl of a food processor until chopped. Add dates and cranberries, a little at a time, and continue to chop. Add coconut, cocoa, and vanilla extract. Process to desired consistency.
Roll dough into a 2-inch wide log and cut into ten 3/4-inch thick pucks. Place on the prepared baking sheet.
Bake in the preheated oven until set, about 10 minutes.