Preheat the oven to 350°F and line an 8-inch square pan with parchment.
Toast the walnuts in a dry skillet for about 4 minutes, stirring often, then let them cool.
Whisk together the almond flour, cocoa powder, powdered sweetener, baking powder, and salt.
Stir in the melted butter, eggs, and vanilla until smooth.
Fold in about two thirds of the walnuts, spread the batter in the pan, and scatter the remaining walnuts on top.
Bake for 22 to 25 minutes and cool completely.